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 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
1260 // Copy the source data so the wxImage can clean it up later
1261 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
1262 if (dcopy
== NULL
) {
1266 memcpy(dcopy
, data
, width
*height
*3);
1267 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
1268 if (acopy
== NULL
) {
1272 memcpy(acopy
, alpha
, width
*height
);
1274 return new wxImage(width
, height
, dcopy
, acopy
, false);
1276 wxSize
wxImage_GetSize(wxImage
*self
){
1277 wxSize
size(self
->GetWidth(), self
->GetHeight());
1280 PyObject
*wxImage_GetData(wxImage
*self
){
1281 unsigned char* data
= self
->GetData();
1282 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1284 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1287 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1288 unsigned char* dataPtr
;
1290 if (! PyString_Check(data
)) {
1291 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1292 "Expected string object"));
1296 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1297 dataPtr
= (unsigned char*) malloc(len
);
1298 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1299 self
->SetData(dataPtr
);
1300 // wxImage takes ownership of dataPtr...
1302 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1303 unsigned char* data
= self
->GetData();
1304 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1306 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1309 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1310 unsigned char* buffer
;
1313 bool blocked
= wxPyBeginBlockThreads();
1314 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1317 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1318 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1321 self
->SetData(buffer
);
1323 wxPyEndBlockThreads(blocked
);
1325 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1326 unsigned char* data
= self
->GetAlpha();
1330 int len
= self
->GetWidth() * self
->GetHeight();
1332 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1336 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1337 unsigned char* dataPtr
;
1339 if (! PyString_Check(data
)) {
1340 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1344 size_t len
= self
->GetWidth() * self
->GetHeight();
1345 dataPtr
= (unsigned char*) malloc(len
);
1346 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1347 self
->SetAlpha(dataPtr
);
1348 // wxImage takes ownership of dataPtr...
1350 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1351 unsigned char* data
= self
->GetAlpha();
1352 int len
= self
->GetWidth() * self
->GetHeight();
1354 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1357 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1358 unsigned char* buffer
;
1361 bool blocked
= wxPyBeginBlockThreads();
1362 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1365 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1366 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1369 self
->SetAlpha(buffer
);
1371 wxPyEndBlockThreads(blocked
);
1374 SWIGSTATICINLINE(unsigned long)
1375 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1378 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1380 this is needed to make valgrind/purify happier. the other
1381 solution is throw an exception, but since this code should work
1384 memset((void*)&v
, 0, sizeof(unsigned long));
1390 SWIGSTATICINLINE(int)
1391 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1393 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1396 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1397 wxBitmap
bitmap(*self
, depth
);
1400 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1401 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1402 wxBitmap
bitmap( mono
, 1 );
1405 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1406 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1407 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1408 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1409 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1411 #include <wx/quantize.h>
1413 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1414 return wxQuantize::Quantize(src
, dest
,
1417 NULL
, // eightBitData
1420 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1421 if (PyCallable_Check(func
)) {
1422 self
->Connect(id
, lastId
, eventType
,
1423 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1424 new wxPyCallback(func
));
1426 else if (func
== Py_None
) {
1427 self
->Disconnect(id
, lastId
, eventType
,
1428 (wxObjectEventFunction
)
1429 &wxPyCallback::EventThunker
);
1433 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1436 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1437 return self
->Disconnect(id
, lastId
, eventType
,
1438 (wxObjectEventFunction
)
1439 &wxPyCallback::EventThunker
);
1441 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1442 if (_self
&& _self
!= Py_None
) {
1443 self
->SetClientObject(new wxPyOORClientData(_self
));
1446 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1448 self
->SetClientObject(NULL
); // This will delete it too
1453 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1455 return self
->GetUnicodeKey();
1461 #if UINT_MAX < LONG_MAX
1462 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1463 #define SWIG_From_unsigned_SS_int SWIG_From_long
1466 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1467 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1472 #if UINT_MAX != ULONG_MAX
1473 SWIGSTATICINLINE(int)
1474 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1476 const char* errmsg
= val
? "unsigned int" : 0;
1478 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1479 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1480 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1487 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1492 SWIGSTATICINLINE(unsigned int)
1493 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1495 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1500 SWIGSTATICINLINE(unsigned int)
1501 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1504 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1506 this is needed to make valgrind/purify happier. the other
1507 solution is throw an exception, but since this code should work
1510 memset((void*)&v
, 0, sizeof(unsigned int));
1516 SWIGSTATICINLINE(int)
1517 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1519 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1522 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1523 self
->m_size
= size
;
1525 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1528 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1529 int count
= self
->GetNumberOfFiles();
1530 wxString
* files
= self
->GetFiles();
1531 PyObject
* list
= PyList_New(count
);
1534 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1538 for (int i
=0; i
<count
; i
++) {
1539 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1545 wxPyApp
*new_wxPyApp(){
1546 wxPythonApp
= new wxPyApp();
1549 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1551 void wxApp_CleanUp() {
1556 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1561 // A dummy class that raises an exception if used...
1565 wxEventLoop() { wxPyRaiseNotImplemented(); }
1566 int Run() { return 0; }
1567 void Exit(int rc
= 0) {}
1568 bool Pending() const { return false; }
1569 bool Dispatch() { return false; }
1570 bool IsRunning() const { return false; }
1571 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1572 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1577 #include <wx/evtloop.h>
1583 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1584 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1585 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1586 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1587 wxWindowList
& list
= self
->GetChildren();
1588 return wxPy_ConvertList(&list
);
1590 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1592 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1597 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1604 long wxWindow_GetHandle(wxWindow
*self
){
1605 return wxPyGetWinHandle(self
);
1607 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1608 self
->AssociateHandle((WXWidget
)handle
);
1611 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1612 return wxWindow::FindWindowById(id
, parent
);
1615 wxWindow
* wxFindWindowByName( const wxString
& name
,
1616 const wxWindow
*parent
= NULL
) {
1617 return wxWindow::FindWindowByName(name
, parent
);
1620 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1621 const wxWindow
*parent
= NULL
) {
1622 return wxWindow::FindWindowByLabel(label
, parent
);
1627 #include <wx/msw/private.h> // to get wxGetWindowId
1631 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1633 WXHWND hWnd
= (WXHWND
)_hWnd
;
1634 long id
= wxGetWindowId(hWnd
);
1635 wxWindow
* win
= new wxWindow
;
1636 parent
->AddChild(win
);
1637 win
->SetEventHandler(win
);
1640 win
->SubclassWin(hWnd
);
1641 win
->AdoptAttributesFromHWND();
1642 win
->SetupColours();
1645 wxPyRaiseNotImplemented();
1651 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1652 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1653 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1655 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1657 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1658 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1659 wxMenuItemList
& list
= self
->GetMenuItems();
1660 return wxPy_ConvertList(&list
);
1662 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1663 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1664 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1666 wxPyClientData
* data
= new wxPyClientData(clientData
);
1667 return self
->Append(item
, data
);
1669 return self
->Append(item
);
1671 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1673 wxPyClientData
* data
= new wxPyClientData(clientData
);
1674 return self
->Insert(item
, pos
, data
);
1676 return self
->Insert(item
, pos
);
1678 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1679 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1681 Py_INCREF(data
->m_obj
);
1688 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1689 wxPyClientData
* data
= new wxPyClientData(clientData
);
1690 self
->SetClientObject(n
, data
);
1694 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1695 wxPyUserData
* data
= NULL
;
1697 bool blocked
= wxPyBeginBlockThreads();
1698 data
= new wxPyUserData(userData
);
1699 wxPyEndBlockThreads(blocked
);
1701 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1703 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1704 wxPyUserData
* data
= NULL
;
1706 bool blocked
= wxPyBeginBlockThreads();
1707 data
= new wxPyUserData(userData
);
1708 wxPyEndBlockThreads(blocked
);
1710 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1712 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1713 wxPyUserData
* data
= NULL
;
1715 bool blocked
= wxPyBeginBlockThreads();
1716 data
= new wxPyUserData(userData
);
1717 wxPyEndBlockThreads(blocked
);
1719 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1723 SWIGSTATICINLINE(int)
1724 SWIG_CheckDoubleInRange(double value
, double min_value
,
1725 double max_value
, const char* errmsg
)
1727 if (value
< min_value
) {
1729 PyErr_Format(PyExc_OverflowError
,
1730 "value %g is less than %s minimum %g",
1731 value
, errmsg
, min_value
);
1734 } else if (value
> max_value
) {
1736 PyErr_Format(PyExc_OverflowError
,
1737 "value %g is greater than %s maximum %g",
1738 value
, errmsg
, max_value
);
1746 SWIGSTATICINLINE(int)
1747 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1749 const char* errmsg
= val
? "float" : 0;
1751 if (SWIG_AsVal_double(obj
, &v
)) {
1752 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1762 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1768 SWIGSTATICINLINE(float)
1769 SWIG_As_float(PyObject
* obj
)
1772 if (!SWIG_AsVal_float(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier. the other
1775 solution is throw an exception, but since this code should work
1778 memset((void*)&v
, 0, sizeof(float));
1784 SWIGSTATICINLINE(int)
1785 SWIG_Check_float(PyObject
* obj
)
1787 return SWIG_AsVal_float(obj
, (float*)0);
1790 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1791 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1793 Py_INCREF(data
->m_obj
);
1801 // Figure out the type of the sizer item
1803 struct wxPySizerItemInfo
{
1805 : window(NULL
), sizer(NULL
), gotSize(false),
1806 size(wxDefaultSize
), gotPos(false), pos(-1)
1817 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1819 wxPySizerItemInfo info
;
1821 wxSize
* sizePtr
= &size
;
1823 // Find out what the type of the item is
1825 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1830 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1834 // try wxSize or (w,h)
1835 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1836 info
.size
= *sizePtr
;
1837 info
.gotSize
= true;
1841 if (checkIdx
&& PyInt_Check(item
)) {
1842 info
.pos
= PyInt_AsLong(item
);
1848 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1849 // no expected type, figure out what kind of error message to generate
1850 if ( !checkSize
&& !checkIdx
)
1851 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1852 else if ( checkSize
&& !checkIdx
)
1853 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1854 else if ( !checkSize
&& checkIdx
)
1855 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1857 // can this one happen?
1858 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1864 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1865 if (!self
->GetClientObject())
1866 self
->SetClientObject(new wxPyOORClientData(_self
));
1868 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1870 wxPyUserData
* data
= NULL
;
1871 bool blocked
= wxPyBeginBlockThreads();
1872 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1873 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1874 data
= new wxPyUserData(userData
);
1875 wxPyEndBlockThreads(blocked
);
1877 // Now call the real Add method if a valid item type was found
1879 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1880 else if ( info
.sizer
)
1881 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1882 else if (info
.gotSize
)
1883 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1884 proportion
, flag
, border
, data
);
1888 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1890 wxPyUserData
* data
= NULL
;
1891 bool blocked
= wxPyBeginBlockThreads();
1892 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1893 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1894 data
= new wxPyUserData(userData
);
1895 wxPyEndBlockThreads(blocked
);
1897 // Now call the real Insert method if a valid item type was found
1899 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1900 else if ( info
.sizer
)
1901 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1902 else if (info
.gotSize
)
1903 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1904 proportion
, flag
, border
, data
);
1908 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1910 wxPyUserData
* data
= NULL
;
1911 bool blocked
= wxPyBeginBlockThreads();
1912 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1913 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1914 data
= new wxPyUserData(userData
);
1915 wxPyEndBlockThreads(blocked
);
1917 // Now call the real Prepend method if a valid item type was found
1919 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1920 else if ( info
.sizer
)
1921 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1922 else if (info
.gotSize
)
1923 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1924 proportion
, flag
, border
, data
);
1928 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1929 bool blocked
= wxPyBeginBlockThreads();
1930 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1931 wxPyEndBlockThreads(blocked
);
1933 return self
->Remove(info
.window
);
1934 else if ( info
.sizer
)
1935 return self
->Remove(info
.sizer
);
1936 else if ( info
.gotPos
)
1937 return self
->Remove(info
.pos
);
1941 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1942 bool blocked
= wxPyBeginBlockThreads();
1943 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1944 wxPyEndBlockThreads(blocked
);
1946 return self
->Detach(info
.window
);
1947 else if ( info
.sizer
)
1948 return self
->Detach(info
.sizer
);
1949 else if ( info
.gotPos
)
1950 return self
->Detach(info
.pos
);
1954 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1955 bool blocked
= wxPyBeginBlockThreads();
1956 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1957 wxPyEndBlockThreads(blocked
);
1959 return self
->GetItem(info
.window
);
1960 else if ( info
.sizer
)
1961 return self
->GetItem(info
.sizer
);
1962 else if ( info
.gotPos
)
1963 return self
->GetItem(info
.pos
);
1967 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1968 bool blocked
= wxPyBeginBlockThreads();
1969 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1970 wxPyEndBlockThreads(blocked
);
1972 self
->SetItemMinSize(info
.window
, size
);
1973 else if ( info
.sizer
)
1974 self
->SetItemMinSize(info
.sizer
, size
);
1975 else if ( info
.gotPos
)
1976 self
->SetItemMinSize(info
.pos
, size
);
1978 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1979 wxSizerItemList
& list
= self
->GetChildren();
1980 return wxPy_ConvertList(&list
);
1982 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1983 bool blocked
= wxPyBeginBlockThreads();
1984 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1985 wxPyEndBlockThreads(blocked
);
1987 return self
->Show(info
.window
, show
, recursive
);
1988 else if ( info
.sizer
)
1989 return self
->Show(info
.sizer
, show
, recursive
);
1990 else if ( info
.gotPos
)
1991 return self
->Show(info
.pos
, show
);
1995 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1996 bool blocked
= wxPyBeginBlockThreads();
1997 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1998 wxPyEndBlockThreads(blocked
);
2000 return self
->IsShown(info
.window
);
2001 else if ( info
.sizer
)
2002 return self
->IsShown(info
.sizer
);
2003 else if ( info
.gotPos
)
2004 return self
->IsShown(info
.pos
);
2010 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
2011 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
2012 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2017 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2019 if (source
== Py_None
) {
2020 **obj
= wxGBPosition(-1,-1);
2023 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2026 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2028 if (source
== Py_None
) {
2029 **obj
= wxGBSpan(-1,-1);
2032 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2036 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2040 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2041 bool blocked
= wxPyBeginBlockThreads();
2042 PyObject
* tup
= PyTuple_New(2);
2043 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2044 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2045 wxPyEndBlockThreads(blocked
);
2048 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2049 self
->SetRowspan(rowspan
);
2050 self
->SetColspan(colspan
);
2052 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2053 bool blocked
= wxPyBeginBlockThreads();
2054 PyObject
* tup
= PyTuple_New(2);
2055 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2056 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2057 wxPyEndBlockThreads(blocked
);
2060 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2061 wxPyUserData
* data
= NULL
;
2063 bool blocked
= wxPyBeginBlockThreads();
2064 data
= new wxPyUserData(userData
);
2065 wxPyEndBlockThreads(blocked
);
2067 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2069 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2070 wxPyUserData
* data
= NULL
;
2072 bool blocked
= wxPyBeginBlockThreads();
2073 data
= new wxPyUserData(userData
);
2074 wxPyEndBlockThreads(blocked
);
2076 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2078 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2079 wxPyUserData
* data
= NULL
;
2081 bool blocked
= wxPyBeginBlockThreads();
2082 data
= new wxPyUserData(userData
);
2083 wxPyEndBlockThreads(blocked
);
2085 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2087 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2089 self
->GetEndPos(row
, col
);
2090 return wxGBPosition(row
, col
);
2092 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2094 wxPyUserData
* data
= NULL
;
2095 bool blocked
= wxPyBeginBlockThreads();
2096 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2097 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2098 data
= new wxPyUserData(userData
);
2099 wxPyEndBlockThreads(blocked
);
2101 // Now call the real Add method if a valid item type was found
2103 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2104 else if ( info
.sizer
)
2105 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2106 else if (info
.gotSize
)
2107 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2108 pos
, span
, flag
, border
, data
);
2116 static int _wrap_EmptyString_set(PyObject
*) {
2117 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2122 static PyObject
*_wrap_EmptyString_get() {
2127 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2129 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2136 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
*resultobj
;
2138 wxObject
*arg1
= (wxObject
*) 0 ;
2140 PyObject
* obj0
= 0 ;
2142 (char *) "self", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 result
= wxObject_GetClassName(arg1
);
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2168 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxObject
*arg1
= (wxObject
*) 0 ;
2171 PyObject
* obj0
= 0 ;
2173 (char *) "self", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 wxObject_Destroy(arg1
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 Py_INCREF(Py_None
); resultobj
= Py_None
;
2193 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2196 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2198 return Py_BuildValue((char *)"");
2200 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxSize
*arg1
= (wxSize
*) 0 ;
2204 PyObject
* obj0
= 0 ;
2205 PyObject
* obj1
= 0 ;
2207 (char *) "self",(char *) "x", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2213 arg2
= (int)SWIG_As_int(obj1
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2215 if (arg1
) (arg1
)->x
= arg2
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2224 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxSize
*arg1
= (wxSize
*) 0 ;
2228 PyObject
* obj0
= 0 ;
2230 (char *) "self", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 result
= (int) ((arg1
)->x
);
2238 resultobj
= SWIG_From_int((int)result
);
2245 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxSize
*arg1
= (wxSize
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "y", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2258 arg2
= (int)SWIG_As_int(obj1
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2260 if (arg1
) (arg1
)->y
= arg2
;
2262 Py_INCREF(Py_None
); resultobj
= Py_None
;
2269 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxSize
*arg1
= (wxSize
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2275 (char *) "self", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 result
= (int) ((arg1
)->y
);
2283 resultobj
= SWIG_From_int((int)result
);
2290 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 int arg1
= (int) 0 ;
2293 int arg2
= (int) 0 ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2298 (char *) "w",(char *) "h", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2303 arg1
= (int)SWIG_As_int(obj0
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2307 arg2
= (int)SWIG_As_int(obj1
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2324 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxSize
*arg1
= (wxSize
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2349 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxSize
*arg1
= (wxSize
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2356 PyObject
* obj1
= 0 ;
2358 (char *) "self",(char *) "sz", NULL
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2384 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxSize
*arg1
= (wxSize
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "sz", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2419 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxSize
*arg1
= (wxSize
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2428 (char *) "self",(char *) "sz", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2447 resultptr
= new wxSize((wxSize
&) result
);
2448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2456 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxSize
*arg1
= (wxSize
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "sz", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2484 resultptr
= new wxSize((wxSize
&) result
);
2485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2493 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxSize
*arg1
= (wxSize
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2499 PyObject
* obj1
= 0 ;
2501 (char *) "self",(char *) "sz", NULL
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 (arg1
)->IncTo((wxSize
const &)*arg2
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 Py_INCREF(Py_None
); resultobj
= Py_None
;
2525 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxSize
*arg1
= (wxSize
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2531 PyObject
* obj1
= 0 ;
2533 (char *) "self",(char *) "sz", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->DecTo((wxSize
const &)*arg2
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxSize
*arg1
= (wxSize
*) 0 ;
2562 PyObject
* obj0
= 0 ;
2563 PyObject
* obj1
= 0 ;
2564 PyObject
* obj2
= 0 ;
2566 (char *) "self",(char *) "w",(char *) "h", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2572 arg2
= (int)SWIG_As_int(obj1
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2574 arg3
= (int)SWIG_As_int(obj2
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 (arg1
)->Set(arg2
,arg3
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxSize
*arg1
= (wxSize
*) 0 ;
2594 PyObject
* obj0
= 0 ;
2595 PyObject
* obj1
= 0 ;
2597 (char *) "self",(char *) "w", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2603 arg2
= (int)SWIG_As_int(obj1
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 (arg1
)->SetWidth(arg2
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2612 Py_INCREF(Py_None
); resultobj
= Py_None
;
2619 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxSize
*arg1
= (wxSize
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2624 PyObject
* obj1
= 0 ;
2626 (char *) "self",(char *) "h", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2632 arg2
= (int)SWIG_As_int(obj1
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 (arg1
)->SetHeight(arg2
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2641 Py_INCREF(Py_None
); resultobj
= Py_None
;
2648 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 wxSize
*arg1
= (wxSize
*) 0 ;
2652 PyObject
* obj0
= 0 ;
2654 (char *) "self", NULL
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= SWIG_From_int((int)result
);
2674 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxSize
*arg1
= (wxSize
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= SWIG_From_int((int)result
);
2700 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxSize
*arg1
= (wxSize
*) 0 ;
2704 PyObject
* obj0
= 0 ;
2706 (char *) "self", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2728 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxSize
*arg1
= (wxSize
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2736 (char *) "self",(char *) "size", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2744 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxSize
*arg1
= (wxSize
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (PyObject
*)wxSize_Get(arg1
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2786 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2789 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2791 return Py_BuildValue((char *)"");
2793 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "x", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg2
= (double)SWIG_As_double(obj1
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2808 if (arg1
) (arg1
)->x
= arg2
;
2810 Py_INCREF(Py_None
); resultobj
= Py_None
;
2817 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2823 (char *) "self", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2829 result
= (double) ((arg1
)->x
);
2831 resultobj
= SWIG_From_double((double)result
);
2838 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "y", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 arg2
= (double)SWIG_As_double(obj1
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2853 if (arg1
) (arg1
)->y
= arg2
;
2855 Py_INCREF(Py_None
); resultobj
= Py_None
;
2862 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2874 result
= (double) ((arg1
)->y
);
2876 resultobj
= SWIG_From_double((double)result
);
2883 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 double arg1
= (double) 0.0 ;
2886 double arg2
= (double) 0.0 ;
2887 wxRealPoint
*result
;
2888 PyObject
* obj0
= 0 ;
2889 PyObject
* obj1
= 0 ;
2891 (char *) "x",(char *) "y", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2896 arg1
= (double)SWIG_As_double(obj0
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2900 arg2
= (double)SWIG_As_double(obj1
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2917 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2922 (char *) "self", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 Py_INCREF(Py_None
); resultobj
= Py_None
;
2942 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2945 wxRealPoint
*arg2
= 0 ;
2948 PyObject
* obj0
= 0 ;
2949 PyObject
* obj1
= 0 ;
2951 (char *) "self",(char *) "pt", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2959 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2977 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2980 wxRealPoint
*arg2
= 0 ;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2986 (char *) "self",(char *) "pt", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3012 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3015 wxRealPoint
*arg2
= 0 ;
3018 PyObject
* obj0
= 0 ;
3019 PyObject
* obj1
= 0 ;
3021 (char *) "self",(char *) "pt", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 wxRealPoint
* resultptr
;
3040 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3049 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3052 wxRealPoint
*arg2
= 0 ;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3058 (char *) "self",(char *) "pt", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 wxRealPoint
* resultptr
;
3077 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3086 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3091 PyObject
* obj0
= 0 ;
3092 PyObject
* obj1
= 0 ;
3093 PyObject
* obj2
= 0 ;
3095 (char *) "self",(char *) "x",(char *) "y", NULL
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3101 arg2
= (double)SWIG_As_double(obj1
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3103 arg3
= (double)SWIG_As_double(obj2
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 wxRealPoint_Set(arg1
,arg2
,arg3
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 Py_INCREF(Py_None
); resultobj
= Py_None
;
3119 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3123 PyObject
* obj0
= 0 ;
3125 (char *) "self", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3145 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3148 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3150 return Py_BuildValue((char *)"");
3152 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxPoint
*arg1
= (wxPoint
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3157 PyObject
* obj1
= 0 ;
3159 (char *) "self",(char *) "x", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3165 arg2
= (int)SWIG_As_int(obj1
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3167 if (arg1
) (arg1
)->x
= arg2
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3176 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxPoint
*arg1
= (wxPoint
*) 0 ;
3180 PyObject
* obj0
= 0 ;
3182 (char *) "self", NULL
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3188 result
= (int) ((arg1
)->x
);
3190 resultobj
= SWIG_From_int((int)result
);
3197 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxPoint
*arg1
= (wxPoint
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3202 PyObject
* obj1
= 0 ;
3204 (char *) "self",(char *) "y", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3210 arg2
= (int)SWIG_As_int(obj1
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3212 if (arg1
) (arg1
)->y
= arg2
;
3214 Py_INCREF(Py_None
); resultobj
= Py_None
;
3221 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxPoint
*arg1
= (wxPoint
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 result
= (int) ((arg1
)->y
);
3235 resultobj
= SWIG_From_int((int)result
);
3242 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 int arg1
= (int) 0 ;
3245 int arg2
= (int) 0 ;
3247 PyObject
* obj0
= 0 ;
3248 PyObject
* obj1
= 0 ;
3250 (char *) "x",(char *) "y", NULL
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 arg1
= (int)SWIG_As_int(obj0
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 arg2
= (int)SWIG_As_int(obj1
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3276 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxPoint
*arg1
= (wxPoint
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3281 (char *) "self", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3301 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxPoint
*arg1
= (wxPoint
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3310 (char *) "self",(char *) "pt", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3336 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxPoint
*arg1
= (wxPoint
*) 0 ;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3345 (char *) "self",(char *) "pt", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3371 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxPoint
*arg1
= (wxPoint
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3380 (char *) "self",(char *) "pt", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3398 wxPoint
* resultptr
;
3399 resultptr
= new wxPoint((wxPoint
&) result
);
3400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3408 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxPoint
*arg1
= (wxPoint
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3415 PyObject
* obj1
= 0 ;
3417 (char *) "self",(char *) "pt", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3435 wxPoint
* resultptr
;
3436 resultptr
= new wxPoint((wxPoint
&) result
);
3437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3445 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxPoint
*arg1
= (wxPoint
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3454 (char *) "self",(char *) "pt", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3459 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3468 result
= (wxPoint
*) &_result_ref
;
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3481 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxPoint
*arg1
= (wxPoint
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3490 (char *) "self",(char *) "pt", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3495 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3504 result
= (wxPoint
*) &_result_ref
;
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3517 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxPoint
*arg1
= (wxPoint
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3524 PyObject
* obj2
= 0 ;
3526 (char *) "self",(char *) "x",(char *) "y", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3532 arg2
= (long)SWIG_As_long(obj1
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3534 arg3
= (long)SWIG_As_long(obj2
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 wxPoint_Set(arg1
,arg2
,arg3
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxPoint
*arg1
= (wxPoint
*) 0 ;
3554 PyObject
* obj0
= 0 ;
3556 (char *) "self", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (PyObject
*)wxPoint_Get(arg1
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3576 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3579 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3581 return Py_BuildValue((char *)"");
3583 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 int arg1
= (int) 0 ;
3586 int arg2
= (int) 0 ;
3587 int arg3
= (int) 0 ;
3588 int arg4
= (int) 0 ;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj1
= 0 ;
3592 PyObject
* obj2
= 0 ;
3593 PyObject
* obj3
= 0 ;
3595 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3600 arg1
= (int)SWIG_As_int(obj0
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3604 arg2
= (int)SWIG_As_int(obj1
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 arg3
= (int)SWIG_As_int(obj2
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3612 arg4
= (int)SWIG_As_int(obj3
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3629 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3636 PyObject
* obj0
= 0 ;
3637 PyObject
* obj1
= 0 ;
3639 (char *) "topLeft",(char *) "bottomRight", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3645 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3665 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3675 (char *) "pos",(char *) "size", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3681 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3685 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3701 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3706 PyObject
* obj0
= 0 ;
3708 (char *) "size", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3714 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3730 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxRect
*arg1
= (wxRect
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 (char *) "self", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxRect
*arg1
= (wxRect
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 (char *) "self", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (int)((wxRect
const *)arg1
)->GetX();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= SWIG_From_int((int)result
);
3781 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3783 wxRect
*arg1
= (wxRect
*) 0 ;
3785 PyObject
* obj0
= 0 ;
3786 PyObject
* obj1
= 0 ;
3788 (char *) "self",(char *) "x", NULL
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3794 arg2
= (int)SWIG_As_int(obj1
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxRect
*arg1
= (wxRect
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3816 (char *) "self", NULL
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (int)(arg1
)->GetY();
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_int((int)result
);
3836 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxRect
*arg1
= (wxRect
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3843 (char *) "self",(char *) "y", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 arg2
= (int)SWIG_As_int(obj1
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 Py_INCREF(Py_None
); resultobj
= Py_None
;
3865 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxRect
*arg1
= (wxRect
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "self", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_From_int((int)result
);
3891 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxRect
*arg1
= (wxRect
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3898 (char *) "self",(char *) "w", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3904 arg2
= (int)SWIG_As_int(obj1
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 (arg1
)->SetWidth(arg2
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 Py_INCREF(Py_None
); resultobj
= Py_None
;
3920 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxRect
*arg1
= (wxRect
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3926 (char *) "self", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_From_int((int)result
);
3946 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxRect
*arg1
= (wxRect
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3953 (char *) "self",(char *) "h", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3959 arg2
= (int)SWIG_As_int(obj1
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 (arg1
)->SetHeight(arg2
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 Py_INCREF(Py_None
); resultobj
= Py_None
;
3975 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxRect
*arg1
= (wxRect
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "self", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= ((wxRect
const *)arg1
)->GetPosition();
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 wxPoint
* resultptr
;
3996 resultptr
= new wxPoint((wxPoint
&) result
);
3997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4005 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxRect
*arg1
= (wxRect
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4013 (char *) "self",(char *) "p", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4037 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxRect
*arg1
= (wxRect
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= ((wxRect
const *)arg1
)->GetSize();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4058 resultptr
= new wxSize((wxSize
&) result
);
4059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4067 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxRect
*arg1
= (wxRect
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4075 (char *) "self",(char *) "s", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4083 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->SetSize((wxSize
const &)*arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 Py_INCREF(Py_None
); resultobj
= Py_None
;
4099 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxRect
*arg1
= (wxRect
*) 0 ;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "self", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4119 wxPoint
* resultptr
;
4120 resultptr
= new wxPoint((wxPoint
&) result
);
4121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4129 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxRect
*arg1
= (wxRect
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4137 (char *) "self",(char *) "p", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 Py_INCREF(Py_None
); resultobj
= Py_None
;
4161 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxRect
*arg1
= (wxRect
*) 0 ;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "self", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 wxPoint
* resultptr
;
4182 resultptr
= new wxPoint((wxPoint
&) result
);
4183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4191 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxRect
*arg1
= (wxRect
*) 0 ;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4199 (char *) "self",(char *) "p", NULL
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 Py_INCREF(Py_None
); resultobj
= Py_None
;
4223 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxRect
*arg1
= (wxRect
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4229 (char *) "self", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_From_int((int)result
);
4249 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxRect
*arg1
= (wxRect
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (int)((wxRect
const *)arg1
)->GetTop();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_From_int((int)result
);
4275 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxRect
*arg1
= (wxRect
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4281 (char *) "self", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_From_int((int)result
);
4301 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxRect
*arg1
= (wxRect
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (int)((wxRect
const *)arg1
)->GetRight();
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_From_int((int)result
);
4327 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxRect
*arg1
= (wxRect
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "left", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 arg2
= (int)SWIG_As_int(obj1
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetLeft(arg2
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 Py_INCREF(Py_None
); resultobj
= Py_None
;
4356 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxRect
*arg1
= (wxRect
*) 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4363 (char *) "self",(char *) "right", NULL
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4369 arg2
= (int)SWIG_As_int(obj1
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 (arg1
)->SetRight(arg2
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 Py_INCREF(Py_None
); resultobj
= Py_None
;
4385 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxRect
*arg1
= (wxRect
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4390 PyObject
* obj1
= 0 ;
4392 (char *) "self",(char *) "top", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 arg2
= (int)SWIG_As_int(obj1
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 (arg1
)->SetTop(arg2
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxRect
*arg1
= (wxRect
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4421 (char *) "self",(char *) "bottom", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4427 arg2
= (int)SWIG_As_int(obj1
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->SetBottom(arg2
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 Py_INCREF(Py_None
); resultobj
= Py_None
;
4443 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxRect
*arg1
= (wxRect
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4451 PyObject
* obj2
= 0 ;
4453 (char *) "self",(char *) "dx",(char *) "dy", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4459 arg2
= (int)SWIG_As_int(obj1
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4461 arg3
= (int)SWIG_As_int(obj2
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4467 result
= (wxRect
*) &_result_ref
;
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4480 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxRect
*arg1
= (wxRect
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 PyObject
* obj2
= 0 ;
4490 (char *) "self",(char *) "dx",(char *) "dy", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 arg2
= (int)SWIG_As_int(obj1
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4498 arg3
= (int)SWIG_As_int(obj2
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4504 result
= (wxRect
*) &_result_ref
;
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4517 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxRect
*arg1
= (wxRect
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 PyObject
* obj2
= 0 ;
4526 (char *) "self",(char *) "dx",(char *) "dy", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 arg2
= (int)SWIG_As_int(obj1
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4534 arg3
= (int)SWIG_As_int(obj2
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 (arg1
)->Offset(arg2
,arg3
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxRect
*arg1
= (wxRect
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4558 (char *) "self",(char *) "pt", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 (arg1
)->Offset((wxPoint
const &)*arg2
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxRect
*arg1
= (wxRect
*) 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4591 (char *) "self",(char *) "rect", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4599 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4605 result
= (wxRect
*) &_result_ref
;
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4618 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
;
4620 wxRect
*arg1
= (wxRect
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4625 PyObject
* obj1
= 0 ;
4627 (char *) "self",(char *) "rect", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4635 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4646 resultptr
= new wxRect((wxRect
&) result
);
4647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4655 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxRect
*arg1
= (wxRect
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4664 (char *) "self",(char *) "rect", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4669 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4672 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4678 result
= (wxRect
*) &_result_ref
;
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4691 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxRect
*arg1
= (wxRect
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4700 (char *) "self",(char *) "rect", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4726 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4728 wxRect
*arg1
= (wxRect
*) 0 ;
4732 PyObject
* obj0
= 0 ;
4733 PyObject
* obj1
= 0 ;
4735 (char *) "self",(char *) "rect", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4761 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxRect
*arg1
= (wxRect
*) 0 ;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4769 PyObject
* obj2
= 0 ;
4771 (char *) "self",(char *) "x",(char *) "y", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4777 arg2
= (int)SWIG_As_int(obj1
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4779 arg3
= (int)SWIG_As_int(obj2
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxRect
*arg1
= (wxRect
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4806 (char *) "self",(char *) "pt", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4832 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxRect
*arg1
= (wxRect
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4841 (char *) "self",(char *) "rect", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4867 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxRect
*arg1
= (wxRect
*) 0 ;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "self",(char *) "x", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4880 arg2
= (int)SWIG_As_int(obj1
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4882 if (arg1
) (arg1
)->x
= arg2
;
4884 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxRect
*arg1
= (wxRect
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 result
= (int) ((arg1
)->x
);
4905 resultobj
= SWIG_From_int((int)result
);
4912 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxRect
*arg1
= (wxRect
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4919 (char *) "self",(char *) "y", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int)SWIG_As_int(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4927 if (arg1
) (arg1
)->y
= arg2
;
4929 Py_INCREF(Py_None
); resultobj
= Py_None
;
4936 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxRect
*arg1
= (wxRect
*) 0 ;
4940 PyObject
* obj0
= 0 ;
4942 (char *) "self", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 result
= (int) ((arg1
)->y
);
4950 resultobj
= SWIG_From_int((int)result
);
4957 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxRect
*arg1
= (wxRect
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4964 (char *) "self",(char *) "width", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4970 arg2
= (int)SWIG_As_int(obj1
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4972 if (arg1
) (arg1
)->width
= arg2
;
4974 Py_INCREF(Py_None
); resultobj
= Py_None
;
4981 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxRect
*arg1
= (wxRect
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4987 (char *) "self", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4993 result
= (int) ((arg1
)->width
);
4995 resultobj
= SWIG_From_int((int)result
);
5002 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRect
*arg1
= (wxRect
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "self",(char *) "height", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 arg2
= (int)SWIG_As_int(obj1
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5017 if (arg1
) (arg1
)->height
= arg2
;
5019 Py_INCREF(Py_None
); resultobj
= Py_None
;
5026 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxRect
*arg1
= (wxRect
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5038 result
= (int) ((arg1
)->height
);
5040 resultobj
= SWIG_From_int((int)result
);
5047 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxRect
*arg1
= (wxRect
*) 0 ;
5050 int arg2
= (int) 0 ;
5051 int arg3
= (int) 0 ;
5052 int arg4
= (int) 0 ;
5053 int arg5
= (int) 0 ;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5056 PyObject
* obj2
= 0 ;
5057 PyObject
* obj3
= 0 ;
5058 PyObject
* obj4
= 0 ;
5060 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 arg2
= (int)SWIG_As_int(obj1
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 arg3
= (int)SWIG_As_int(obj2
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 arg4
= (int)SWIG_As_int(obj3
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5079 arg5
= (int)SWIG_As_int(obj4
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxRect
*arg1
= (wxRect
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5102 (char *) "self", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (PyObject
*)wxRect_Get(arg1
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5122 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5125 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5127 return Py_BuildValue((char *)"");
5129 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxRect
*arg1
= (wxRect
*) 0 ;
5132 wxRect
*arg2
= (wxRect
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5137 (char *) "r1",(char *) "r2", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5146 if (!wxPyCheckForApp()) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5160 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 double arg1
= (double) 0.0 ;
5163 double arg2
= (double) 0.0 ;
5165 PyObject
* obj0
= 0 ;
5166 PyObject
* obj1
= 0 ;
5168 (char *) "x",(char *) "y", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5173 arg1
= (double)SWIG_As_double(obj0
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 arg2
= (double)SWIG_As_double(obj1
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5194 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxPoint2D
*arg1
= 0 ;
5199 PyObject
* obj0
= 0 ;
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5207 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5223 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5228 PyObject
* obj0
= 0 ;
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5236 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5252 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5255 int *arg2
= (int *) 0 ;
5256 int *arg3
= (int *) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5267 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 Py_INCREF(Py_None
); resultobj
= Py_None
;
5279 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5280 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5281 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5282 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5289 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5292 int *arg2
= (int *) 0 ;
5293 int *arg3
= (int *) 0 ;
5298 PyObject
* obj0
= 0 ;
5300 (char *) "self", NULL
5303 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5304 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5316 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5317 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5318 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5319 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5326 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "self", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= SWIG_From_double((double)result
);
5352 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_From_double((double)result
);
5378 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "length", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 arg2
= (double)SWIG_As_double(obj1
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->SetVectorLength(arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5414 (char *) "self",(char *) "degrees", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 arg2
= (double)SWIG_As_double(obj1
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->SetVectorAngle(arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 Py_INCREF(Py_None
); resultobj
= Py_None
;
5436 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5439 wxPoint2D
*arg2
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "pt", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5453 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= SWIG_From_double((double)result
);
5469 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5472 wxPoint2D
*arg2
= 0 ;
5475 PyObject
* obj0
= 0 ;
5476 PyObject
* obj1
= 0 ;
5478 (char *) "self",(char *) "pt", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_From_double((double)result
);
5502 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5505 wxPoint2D
*arg2
= 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "vec", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= SWIG_From_double((double)result
);
5535 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5538 wxPoint2D
*arg2
= 0 ;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5544 (char *) "self",(char *) "vec", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_From_double((double)result
);
5568 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5574 (char *) "self", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (arg1
)->operator -();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5588 wxPoint2D
* resultptr
;
5589 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5598 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5601 wxPoint2D
*arg2
= 0 ;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5607 (char *) "self",(char *) "pt", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5612 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5615 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5621 result
= (wxPoint2D
*) &_result_ref
;
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5634 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5637 wxPoint2D
*arg2
= 0 ;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5643 (char *) "self",(char *) "pt", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5648 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5651 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5657 result
= (wxPoint2D
*) &_result_ref
;
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5670 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5673 wxPoint2D
*arg2
= 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5679 (char *) "self",(char *) "pt", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5684 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5687 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5693 result
= (wxPoint2D
*) &_result_ref
;
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5706 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5709 wxPoint2D
*arg2
= 0 ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "pt", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5720 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5723 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5729 result
= (wxPoint2D
*) &_result_ref
;
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5742 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5745 wxPoint2D
*arg2
= 0 ;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5751 (char *) "self",(char *) "pt", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5777 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5780 wxPoint2D
*arg2
= 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5786 (char *) "self",(char *) "pt", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5812 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5819 (char *) "self",(char *) "m_x", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 arg2
= (double)SWIG_As_double(obj1
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5827 if (arg1
) (arg1
)->m_x
= arg2
;
5829 Py_INCREF(Py_None
); resultobj
= Py_None
;
5836 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5840 PyObject
* obj0
= 0 ;
5842 (char *) "self", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 result
= (double) ((arg1
)->m_x
);
5850 resultobj
= SWIG_From_double((double)result
);
5857 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "m_y", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 arg2
= (double)SWIG_As_double(obj1
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5872 if (arg1
) (arg1
)->m_y
= arg2
;
5874 Py_INCREF(Py_None
); resultobj
= Py_None
;
5881 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5887 (char *) "self", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 result
= (double) ((arg1
)->m_y
);
5895 resultobj
= SWIG_From_double((double)result
);
5902 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5905 double arg2
= (double) 0 ;
5906 double arg3
= (double) 0 ;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5909 PyObject
* obj2
= 0 ;
5911 (char *) "self",(char *) "x",(char *) "y", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 arg2
= (double)SWIG_As_double(obj1
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 arg3
= (double)SWIG_As_double(obj2
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxPoint2D_Set(arg1
,arg2
,arg3
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 Py_INCREF(Py_None
); resultobj
= Py_None
;
5939 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5965 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5968 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5970 return Py_BuildValue((char *)"");
5972 static int _wrap_DefaultPosition_set(PyObject
*) {
5973 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5978 static PyObject
*_wrap_DefaultPosition_get() {
5981 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5986 static int _wrap_DefaultSize_set(PyObject
*) {
5987 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5992 static PyObject
*_wrap_DefaultSize_get() {
5995 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
6000 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 PyObject
*arg1
= (PyObject
*) 0 ;
6003 wxPyInputStream
*result
;
6004 PyObject
* obj0
= 0 ;
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6025 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6055 (char *) "self", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (bool)(arg1
)->eof();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6128 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6131 int arg2
= (int) -1 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6136 (char *) "self",(char *) "size", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 arg2
= (int)SWIG_As_int(obj1
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (PyObject
*)(arg1
)->read(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6160 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6163 int arg2
= (int) -1 ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6168 (char *) "self",(char *) "size", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 arg2
= (int)SWIG_As_int(obj1
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 result
= (PyObject
*)(arg1
)->readline(arg2
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6192 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6195 int arg2
= (int) -1 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6200 (char *) "self",(char *) "sizehint", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 arg2
= (int)SWIG_As_int(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6224 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6228 int arg3
= (int) 0 ;
6229 PyObject
* obj0
= 0 ;
6230 PyObject
* obj1
= 0 ;
6231 PyObject
* obj2
= 0 ;
6233 (char *) "self",(char *) "offset",(char *) "whence", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int)SWIG_As_int(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 arg3
= (int)SWIG_As_int(obj2
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 (arg1
)->seek(arg2
,arg3
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (int)(arg1
)->tell();
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_From_int((int)result
);
6285 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6291 (char *) "self", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (char)(arg1
)->Peek();
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_From_char((char)result
);
6311 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6317 (char *) "self", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (char)(arg1
)->GetC();
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_From_char((char)result
);
6337 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (size_t)(arg1
)->LastRead();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6363 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (bool)(arg1
)->CanRead();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6391 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6397 (char *) "self", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (bool)(arg1
)->Eof();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6425 PyObject
* obj1
= 0 ;
6427 (char *) "self",(char *) "c", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 arg2
= (char)SWIG_As_char(obj1
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (bool)(arg1
)->Ungetch(arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6451 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6455 int arg3
= (int) wxFromStart
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6461 (char *) "self",(char *) "pos",(char *) "mode", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 arg2
= (long)SWIG_As_long(obj1
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 arg3
= (int)SWIG_As_int(obj2
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_From_long((long)result
);
6487 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (long)(arg1
)->TellI();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_long((long)result
);
6513 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6516 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6518 return Py_BuildValue((char *)"");
6520 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6523 PyObject
*arg2
= (PyObject
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6527 (char *) "self",(char *) "obj", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 wxOutputStream_write(arg1
,arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 Py_INCREF(Py_None
); resultobj
= Py_None
;
6548 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6551 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6553 return Py_BuildValue((char *)"");
6555 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6558 wxString
*arg2
= 0 ;
6559 wxString
*arg3
= 0 ;
6560 wxString
*arg4
= 0 ;
6563 wxPyInputStream
*temp1
;
6565 bool temp2
= false ;
6566 bool temp3
= false ;
6567 bool temp4
= false ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6572 PyObject
* obj3
= 0 ;
6573 PyObject
* obj4
= 0 ;
6575 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6580 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6581 arg1
= temp1
->m_wxis
;
6584 PyErr_Clear(); // clear the failure of the wxPyConvert above
6585 arg1
= wxPyCBInputStream_create(obj0
, false);
6587 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6594 arg2
= wxString_in_helper(obj1
);
6595 if (arg2
== NULL
) SWIG_fail
;
6599 arg3
= wxString_in_helper(obj2
);
6600 if (arg3
== NULL
) SWIG_fail
;
6604 arg4
= wxString_in_helper(obj3
);
6605 if (arg4
== NULL
) SWIG_fail
;
6608 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6609 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= wxPyMake_wxObject(result
, 1);
6659 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
*resultobj
;
6661 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 Py_INCREF(Py_None
); resultobj
= Py_None
;
6684 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6687 wxInputStream
*result
;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (wxInputStream
*)(arg1
)->GetStream();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 wxPyInputStream
* _ptr
= NULL
;
6707 _ptr
= new wxPyInputStream(result
);
6709 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6717 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6723 (char *) "self", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6733 result
= (wxString
*) &_result_ref
;
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6743 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6752 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "self", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 wxString
const &_result_ref
= (arg1
)->GetLocation();
6768 result
= (wxString
*) &_result_ref
;
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6787 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6791 PyObject
* obj0
= 0 ;
6793 (char *) "self", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6803 result
= (wxString
*) &_result_ref
;
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6813 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6822 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "self", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (arg1
)->GetModificationTime();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 wxDateTime
* resultptr
;
6843 resultptr
= new wxDateTime((wxDateTime
&) result
);
6844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6852 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6855 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6857 return Py_BuildValue((char *)"");
6859 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6862 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6864 return Py_BuildValue((char *)"");
6866 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxPyFileSystemHandler
*result
;
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6888 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6891 PyObject
*arg2
= (PyObject
*) 0 ;
6892 PyObject
*arg3
= (PyObject
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 PyObject
* obj2
= 0 ;
6897 (char *) "self",(char *) "self",(char *) "_class", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 Py_INCREF(Py_None
); resultobj
= Py_None
;
6919 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6922 wxString
*arg2
= 0 ;
6924 bool temp2
= false ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6928 (char *) "self",(char *) "location", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6935 arg2
= wxString_in_helper(obj1
);
6936 if (arg2
== NULL
) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6966 wxFileSystem
*arg2
= 0 ;
6967 wxString
*arg3
= 0 ;
6969 bool temp3
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6974 (char *) "self",(char *) "fs",(char *) "location", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6984 PyErr_SetString(PyExc_TypeError
,"null reference");
6988 arg3
= wxString_in_helper(obj2
);
6989 if (arg3
== NULL
) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= wxPyMake_wxObject(result
, 1);
7016 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7019 wxString
*arg2
= 0 ;
7020 int arg3
= (int) 0 ;
7022 bool temp2
= false ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7025 PyObject
* obj2
= 0 ;
7027 (char *) "self",(char *) "spec",(char *) "flags", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 arg2
= wxString_in_helper(obj1
);
7035 if (arg2
== NULL
) SWIG_fail
;
7039 arg3
= (int)SWIG_As_int(obj2
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7070 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (arg1
)->FindNext();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7102 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7105 wxString
*arg2
= 0 ;
7107 bool temp2
= false ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "location", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7118 arg2
= wxString_in_helper(obj1
);
7119 if (arg2
== NULL
) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7150 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7153 wxString
*arg2
= 0 ;
7155 bool temp2
= false ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7159 (char *) "self",(char *) "location", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7166 arg2
= wxString_in_helper(obj1
);
7167 if (arg2
== NULL
) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7198 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7201 wxString
*arg2
= 0 ;
7203 bool temp2
= false ;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "self",(char *) "location", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 arg2
= wxString_in_helper(obj1
);
7215 if (arg2
== NULL
) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7246 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7249 wxString
*arg2
= 0 ;
7251 bool temp2
= false ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7255 (char *) "self",(char *) "location", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 arg2
= wxString_in_helper(obj1
);
7263 if (arg2
== NULL
) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7294 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7297 wxString
*arg2
= 0 ;
7299 bool temp2
= false ;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7303 (char *) "self",(char *) "location", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg2
= wxString_in_helper(obj1
);
7311 if (arg2
== NULL
) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7342 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7345 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7347 return Py_BuildValue((char *)"");
7349 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxFileSystem
*result
;
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (wxFileSystem
*)new wxFileSystem();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= wxPyMake_wxObject(result
, 1);
7373 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7398 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7401 wxString
*arg2
= 0 ;
7402 bool arg3
= (bool) false ;
7403 bool temp2
= false ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7408 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= wxString_in_helper(obj1
);
7416 if (arg2
== NULL
) SWIG_fail
;
7420 arg3
= (bool)SWIG_As_bool(obj2
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (arg1
)->GetPath();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7477 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7480 wxString
*arg2
= 0 ;
7482 bool temp2
= false ;
7483 PyObject
* obj0
= 0 ;
7484 PyObject
* obj1
= 0 ;
7486 (char *) "self",(char *) "location", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7493 arg2
= wxString_in_helper(obj1
);
7494 if (arg2
== NULL
) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= wxPyMake_wxObject(result
, 1);
7521 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7524 wxString
*arg2
= 0 ;
7525 int arg3
= (int) 0 ;
7527 bool temp2
= false ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7530 PyObject
* obj2
= 0 ;
7532 (char *) "self",(char *) "spec",(char *) "flags", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 arg2
= wxString_in_helper(obj1
);
7540 if (arg2
== NULL
) SWIG_fail
;
7544 arg3
= (int)SWIG_As_int(obj2
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7575 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7581 (char *) "self", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (arg1
)->FindNext();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7607 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "handler", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 wxFileSystem::AddHandler(arg1
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 wxFileSystem::CleanUpHandlers();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxString
*arg1
= 0 ;
7657 bool temp1
= false ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "filename", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7665 arg1
= wxString_in_helper(obj0
);
7666 if (arg1
== NULL
) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7697 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxString
*arg1
= 0 ;
7701 bool temp1
= false ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "url", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7709 arg1
= wxString_in_helper(obj0
);
7710 if (arg1
== NULL
) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7741 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7746 return Py_BuildValue((char *)"");
7748 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxInternetFSHandler
*result
;
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7770 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7773 wxString
*arg2
= 0 ;
7775 bool temp2
= false ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7779 (char *) "self",(char *) "location", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7786 arg2
= wxString_in_helper(obj1
);
7787 if (arg2
== NULL
) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7814 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7817 wxFileSystem
*arg2
= 0 ;
7818 wxString
*arg3
= 0 ;
7820 bool temp3
= false ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 PyObject
* obj2
= 0 ;
7825 (char *) "self",(char *) "fs",(char *) "location", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7835 PyErr_SetString(PyExc_TypeError
,"null reference");
7839 arg3
= wxString_in_helper(obj2
);
7840 if (arg3
== NULL
) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= wxPyMake_wxObject(result
, 1);
7867 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7872 return Py_BuildValue((char *)"");
7874 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxZipFSHandler
*result
;
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7896 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7899 wxString
*arg2
= 0 ;
7901 bool temp2
= false ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7905 (char *) "self",(char *) "location", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 arg2
= wxString_in_helper(obj1
);
7913 if (arg2
== NULL
) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7940 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7943 wxFileSystem
*arg2
= 0 ;
7944 wxString
*arg3
= 0 ;
7946 bool temp3
= false ;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7949 PyObject
* obj2
= 0 ;
7951 (char *) "self",(char *) "fs",(char *) "location", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7961 PyErr_SetString(PyExc_TypeError
,"null reference");
7965 arg3
= wxString_in_helper(obj2
);
7966 if (arg3
== NULL
) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= wxPyMake_wxObject(result
, 1);
7993 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7996 wxString
*arg2
= 0 ;
7997 int arg3
= (int) 0 ;
7999 bool temp2
= false ;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "self",(char *) "spec",(char *) "flags", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 arg2
= wxString_in_helper(obj1
);
8012 if (arg2
== NULL
) SWIG_fail
;
8016 arg3
= (int)SWIG_As_int(obj2
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8047 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (arg1
)->FindNext();
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8079 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8082 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8084 return Py_BuildValue((char *)"");
8086 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxString
*arg1
= 0 ;
8091 bool temp1
= false ;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8094 PyObject
* obj2
= 0 ;
8096 (char *) "filename",(char *) "image",(char *) "type", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8101 arg1
= wxString_in_helper(obj0
);
8102 if (arg1
== NULL
) SWIG_fail
;
8105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8109 PyErr_SetString(PyExc_TypeError
,"null reference");
8112 arg3
= (long)SWIG_As_long(obj2
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxString
*arg1
= 0 ;
8139 wxBitmap
*arg2
= 0 ;
8141 bool temp1
= false ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8146 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8151 arg1
= wxString_in_helper(obj0
);
8152 if (arg1
== NULL
) SWIG_fail
;
8155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8159 PyErr_SetString(PyExc_TypeError
,"null reference");
8162 arg3
= (long)SWIG_As_long(obj2
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxString
*arg1
= 0 ;
8189 PyObject
*arg2
= (PyObject
*) 0 ;
8190 bool temp1
= false ;
8191 PyObject
* obj0
= 0 ;
8192 PyObject
* obj1
= 0 ;
8194 (char *) "filename",(char *) "data", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8199 arg1
= wxString_in_helper(obj0
);
8200 if (arg1
== NULL
) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxMemoryFSHandler
*result
;
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8248 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxString
*arg1
= 0 ;
8251 bool temp1
= false ;
8252 PyObject
* obj0
= 0 ;
8254 (char *) "filename", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8259 arg1
= wxString_in_helper(obj0
);
8260 if (arg1
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8288 wxString
*arg2
= 0 ;
8290 bool temp2
= false ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8294 (char *) "self",(char *) "location", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= wxString_in_helper(obj1
);
8302 if (arg2
== NULL
) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8329 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8332 wxFileSystem
*arg2
= 0 ;
8333 wxString
*arg3
= 0 ;
8335 bool temp3
= false ;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8338 PyObject
* obj2
= 0 ;
8340 (char *) "self",(char *) "fs",(char *) "location", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8350 PyErr_SetString(PyExc_TypeError
,"null reference");
8354 arg3
= wxString_in_helper(obj2
);
8355 if (arg3
== NULL
) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= wxPyMake_wxObject(result
, 1);
8382 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8385 wxString
*arg2
= 0 ;
8386 int arg3
= (int) 0 ;
8388 bool temp2
= false ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8393 (char *) "self",(char *) "spec",(char *) "flags", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8400 arg2
= wxString_in_helper(obj1
);
8401 if (arg2
== NULL
) SWIG_fail
;
8405 arg3
= (int)SWIG_As_int(obj2
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8436 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (arg1
)->FindNext();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8468 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8471 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8473 return Py_BuildValue((char *)"");
8475 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (arg1
)->GetName();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8507 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8511 PyObject
* obj0
= 0 ;
8513 (char *) "self", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (arg1
)->GetExtension();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8539 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "self", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 result
= (long)(arg1
)->GetType();
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= SWIG_From_long((long)result
);
8565 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8569 PyObject
* obj0
= 0 ;
8571 (char *) "self", NULL
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (arg1
)->GetMimeType();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8597 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8600 wxString
*arg2
= 0 ;
8602 bool temp2
= false ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8606 (char *) "self",(char *) "name", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8613 arg2
= wxString_in_helper(obj1
);
8614 if (arg2
== NULL
) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8641 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8644 wxString
*arg2
= 0 ;
8645 bool temp2
= false ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8649 (char *) "self",(char *) "name", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8656 arg2
= wxString_in_helper(obj1
);
8657 if (arg2
== NULL
) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 (arg1
)->SetName((wxString
const &)*arg2
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8685 wxString
*arg2
= 0 ;
8686 bool temp2
= false ;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8690 (char *) "self",(char *) "extension", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8697 arg2
= wxString_in_helper(obj1
);
8698 if (arg2
== NULL
) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 (arg1
)->SetExtension((wxString
const &)*arg2
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 Py_INCREF(Py_None
); resultobj
= Py_None
;
8723 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8730 (char *) "self",(char *) "type", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 arg2
= (long)SWIG_As_long(obj1
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 (arg1
)->SetType(arg2
);
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8755 wxString
*arg2
= 0 ;
8756 bool temp2
= false ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "self",(char *) "mimetype", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8767 arg2
= wxString_in_helper(obj1
);
8768 if (arg2
== NULL
) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8796 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8798 return Py_BuildValue((char *)"");
8800 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxImageHistogram
*result
;
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (wxImageHistogram
*)new wxImageHistogram();
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8822 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 unsigned char arg1
;
8825 unsigned char arg2
;
8826 unsigned char arg3
;
8827 unsigned long result
;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "r",(char *) "g",(char *) "b", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8836 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8838 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8840 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8856 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8859 unsigned char *arg2
= (unsigned char *) 0 ;
8860 unsigned char *arg3
= (unsigned char *) 0 ;
8861 unsigned char *arg4
= (unsigned char *) 0 ;
8862 unsigned char arg5
= (unsigned char) 1 ;
8863 unsigned char arg6
= (unsigned char) 0 ;
8864 unsigned char arg7
= (unsigned char) 0 ;
8866 unsigned char temp2
;
8868 unsigned char temp3
;
8870 unsigned char temp4
;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8875 PyObject
* obj3
= 0 ;
8877 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8880 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8881 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8882 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8909 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8910 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8911 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8912 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8913 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8920 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8923 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8925 return Py_BuildValue((char *)"");
8927 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxString
*arg1
= 0 ;
8930 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8931 int arg3
= (int) -1 ;
8933 bool temp1
= false ;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8936 PyObject
* obj2
= 0 ;
8938 (char *) "name",(char *) "type",(char *) "index", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8943 arg1
= wxString_in_helper(obj0
);
8944 if (arg1
== NULL
) SWIG_fail
;
8948 arg2
= (long)SWIG_As_long(obj1
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8952 arg3
= (int)SWIG_As_int(obj2
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8977 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxImage
*arg1
= (wxImage
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
9002 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxString
*arg1
= 0 ;
9005 wxString
*arg2
= 0 ;
9006 int arg3
= (int) -1 ;
9008 bool temp1
= false ;
9009 bool temp2
= false ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 PyObject
* obj2
= 0 ;
9014 (char *) "name",(char *) "mimetype",(char *) "index", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9019 arg1
= wxString_in_helper(obj0
);
9020 if (arg1
== NULL
) SWIG_fail
;
9024 arg2
= wxString_in_helper(obj1
);
9025 if (arg2
== NULL
) SWIG_fail
;
9029 arg3
= (int)SWIG_As_int(obj2
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9062 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxInputStream
*arg1
= 0 ;
9065 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9066 int arg3
= (int) -1 ;
9068 wxPyInputStream
*temp1
;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 PyObject
* obj2
= 0 ;
9074 (char *) "stream",(char *) "type",(char *) "index", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9079 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9080 arg1
= temp1
->m_wxis
;
9083 PyErr_Clear(); // clear the failure of the wxPyConvert above
9084 arg1
= wxPyCBInputStream_create(obj0
, false);
9086 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9093 arg2
= (long)SWIG_As_long(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9097 arg3
= (int)SWIG_As_int(obj2
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9122 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxInputStream
*arg1
= 0 ;
9125 wxString
*arg2
= 0 ;
9126 int arg3
= (int) -1 ;
9128 wxPyInputStream
*temp1
;
9130 bool temp2
= false ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 PyObject
* obj2
= 0 ;
9135 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9140 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9141 arg1
= temp1
->m_wxis
;
9144 PyErr_Clear(); // clear the failure of the wxPyConvert above
9145 arg1
= wxPyCBInputStream_create(obj0
, false);
9147 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9154 arg2
= wxString_in_helper(obj1
);
9155 if (arg2
== NULL
) SWIG_fail
;
9159 arg3
= (int)SWIG_As_int(obj2
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9192 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 int arg1
= (int) 0 ;
9195 int arg2
= (int) 0 ;
9196 bool arg3
= (bool) true ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 PyObject
* obj2
= 0 ;
9202 (char *) "width",(char *) "height",(char *) "clear", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9207 arg1
= (int)SWIG_As_int(obj0
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9211 arg2
= (int)SWIG_As_int(obj1
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 arg3
= (bool)SWIG_As_bool(obj2
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9232 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxBitmap
*arg1
= 0 ;
9236 PyObject
* obj0
= 0 ;
9238 (char *) "bitmap", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9246 PyErr_SetString(PyExc_TypeError
,"null reference");
9250 if (!wxPyCheckForApp()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9264 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9268 unsigned char *arg3
= (unsigned char *) 0 ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "width",(char *) "height",(char *) "data", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9278 arg1
= (int)SWIG_As_int(obj0
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9280 arg2
= (int)SWIG_As_int(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9298 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9302 unsigned char *arg3
= (unsigned char *) 0 ;
9303 unsigned char *arg4
= (unsigned char *) 0 ;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9308 PyObject
* obj3
= 0 ;
9310 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9314 arg1
= (int)SWIG_As_int(obj0
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9316 arg2
= (int)SWIG_As_int(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9318 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9336 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxImage
*arg1
= (wxImage
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9345 (char *) "self",(char *) "width",(char *) "height", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 arg2
= (int)SWIG_As_int(obj1
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9353 arg3
= (int)SWIG_As_int(obj2
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 (arg1
)->Create(arg2
,arg3
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 Py_INCREF(Py_None
); resultobj
= Py_None
;
9369 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxImage
*arg1
= (wxImage
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9374 (char *) "self", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 Py_INCREF(Py_None
); resultobj
= Py_None
;
9394 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxImage
*arg1
= (wxImage
*) 0 ;
9399 SwigValueWrapper
< wxImage
> result
;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 PyObject
* obj2
= 0 ;
9404 (char *) "self",(char *) "width",(char *) "height", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9410 arg2
= (int)SWIG_As_int(obj1
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9412 arg3
= (int)SWIG_As_int(obj2
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (arg1
)->Scale(arg2
,arg3
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 wxImage
* resultptr
;
9423 resultptr
= new wxImage((wxImage
&) result
);
9424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9432 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxImage
*arg1
= (wxImage
*) 0 ;
9437 SwigValueWrapper
< wxImage
> result
;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 PyObject
* obj2
= 0 ;
9442 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 arg2
= (int)SWIG_As_int(obj1
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9450 arg3
= (int)SWIG_As_int(obj2
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 wxImage
* resultptr
;
9461 resultptr
= new wxImage((wxImage
&) result
);
9462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9470 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxImage
*arg1
= (wxImage
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9480 (char *) "self",(char *) "width",(char *) "height", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 arg2
= (int)SWIG_As_int(obj1
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg3
= (int)SWIG_As_int(obj2
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9494 result
= (wxImage
*) &_result_ref
;
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9507 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxImage
*arg1
= (wxImage
*) 0 ;
9512 unsigned char arg4
;
9513 unsigned char arg5
;
9514 unsigned char arg6
;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 PyObject
* obj2
= 0 ;
9518 PyObject
* obj3
= 0 ;
9519 PyObject
* obj4
= 0 ;
9520 PyObject
* obj5
= 0 ;
9522 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9528 arg2
= (int)SWIG_As_int(obj1
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9530 arg3
= (int)SWIG_As_int(obj2
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9532 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9534 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9536 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 Py_INCREF(Py_None
); resultobj
= Py_None
;
9552 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxImage
*arg1
= (wxImage
*) 0 ;
9557 unsigned char result
;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 PyObject
* obj2
= 0 ;
9562 (char *) "self",(char *) "x",(char *) "y", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9568 arg2
= (int)SWIG_As_int(obj1
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9570 arg3
= (int)SWIG_As_int(obj2
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9586 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxImage
*arg1
= (wxImage
*) 0 ;
9591 unsigned char result
;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 PyObject
* obj2
= 0 ;
9596 (char *) "self",(char *) "x",(char *) "y", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 arg2
= (int)SWIG_As_int(obj1
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9604 arg3
= (int)SWIG_As_int(obj2
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9620 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxImage
*arg1
= (wxImage
*) 0 ;
9625 unsigned char result
;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9628 PyObject
* obj2
= 0 ;
9630 (char *) "self",(char *) "x",(char *) "y", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9636 arg2
= (int)SWIG_As_int(obj1
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9638 arg3
= (int)SWIG_As_int(obj2
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9654 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxImage
*arg1
= (wxImage
*) 0 ;
9659 unsigned char arg4
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9663 PyObject
* obj3
= 0 ;
9665 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (int)SWIG_As_int(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9673 arg3
= (int)SWIG_As_int(obj2
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9675 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9691 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxImage
*arg1
= (wxImage
*) 0 ;
9696 unsigned char result
;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9699 PyObject
* obj2
= 0 ;
9701 (char *) "self",(char *) "x",(char *) "y", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9707 arg2
= (int)SWIG_As_int(obj1
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9709 arg3
= (int)SWIG_As_int(obj2
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9725 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxImage
*arg1
= (wxImage
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (bool)(arg1
)->HasAlpha();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9753 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxImage
*arg1
= (wxImage
*) 0 ;
9756 byte
*arg2
= (byte
*) 0 ;
9757 byte
*arg3
= (byte
*) 0 ;
9758 byte
*arg4
= (byte
*) 0 ;
9759 byte arg5
= (byte
) 0 ;
9760 byte arg6
= (byte
) 0 ;
9761 byte arg7
= (byte
) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 PyObject
* obj2
= 0 ;
9772 PyObject
* obj3
= 0 ;
9774 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9777 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9778 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9779 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9806 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9807 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9808 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9809 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9810 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9817 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxImage
*arg1
= (wxImage
*) 0 ;
9820 byte arg2
= (byte
) 128 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9825 (char *) "self",(char *) "threshold", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9851 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxImage
*arg1
= (wxImage
*) 0 ;
9854 unsigned char arg2
;
9855 unsigned char arg3
;
9856 unsigned char arg4
;
9858 PyObject
* obj0
= 0 ;
9859 PyObject
* obj1
= 0 ;
9860 PyObject
* obj2
= 0 ;
9861 PyObject
* obj3
= 0 ;
9863 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9871 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9873 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9891 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxImage
*arg1
= (wxImage
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 PyObject
* obj3
= 0 ;
9903 PyObject
* obj4
= 0 ;
9905 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9915 PyErr_SetString(PyExc_TypeError
,"null reference");
9918 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9920 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9922 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9940 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxString
*arg1
= 0 ;
9944 bool temp1
= false ;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "name", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9952 arg1
= wxString_in_helper(obj0
);
9953 if (arg1
== NULL
) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9980 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxString
*arg1
= 0 ;
9983 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9985 bool temp1
= false ;
9986 PyObject
* obj0
= 0 ;
9987 PyObject
* obj1
= 0 ;
9989 (char *) "name",(char *) "type", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9994 arg1
= wxString_in_helper(obj0
);
9995 if (arg1
== NULL
) SWIG_fail
;
9999 arg2
= (long)SWIG_As_long(obj1
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_From_int((int)result
);
10024 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxImage
*arg1
= (wxImage
*) 0 ;
10027 wxString
*arg2
= 0 ;
10028 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10029 int arg4
= (int) -1 ;
10031 bool temp2
= false ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 PyObject
* obj3
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10049 arg3
= (long)SWIG_As_long(obj2
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 arg4
= (int)SWIG_As_int(obj3
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10080 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxImage
*arg1
= (wxImage
*) 0 ;
10083 wxString
*arg2
= 0 ;
10084 wxString
*arg3
= 0 ;
10085 int arg4
= (int) -1 ;
10087 bool temp2
= false ;
10088 bool temp3
= false ;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 PyObject
* obj2
= 0 ;
10092 PyObject
* obj3
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 arg2
= wxString_in_helper(obj1
);
10102 if (arg2
== NULL
) SWIG_fail
;
10106 arg3
= wxString_in_helper(obj2
);
10107 if (arg3
== NULL
) SWIG_fail
;
10111 arg4
= (int)SWIG_As_int(obj3
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10146 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxImage
*arg1
= (wxImage
*) 0 ;
10149 wxString
*arg2
= 0 ;
10152 bool temp2
= false ;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 PyObject
* obj2
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self",(char *) "name",(char *) "type", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10164 arg2
= wxString_in_helper(obj1
);
10165 if (arg2
== NULL
) SWIG_fail
;
10168 arg3
= (int)SWIG_As_int(obj2
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10194 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxImage
*arg1
= (wxImage
*) 0 ;
10197 wxString
*arg2
= 0 ;
10198 wxString
*arg3
= 0 ;
10200 bool temp2
= false ;
10201 bool temp3
= false ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 arg2
= wxString_in_helper(obj1
);
10214 if (arg2
== NULL
) SWIG_fail
;
10218 arg3
= wxString_in_helper(obj2
);
10219 if (arg3
== NULL
) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10254 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxInputStream
*arg1
= 0 ;
10258 wxPyInputStream
*temp1
;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "stream", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10267 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10268 arg1
= temp1
->m_wxis
;
10271 PyErr_Clear(); // clear the failure of the wxPyConvert above
10272 arg1
= wxPyCBInputStream_create(obj0
, false);
10273 if (arg1
== NULL
) {
10274 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)wxImage::CanRead(*arg1
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxImage
*arg1
= (wxImage
*) 0 ;
10307 wxInputStream
*arg2
= 0 ;
10308 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10309 int arg4
= (int) -1 ;
10311 wxPyInputStream
*temp2
;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 PyObject
* obj2
= 0 ;
10316 PyObject
* obj3
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10325 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10326 arg2
= temp2
->m_wxis
;
10329 PyErr_Clear(); // clear the failure of the wxPyConvert above
10330 arg2
= wxPyCBInputStream_create(obj1
, false);
10331 if (arg2
== NULL
) {
10332 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10339 arg3
= (long)SWIG_As_long(obj2
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10343 arg4
= (int)SWIG_As_int(obj3
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxImage
*arg1
= (wxImage
*) 0 ;
10373 wxInputStream
*arg2
= 0 ;
10374 wxString
*arg3
= 0 ;
10375 int arg4
= (int) -1 ;
10377 wxPyInputStream
*temp2
;
10379 bool temp3
= false ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 PyObject
* obj3
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10393 arg2
= temp2
->m_wxis
;
10396 PyErr_Clear(); // clear the failure of the wxPyConvert above
10397 arg2
= wxPyCBInputStream_create(obj1
, false);
10398 if (arg2
== NULL
) {
10399 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10406 arg3
= wxString_in_helper(obj2
);
10407 if (arg3
== NULL
) SWIG_fail
;
10411 arg4
= (int)SWIG_As_int(obj3
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10446 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxImage
*arg1
= (wxImage
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (bool)(arg1
)->Ok();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxImage
*arg1
= (wxImage
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (int)(arg1
)->GetWidth();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_From_int((int)result
);
10500 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxImage
*arg1
= (wxImage
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (int)(arg1
)->GetHeight();
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_From_int((int)result
);
10526 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxImage
*arg1
= (wxImage
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= wxImage_GetSize(arg1
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 wxSize
* resultptr
;
10547 resultptr
= new wxSize((wxSize
&) result
);
10548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10556 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxImage
*arg1
= (wxImage
*) 0 ;
10560 SwigValueWrapper
< wxImage
> result
;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "rect", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 wxImage
* resultptr
;
10584 resultptr
= new wxImage((wxImage
&) result
);
10585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10593 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxImage
*arg1
= (wxImage
*) 0 ;
10596 SwigValueWrapper
< wxImage
> result
;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (arg1
)->Copy();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 wxImage
* resultptr
;
10614 resultptr
= new wxImage((wxImage
&) result
);
10615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10623 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxImage
*arg1
= (wxImage
*) 0 ;
10626 wxImage
*arg2
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 PyObject
* obj3
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10643 if (arg2
== NULL
) {
10644 PyErr_SetString(PyExc_TypeError
,"null reference");
10647 arg3
= (int)SWIG_As_int(obj2
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10649 arg4
= (int)SWIG_As_int(obj3
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 Py_INCREF(Py_None
); resultobj
= Py_None
;
10665 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxImage
*arg1
= (wxImage
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (PyObject
*)wxImage_GetData(arg1
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= result
;
10691 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxImage
*arg1
= (wxImage
*) 0 ;
10694 PyObject
*arg2
= (PyObject
*) 0 ;
10695 PyObject
* obj0
= 0 ;
10696 PyObject
* obj1
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self",(char *) "data", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 wxImage_SetData(arg1
,arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxImage
*arg1
= (wxImage
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= result
;
10745 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxImage
*arg1
= (wxImage
*) 0 ;
10748 PyObject
*arg2
= (PyObject
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self",(char *) "data", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 wxImage_SetDataBuffer(arg1
,arg2
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 Py_INCREF(Py_None
); resultobj
= Py_None
;
10773 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxImage
*arg1
= (wxImage
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "self", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 resultobj
= result
;
10799 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxImage
*arg1
= (wxImage
*) 0 ;
10802 PyObject
*arg2
= (PyObject
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "data", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 wxImage_SetAlphaData(arg1
,arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxImage
*arg1
= (wxImage
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= result
;
10853 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxImage
*arg1
= (wxImage
*) 0 ;
10856 PyObject
*arg2
= (PyObject
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "data", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 wxImage_SetAlphaBuffer(arg1
,arg2
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxImage
*arg1
= (wxImage
*) 0 ;
10884 unsigned char arg2
;
10885 unsigned char arg3
;
10886 unsigned char arg4
;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 PyObject
* obj2
= 0 ;
10890 PyObject
* obj3
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10900 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10902 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxImage
*arg1
= (wxImage
*) 0 ;
10921 unsigned char result
;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (unsigned char)(arg1
)->GetMaskRed();
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10944 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxImage
*arg1
= (wxImage
*) 0 ;
10947 unsigned char result
;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (unsigned char)(arg1
)->GetMaskGreen();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10970 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10973 unsigned char result
;
10974 PyObject
* obj0
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (unsigned char)(arg1
)->GetMaskBlue();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10996 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxImage
*arg1
= (wxImage
*) 0 ;
10999 bool arg2
= (bool) true ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self",(char *) "mask", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11010 arg2
= (bool)SWIG_As_bool(obj1
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 (arg1
)->SetMask(arg2
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 Py_INCREF(Py_None
); resultobj
= Py_None
;
11027 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxImage
*arg1
= (wxImage
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "self", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
11037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (bool)(arg1
)->HasMask();
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxImage
*arg1
= (wxImage
*) 0 ;
11059 wxPoint
*arg3
= 0 ;
11060 bool arg4
= (bool) true ;
11061 wxPoint
*arg5
= (wxPoint
*) NULL
;
11062 SwigValueWrapper
< wxImage
> result
;
11064 PyObject
* obj0
= 0 ;
11065 PyObject
* obj1
= 0 ;
11066 PyObject
* obj2
= 0 ;
11067 PyObject
* obj3
= 0 ;
11068 PyObject
* obj4
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11076 arg2
= (double)SWIG_As_double(obj1
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11083 arg4
= (bool)SWIG_As_bool(obj3
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 wxImage
* resultptr
;
11099 resultptr
= new wxImage((wxImage
&) result
);
11100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11108 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxImage
*arg1
= (wxImage
*) 0 ;
11111 bool arg2
= (bool) true ;
11112 SwigValueWrapper
< wxImage
> result
;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self",(char *) "clockwise", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11123 arg2
= (bool)SWIG_As_bool(obj1
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (arg1
)->Rotate90(arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 wxImage
* resultptr
;
11135 resultptr
= new wxImage((wxImage
&) result
);
11136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11144 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxImage
*arg1
= (wxImage
*) 0 ;
11147 bool arg2
= (bool) true ;
11148 SwigValueWrapper
< wxImage
> result
;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self",(char *) "horizontally", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (bool)SWIG_As_bool(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (arg1
)->Mirror(arg2
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 wxImage
* resultptr
;
11171 resultptr
= new wxImage((wxImage
&) result
);
11172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11180 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxImage
*arg1
= (wxImage
*) 0 ;
11183 unsigned char arg2
;
11184 unsigned char arg3
;
11185 unsigned char arg4
;
11186 unsigned char arg5
;
11187 unsigned char arg6
;
11188 unsigned char arg7
;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 PyObject
* obj2
= 0 ;
11192 PyObject
* obj3
= 0 ;
11193 PyObject
* obj4
= 0 ;
11194 PyObject
* obj5
= 0 ;
11195 PyObject
* obj6
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11203 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11205 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11207 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11209 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11211 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11213 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 Py_INCREF(Py_None
); resultobj
= Py_None
;
11229 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxImage
*arg1
= (wxImage
*) 0 ;
11232 unsigned char arg2
;
11233 unsigned char arg3
;
11234 unsigned char arg4
;
11235 SwigValueWrapper
< wxImage
> result
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 wxImage
* resultptr
;
11262 resultptr
= new wxImage((wxImage
&) result
);
11263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11271 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxImage
*arg1
= (wxImage
*) 0 ;
11274 wxString
*arg2
= 0 ;
11275 wxString
*arg3
= 0 ;
11276 bool temp2
= false ;
11277 bool temp3
= false ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 PyObject
* obj2
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "name",(char *) "value", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg2
= wxString_in_helper(obj1
);
11290 if (arg2
== NULL
) SWIG_fail
;
11294 arg3
= wxString_in_helper(obj2
);
11295 if (arg3
== NULL
) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxImage
*arg1
= (wxImage
*) 0 ;
11331 wxString
*arg2
= 0 ;
11333 bool temp2
= false ;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "name",(char *) "value", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11345 arg2
= wxString_in_helper(obj1
);
11346 if (arg2
== NULL
) SWIG_fail
;
11349 arg3
= (int)SWIG_As_int(obj2
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxImage
*arg1
= (wxImage
*) 0 ;
11376 wxString
*arg2
= 0 ;
11378 bool temp2
= false ;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 char *kwnames
[] = {
11382 (char *) "self",(char *) "name", NULL
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11389 arg2
= wxString_in_helper(obj1
);
11390 if (arg2
== NULL
) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11421 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxImage
*arg1
= (wxImage
*) 0 ;
11424 wxString
*arg2
= 0 ;
11426 bool temp2
= false ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "name", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11437 arg2
= wxString_in_helper(obj1
);
11438 if (arg2
== NULL
) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_From_int((int)result
);
11463 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11465 wxImage
*arg1
= (wxImage
*) 0 ;
11466 wxString
*arg2
= 0 ;
11468 bool temp2
= false ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self",(char *) "name", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11479 arg2
= wxString_in_helper(obj1
);
11480 if (arg2
== NULL
) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxImage
*arg1
= (wxImage
*) 0 ;
11510 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11511 unsigned long result
;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "stopafter", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11522 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11539 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxImage
*arg1
= (wxImage
*) 0 ;
11542 wxImageHistogram
*arg2
= 0 ;
11543 unsigned long result
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self",(char *) "h", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11556 if (arg2
== NULL
) {
11557 PyErr_SetString(PyExc_TypeError
,"null reference");
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11574 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "handler", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 wxImage::AddHandler(arg1
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 Py_INCREF(Py_None
); resultobj
= Py_None
;
11599 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "handler", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 wxImage::InsertHandler(arg1
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 Py_INCREF(Py_None
); resultobj
= Py_None
;
11624 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxString
*arg1
= 0 ;
11628 bool temp1
= false ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "name", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11636 arg1
= wxString_in_helper(obj0
);
11637 if (arg1
== NULL
) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11664 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11667 char *kwnames
[] = {
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= wxImage::GetImageExtWildcard();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11692 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxImage
*arg1
= (wxImage
*) 0 ;
11695 int arg2
= (int) -1 ;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self",(char *) "depth", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11707 arg2
= (int)SWIG_As_int(obj1
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 if (!wxPyCheckForApp()) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11719 wxBitmap
* resultptr
;
11720 resultptr
= new wxBitmap((wxBitmap
&) result
);
11721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11729 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxImage
*arg1
= (wxImage
*) 0 ;
11732 unsigned char arg2
;
11733 unsigned char arg3
;
11734 unsigned char arg4
;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 PyObject
* obj2
= 0 ;
11739 PyObject
* obj3
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11749 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11751 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 if (!wxPyCheckForApp()) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 wxBitmap
* resultptr
;
11763 resultptr
= new wxBitmap((wxBitmap
&) result
);
11764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11772 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11775 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11777 return Py_BuildValue((char *)"");
11779 static int _wrap_NullImage_set(PyObject
*) {
11780 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11785 static PyObject
*_wrap_NullImage_get() {
11788 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11793 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11794 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11799 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11804 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11806 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11813 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11814 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11819 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11824 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11826 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11833 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11834 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11839 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11844 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11846 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11853 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11854 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11859 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11864 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11866 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11873 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11874 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11879 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11884 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11886 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11893 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxBMPHandler
*result
;
11896 char *kwnames
[] = {
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (wxBMPHandler
*)new wxBMPHandler();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11915 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11918 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11920 return Py_BuildValue((char *)"");
11922 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxICOHandler
*result
;
11925 char *kwnames
[] = {
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxICOHandler
*)new wxICOHandler();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11944 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11947 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11949 return Py_BuildValue((char *)"");
11951 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxCURHandler
*result
;
11954 char *kwnames
[] = {
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxCURHandler
*)new wxCURHandler();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11973 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11976 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11978 return Py_BuildValue((char *)"");
11980 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxANIHandler
*result
;
11983 char *kwnames
[] = {
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxANIHandler
*)new wxANIHandler();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
12002 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
12004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12005 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
12007 return Py_BuildValue((char *)"");
12009 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxPNGHandler
*result
;
12012 char *kwnames
[] = {
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (wxPNGHandler
*)new wxPNGHandler();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
12031 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
12033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12034 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
12036 return Py_BuildValue((char *)"");
12038 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxGIFHandler
*result
;
12041 char *kwnames
[] = {
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxGIFHandler
*)new wxGIFHandler();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12060 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12063 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12065 return Py_BuildValue((char *)"");
12067 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxPCXHandler
*result
;
12070 char *kwnames
[] = {
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (wxPCXHandler
*)new wxPCXHandler();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12089 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12092 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12094 return Py_BuildValue((char *)"");
12096 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxJPEGHandler
*result
;
12099 char *kwnames
[] = {
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12118 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12123 return Py_BuildValue((char *)"");
12125 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxPNMHandler
*result
;
12128 char *kwnames
[] = {
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (wxPNMHandler
*)new wxPNMHandler();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12147 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12150 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12152 return Py_BuildValue((char *)"");
12154 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxXPMHandler
*result
;
12157 char *kwnames
[] = {
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (wxXPMHandler
*)new wxXPMHandler();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12176 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12179 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12181 return Py_BuildValue((char *)"");
12183 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxTIFFHandler
*result
;
12186 char *kwnames
[] = {
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12205 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12208 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12210 return Py_BuildValue((char *)"");
12212 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxImage
*arg1
= 0 ;
12215 wxImage
*arg2
= 0 ;
12216 int arg3
= (int) 236 ;
12217 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12219 PyObject
* obj0
= 0 ;
12220 PyObject
* obj1
= 0 ;
12221 PyObject
* obj2
= 0 ;
12222 PyObject
* obj3
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12231 if (arg1
== NULL
) {
12232 PyErr_SetString(PyExc_TypeError
,"null reference");
12235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12238 if (arg2
== NULL
) {
12239 PyErr_SetString(PyExc_TypeError
,"null reference");
12243 arg3
= (int)SWIG_As_int(obj2
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 arg4
= (int)SWIG_As_int(obj3
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12266 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12269 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12271 return Py_BuildValue((char *)"");
12273 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxEvtHandler
*result
;
12276 char *kwnames
[] = {
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (wxEvtHandler
*)new wxEvtHandler();
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12295 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12298 wxEvtHandler
*result
;
12299 PyObject
* obj0
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= wxPyMake_wxObject(result
, 0);
12323 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12326 wxEvtHandler
*result
;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= wxPyMake_wxObject(result
, 0);
12351 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12354 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "handler", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetNextHandler(arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12380 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12383 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "handler", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetPreviousHandler(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12437 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "enabled", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg2
= (bool)SWIG_As_bool(obj1
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->SetEvtHandlerEnabled(arg2
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12469 wxEvent
*arg2
= 0 ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "event", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12483 if (arg2
== NULL
) {
12484 PyErr_SetString(PyExc_TypeError
,"null reference");
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12503 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12506 wxEvent
*arg2
= 0 ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "event", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12519 if (arg2
== NULL
) {
12520 PyErr_SetString(PyExc_TypeError
,"null reference");
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->AddPendingEvent(*arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->ProcessPendingEvents();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12568 PyObject
*arg5
= (PyObject
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj1
= 0 ;
12571 PyObject
* obj2
= 0 ;
12572 PyObject
* obj3
= 0 ;
12573 PyObject
* obj4
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 arg2
= (int)SWIG_As_int(obj1
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12583 arg3
= (int)SWIG_As_int(obj2
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12585 arg4
= (int)SWIG_As_int(obj3
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 Py_INCREF(Py_None
); resultobj
= Py_None
;
12602 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12606 int arg3
= (int) -1 ;
12607 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 PyObject
* obj2
= 0 ;
12612 PyObject
* obj3
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12620 arg2
= (int)SWIG_As_int(obj1
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 arg3
= (int)SWIG_As_int(obj2
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12627 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12646 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12649 PyObject
*arg2
= (PyObject
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self",(char *) "_self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 wxEvtHandler__setOORInfo(arg1
,arg2
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12677 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12679 return Py_BuildValue((char *)"");
12681 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxEventType result
;
12684 char *kwnames
[] = {
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (wxEventType
)wxNewEventType();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_From_int((int)result
);
12703 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxEvent
*arg1
= (wxEvent
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",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();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 Py_INCREF(Py_None
); resultobj
= Py_None
;
12728 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxEvent
*arg1
= (wxEvent
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self",(char *) "typ", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->SetEventType(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12757 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxEvent
*arg1
= (wxEvent
*) 0 ;
12760 wxEventType result
;
12761 PyObject
* obj0
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_From_int((int)result
);
12783 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxEvent
*arg1
= (wxEvent
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= wxPyMake_wxObject(result
, 0);
12811 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxEvent
*arg1
= (wxEvent
*) 0 ;
12814 wxObject
*arg2
= (wxObject
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "obj", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->SetEventObject(arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12840 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxEvent
*arg1
= (wxEvent
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_From_long((long)result
);
12866 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxEvent
*arg1
= (wxEvent
*) 0 ;
12869 long arg2
= (long) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self",(char *) "ts", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12880 arg2
= (long)SWIG_As_long(obj1
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetTimestamp(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_Event_GetId(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_GetId",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
= (int)((wxEvent
const *)arg1
)->GetId();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_From_int((int)result
);
12923 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxEvent
*arg1
= (wxEvent
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "Id", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12936 arg2
= (int)SWIG_As_int(obj1
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 (arg1
)->SetId(arg2
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 Py_INCREF(Py_None
); resultobj
= Py_None
;
12952 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxEvent
*arg1
= (wxEvent
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12980 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
;
12982 wxEvent
*arg1
= (wxEvent
*) 0 ;
12983 bool arg2
= (bool) true ;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self",(char *) "skip", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12994 arg2
= (bool)SWIG_As_bool(obj1
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 (arg1
)->Skip(arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 Py_INCREF(Py_None
); resultobj
= Py_None
;
13011 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxEvent
*arg1
= (wxEvent
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13039 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxEvent
*arg1
= (wxEvent
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 static PyObject
*_wrap_Event_StopPropagation(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_StopPropagation",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
= (int)(arg1
)->StopPropagation();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_From_int((int)result
);
13093 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxEvent
*arg1
= (wxEvent
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self",(char *) "propagationLevel", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 arg2
= (int)SWIG_As_int(obj1
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 (arg1
)->ResumePropagation(arg2
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 Py_INCREF(Py_None
); resultobj
= Py_None
;
13122 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxEvent
*arg1
= (wxEvent
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (wxEvent
*)(arg1
)->Clone();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13148 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13151 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13153 return Py_BuildValue((char *)"");
13155 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxEvent
*arg1
= 0 ;
13158 wxPropagationDisabler
*result
;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "event", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13168 if (arg1
== NULL
) {
13169 PyErr_SetString(PyExc_TypeError
,"null reference");
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13186 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13214 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13216 return Py_BuildValue((char *)"");
13218 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxEvent
*arg1
= 0 ;
13221 wxPropagateOnce
*result
;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "event", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13231 if (arg1
== NULL
) {
13232 PyErr_SetString(PyExc_TypeError
,"null reference");
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13249 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13277 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13279 return Py_BuildValue((char *)"");
13281 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13284 int arg2
= (int) 0 ;
13285 wxCommandEvent
*result
;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "commandType",(char *) "winid", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 arg2
= (int)SWIG_As_int(obj1
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13315 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_From_int((int)result
);
13341 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13344 wxString
*arg2
= 0 ;
13345 bool temp2
= false ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "s", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 arg2
= wxString_in_helper(obj1
);
13357 if (arg2
== NULL
) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 (arg1
)->SetString((wxString
const &)*arg2
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13382 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13414 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13470 static PyObject
*_wrap_CommandEvent_SetExtraLong(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 *) "extraLong", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",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
= (long)SWIG_As_long(obj1
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetExtraLong(arg2
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 Py_INCREF(Py_None
); resultobj
= Py_None
;
13499 static PyObject
*_wrap_CommandEvent_GetExtraLong(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_GetExtraLong",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
)->GetExtraLong();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_From_long((long)result
);
13525 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self",(char *) "i", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 arg2
= (int)SWIG_As_int(obj1
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 (arg1
)->SetInt(arg2
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 Py_INCREF(Py_None
); resultobj
= Py_None
;
13554 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_From_long((long)result
);
13580 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13606 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13609 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13611 return Py_BuildValue((char *)"");
13613 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
;
13615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13616 int arg2
= (int) 0 ;
13617 wxNotifyEvent
*result
;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "commandType",(char *) "winid", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 arg2
= (int)SWIG_As_int(obj1
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13647 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 Py_INCREF(Py_None
); resultobj
= Py_None
;
13672 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 Py_INCREF(Py_None
); resultobj
= Py_None
;
13697 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (bool)(arg1
)->IsAllowed();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13725 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13728 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13730 return Py_BuildValue((char *)"");
13732 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13735 int arg2
= (int) 0 ;
13736 int arg3
= (int) 0 ;
13737 int arg4
= (int) 0 ;
13738 wxScrollEvent
*result
;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 PyObject
* obj2
= 0 ;
13742 PyObject
* obj3
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13749 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 arg2
= (int)SWIG_As_int(obj1
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 arg3
= (int)SWIG_As_int(obj2
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13761 arg4
= (int)SWIG_As_int(obj3
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13778 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_From_int((int)result
);
13804 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= SWIG_From_int((int)result
);
13830 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self",(char *) "orient", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 arg2
= (int)SWIG_As_int(obj1
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->SetOrientation(arg2
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 Py_INCREF(Py_None
); resultobj
= Py_None
;
13859 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self",(char *) "pos", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13872 arg2
= (int)SWIG_As_int(obj1
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 (arg1
)->SetPosition(arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 Py_INCREF(Py_None
); resultobj
= Py_None
;
13888 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13891 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13893 return Py_BuildValue((char *)"");
13895 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13898 int arg2
= (int) 0 ;
13899 int arg3
= (int) 0 ;
13900 wxScrollWinEvent
*result
;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 PyObject
* obj2
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13910 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 arg2
= (int)SWIG_As_int(obj1
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13918 arg3
= (int)SWIG_As_int(obj2
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13935 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_From_int((int)result
);
13961 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_From_int((int)result
);
13987 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self",(char *) "orient", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 arg2
= (int)SWIG_As_int(obj1
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->SetOrientation(arg2
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 Py_INCREF(Py_None
); resultobj
= Py_None
;
14016 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "pos", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 arg2
= (int)SWIG_As_int(obj1
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 (arg1
)->SetPosition(arg2
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 Py_INCREF(Py_None
); resultobj
= Py_None
;
14045 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
14047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14048 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
14050 return Py_BuildValue((char *)"");
14052 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14055 wxMouseEvent
*result
;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "mouseType", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14063 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= wxPyMake_wxObject(result
, 1);
14082 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14113 int arg2
= (int) wxMOUSE_BTN_ANY
;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self",(char *) "but", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14125 arg2
= (int)SWIG_As_int(obj1
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14144 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14147 int arg2
= (int) wxMOUSE_BTN_ANY
;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "but", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 arg2
= (int)SWIG_As_int(obj1
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14178 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14181 int arg2
= (int) wxMOUSE_BTN_ANY
;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self",(char *) "but", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 arg2
= (int)SWIG_As_int(obj1
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14212 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "but", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 arg2
= (int)SWIG_As_int(obj1
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14244 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "but", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 arg2
= (int)SWIG_As_int(obj1
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14276 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_int((int)result
);
14302 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14358 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14386 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14442 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14470 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14554 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14582 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14638 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)(arg1
)->LeftIsDown();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14722 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)(arg1
)->MiddleIsDown();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14750 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (bool)(arg1
)->RightIsDown();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14778 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14806 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14834 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14862 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14890 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (arg1
)->GetPosition();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 wxPoint
* resultptr
;
14911 resultptr
= new wxPoint((wxPoint
&) result
);
14912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14920 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14923 long *arg2
= (long *) 0 ;
14924 long *arg3
= (long *) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14935 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->GetPosition(arg2
,arg3
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14948 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14949 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14950 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14957 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "dc", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14974 if (arg2
== NULL
) {
14975 PyErr_SetString(PyExc_TypeError
,"null reference");
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 wxPoint
* resultptr
;
14987 resultptr
= new wxPoint((wxPoint
&) result
);
14988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14996 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_From_int((int)result
);
15022 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_From_int((int)result
);
15048 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15052 PyObject
* obj0
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "self", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_From_int((int)result
);
15074 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= SWIG_From_int((int)result
);
15100 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= SWIG_From_int((int)result
);
15126 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15154 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self",(char *) "m_x", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 arg2
= (int)SWIG_As_int(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15169 if (arg1
) (arg1
)->m_x
= arg2
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15190 result
= (int) ((arg1
)->m_x
);
15192 resultobj
= SWIG_From_int((int)result
);
15199 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "m_y", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 arg2
= (int)SWIG_As_int(obj1
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15214 if (arg1
) (arg1
)->m_y
= arg2
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 result
= (int) ((arg1
)->m_y
);
15237 resultobj
= SWIG_From_int((int)result
);
15244 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 PyObject
* obj1
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self",(char *) "m_leftDown", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 arg2
= (bool)SWIG_As_bool(obj1
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15259 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15261 Py_INCREF(Py_None
); resultobj
= Py_None
;
15268 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 result
= (bool) ((arg1
)->m_leftDown
);
15283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15291 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self",(char *) "m_middleDown", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 arg2
= (bool)SWIG_As_bool(obj1
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15306 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15308 Py_INCREF(Py_None
); resultobj
= Py_None
;
15315 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15327 result
= (bool) ((arg1
)->m_middleDown
);
15330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15338 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 PyObject
* obj1
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "m_rightDown", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 arg2
= (bool)SWIG_As_bool(obj1
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15353 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15355 Py_INCREF(Py_None
); resultobj
= Py_None
;
15362 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 result
= (bool) ((arg1
)->m_rightDown
);
15377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15385 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self",(char *) "m_controlDown", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15398 arg2
= (bool)SWIG_As_bool(obj1
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15400 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 result
= (bool) ((arg1
)->m_controlDown
);
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "m_shiftDown", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 arg2
= (bool)SWIG_As_bool(obj1
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15447 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15449 Py_INCREF(Py_None
); resultobj
= Py_None
;
15456 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15468 result
= (bool) ((arg1
)->m_shiftDown
);
15471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15479 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self",(char *) "m_altDown", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 arg2
= (bool)SWIG_As_bool(obj1
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15494 if (arg1
) (arg1
)->m_altDown
= arg2
;
15496 Py_INCREF(Py_None
); resultobj
= Py_None
;
15503 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15515 result
= (bool) ((arg1
)->m_altDown
);
15518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15530 PyObject
* obj0
= 0 ;
15531 PyObject
* obj1
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self",(char *) "m_metaDown", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 arg2
= (bool)SWIG_As_bool(obj1
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15541 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15543 Py_INCREF(Py_None
); resultobj
= Py_None
;
15550 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15562 result
= (bool) ((arg1
)->m_metaDown
);
15565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15573 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "m_wheelRotation", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 arg2
= (int)SWIG_As_int(obj1
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15588 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15590 Py_INCREF(Py_None
); resultobj
= Py_None
;
15597 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 result
= (int) ((arg1
)->m_wheelRotation
);
15611 resultobj
= SWIG_From_int((int)result
);
15618 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "m_wheelDelta", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 arg2
= (int)SWIG_As_int(obj1
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15633 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15635 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15654 result
= (int) ((arg1
)->m_wheelDelta
);
15656 resultobj
= SWIG_From_int((int)result
);
15663 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 PyObject
* obj1
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "self",(char *) "m_linesPerAction", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 arg2
= (int)SWIG_As_int(obj1
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15678 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15680 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 result
= (int) ((arg1
)->m_linesPerAction
);
15701 resultobj
= SWIG_From_int((int)result
);
15708 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15711 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15713 return Py_BuildValue((char *)"");
15715 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 int arg1
= (int) 0 ;
15718 int arg2
= (int) 0 ;
15719 wxSetCursorEvent
*result
;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "x",(char *) "y", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 arg1
= (int)SWIG_As_int(obj0
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 arg2
= (int)SWIG_As_int(obj1
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15749 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_From_int((int)result
);
15775 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_From_int((int)result
);
15801 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15804 wxCursor
*arg2
= 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self",(char *) "cursor", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15817 if (arg2
== NULL
) {
15818 PyErr_SetString(PyExc_TypeError
,"null reference");
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 Py_INCREF(Py_None
); resultobj
= Py_None
;
15835 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15851 result
= (wxCursor
*) &_result_ref
;
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 wxCursor
* resultptr
= new wxCursor(*result
);
15859 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15867 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15898 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15900 return Py_BuildValue((char *)"");
15902 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15905 wxKeyEvent
*result
;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "keyType", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15913 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15930 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15958 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15986 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16014 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16070 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16098 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_From_int((int)result
);
16124 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= SWIG_From_int((int)result
);
16150 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16153 unsigned int result
;
16154 PyObject
* obj0
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "self", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16176 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16179 unsigned int result
;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16202 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (arg1
)->GetPosition();
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 wxPoint
* resultptr
;
16223 resultptr
= new wxPoint((wxPoint
&) result
);
16224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16232 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16235 long *arg2
= (long *) 0 ;
16236 long *arg3
= (long *) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16247 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 (arg1
)->GetPosition(arg2
,arg3
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16259 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16260 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16261 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16262 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16269 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_From_int((int)result
);
16295 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= SWIG_From_int((int)result
);
16321 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "m_x", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 arg2
= (int)SWIG_As_int(obj1
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16336 if (arg1
) (arg1
)->m_x
= arg2
;
16338 Py_INCREF(Py_None
); resultobj
= Py_None
;
16345 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 result
= (int) ((arg1
)->m_x
);
16359 resultobj
= SWIG_From_int((int)result
);
16366 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self",(char *) "m_y", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 arg2
= (int)SWIG_As_int(obj1
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16381 if (arg1
) (arg1
)->m_y
= arg2
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 result
= (int) ((arg1
)->m_y
);
16404 resultobj
= SWIG_From_int((int)result
);
16411 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 PyObject
* obj1
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self",(char *) "m_keyCode", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 arg2
= (long)SWIG_As_long(obj1
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16426 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16428 Py_INCREF(Py_None
); resultobj
= Py_None
;
16435 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16447 result
= (long) ((arg1
)->m_keyCode
);
16449 resultobj
= SWIG_From_long((long)result
);
16456 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "m_controlDown", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 arg2
= (bool)SWIG_As_bool(obj1
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16471 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 result
= (bool) ((arg1
)->m_controlDown
);
16495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16503 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self",(char *) "m_shiftDown", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16516 arg2
= (bool)SWIG_As_bool(obj1
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16518 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 result
= (bool) ((arg1
)->m_shiftDown
);
16542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16550 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self",(char *) "m_altDown", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16563 arg2
= (bool)SWIG_As_bool(obj1
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16565 if (arg1
) (arg1
)->m_altDown
= arg2
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 result
= (bool) ((arg1
)->m_altDown
);
16589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16597 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "m_metaDown", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 arg2
= (bool)SWIG_As_bool(obj1
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16612 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16614 Py_INCREF(Py_None
); resultobj
= Py_None
;
16621 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 result
= (bool) ((arg1
)->m_metaDown
);
16636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16644 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self",(char *) "m_scanCode", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 arg2
= (bool)SWIG_As_bool(obj1
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16659 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16661 Py_INCREF(Py_None
); resultobj
= Py_None
;
16668 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 result
= (bool) ((arg1
)->m_scanCode
);
16683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16691 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16694 unsigned int arg2
;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "m_rawCode", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16706 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16708 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16718 unsigned int result
;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16727 result
= (unsigned int) ((arg1
)->m_rawCode
);
16729 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16736 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16739 unsigned int arg2
;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self",(char *) "m_rawFlags", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16749 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16751 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16753 Py_INCREF(Py_None
); resultobj
= Py_None
;
16760 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16763 unsigned int result
;
16764 PyObject
* obj0
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16772 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16774 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16781 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16784 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16786 return Py_BuildValue((char *)"");
16788 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16791 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16792 int arg2
= (int) 0 ;
16793 wxSizeEvent
*result
;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "sz",(char *) "winid", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16805 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16809 arg2
= (int)SWIG_As_int(obj1
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16826 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 wxSize
* resultptr
;
16847 resultptr
= new wxSize((wxSize
&) result
);
16848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16856 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16876 wxRect
* resultptr
;
16877 resultptr
= new wxRect((wxRect
&) result
);
16878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16886 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 PyObject
* obj1
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self",(char *) "rect", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16901 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->SetRect(arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16917 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "self",(char *) "size", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16931 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16932 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 wxSizeEvent_SetSize(arg1
,arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16951 wxSize
*arg2
= (wxSize
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self",(char *) "m_size", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 if (arg1
) (arg1
)->m_size
= *arg2
;
16965 Py_INCREF(Py_None
); resultobj
= Py_None
;
16972 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16984 result
= (wxSize
*)& ((arg1
)->m_size
);
16986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16993 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16996 wxRect
*arg2
= (wxRect
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self",(char *) "m_rect", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 if (arg1
) (arg1
)->m_rect
= *arg2
;
17010 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 result
= (wxRect
*)& ((arg1
)->m_rect
);
17031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17038 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17041 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
17043 return Py_BuildValue((char *)"");
17045 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
17048 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
17049 int arg2
= (int) 0 ;
17050 wxMoveEvent
*result
;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "pos",(char *) "winid", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17062 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17066 arg2
= (int)SWIG_As_int(obj1
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17083 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 wxPoint
* resultptr
;
17104 resultptr
= new wxPoint((wxPoint
&) result
);
17105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17113 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 wxRect
* resultptr
;
17134 resultptr
= new wxRect((wxRect
&) result
);
17135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17143 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "rect", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17158 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 (arg1
)->SetRect(arg2
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "pos", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17189 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 wxMoveEvent_SetPosition(arg1
,arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 Py_INCREF(Py_None
); resultobj
= Py_None
;
17205 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17208 wxPoint
*arg2
= (wxPoint
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self",(char *) "m_pos", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17220 if (arg1
) (arg1
)->m_pos
= *arg2
;
17222 Py_INCREF(Py_None
); resultobj
= Py_None
;
17229 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17233 PyObject
* obj0
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17250 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17253 wxRect
*arg2
= (wxRect
*) 0 ;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "m_rect", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 if (arg1
) (arg1
)->m_rect
= *arg2
;
17267 Py_INCREF(Py_None
); resultobj
= Py_None
;
17274 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17278 PyObject
* obj0
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 result
= (wxRect
*)& ((arg1
)->m_rect
);
17288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17295 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17298 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17300 return Py_BuildValue((char *)"");
17302 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 int arg1
= (int) 0 ;
17305 wxPaintEvent
*result
;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "Id", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17313 arg1
= (int)SWIG_As_int(obj0
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17330 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17333 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17335 return Py_BuildValue((char *)"");
17337 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 int arg1
= (int) 0 ;
17340 wxNcPaintEvent
*result
;
17341 PyObject
* obj0
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "winid", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17348 arg1
= (int)SWIG_As_int(obj0
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17365 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17368 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17370 return Py_BuildValue((char *)"");
17372 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 int arg1
= (int) 0 ;
17375 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17376 wxEraseEvent
*result
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "Id",(char *) "dc", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 arg1
= (int)SWIG_As_int(obj0
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17406 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= wxPyMake_wxObject(result
, 0);
17434 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17437 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17439 return Py_BuildValue((char *)"");
17441 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17444 int arg2
= (int) 0 ;
17445 wxFocusEvent
*result
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "type",(char *) "winid", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17454 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 arg2
= (int)SWIG_As_int(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17475 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= wxPyMake_wxObject(result
, 0);
17503 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17506 wxWindow
*arg2
= (wxWindow
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "win", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 (arg1
)->SetWindow(arg2
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17535 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17537 return Py_BuildValue((char *)"");
17539 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxWindow
*arg1
= (wxWindow
*) NULL
;
17542 wxChildFocusEvent
*result
;
17543 PyObject
* obj0
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "win", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17567 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= wxPyMake_wxObject(result
, 0);
17595 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17598 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17600 return Py_BuildValue((char *)"");
17602 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17605 bool arg2
= (bool) true ;
17606 int arg3
= (int) 0 ;
17607 wxActivateEvent
*result
;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 PyObject
* obj2
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "type",(char *) "active",(char *) "Id", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17617 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 arg2
= (bool)SWIG_As_bool(obj1
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 arg3
= (int)SWIG_As_int(obj2
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17642 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17670 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17673 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17675 return Py_BuildValue((char *)"");
17677 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 int arg1
= (int) 0 ;
17680 wxInitDialogEvent
*result
;
17681 PyObject
* obj0
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "Id", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17688 arg1
= (int)SWIG_As_int(obj0
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17705 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17708 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17710 return Py_BuildValue((char *)"");
17712 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17715 int arg2
= (int) 0 ;
17716 wxMenu
*arg3
= (wxMenu
*) NULL
;
17717 wxMenuEvent
*result
;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "type",(char *) "winid",(char *) "menu", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17727 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 arg2
= (int)SWIG_As_int(obj1
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17752 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_From_int((int)result
);
17778 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17806 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17810 PyObject
* obj0
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= wxPyMake_wxObject(result
, 0);
17834 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17837 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17839 return Py_BuildValue((char *)"");
17841 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17844 int arg2
= (int) 0 ;
17845 wxCloseEvent
*result
;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "type",(char *) "winid", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17854 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 arg2
= (int)SWIG_As_int(obj1
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17875 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "logOff", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 arg2
= (bool)SWIG_As_bool(obj1
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 (arg1
)->SetLoggingOff(arg2
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 Py_INCREF(Py_None
); resultobj
= Py_None
;
17904 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17935 bool arg2
= (bool) true ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "veto", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 arg2
= (bool)SWIG_As_bool(obj1
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->Veto(arg2
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17963 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self",(char *) "canVeto", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 arg2
= (bool)SWIG_As_bool(obj1
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->SetCanVeto(arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18020 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18048 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
18050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18051 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
18053 return Py_BuildValue((char *)"");
18055 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 int arg1
= (int) 0 ;
18058 bool arg2
= (bool) false ;
18059 wxShowEvent
*result
;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "winid",(char *) "show", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18068 arg1
= (int)SWIG_As_int(obj0
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 arg2
= (bool)SWIG_As_bool(obj1
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18089 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 PyObject
* obj1
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self",(char *) "show", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18102 arg2
= (bool)SWIG_As_bool(obj1
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 (arg1
)->SetShow(arg2
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 Py_INCREF(Py_None
); resultobj
= Py_None
;
18118 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18146 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18149 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18151 return Py_BuildValue((char *)"");
18153 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 int arg1
= (int) 0 ;
18156 bool arg2
= (bool) true ;
18157 wxIconizeEvent
*result
;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "id",(char *) "iconized", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 arg1
= (int)SWIG_As_int(obj0
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 arg2
= (bool)SWIG_As_bool(obj1
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18187 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (bool)(arg1
)->Iconized();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18215 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18218 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18220 return Py_BuildValue((char *)"");
18222 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 int arg1
= (int) 0 ;
18225 wxMaximizeEvent
*result
;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "id", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18233 arg1
= (int)SWIG_As_int(obj0
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18250 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18253 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18255 return Py_BuildValue((char *)"");
18257 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (arg1
)->GetPosition();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 wxPoint
* resultptr
;
18278 resultptr
= new wxPoint((wxPoint
&) result
);
18279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18287 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (int)(arg1
)->GetNumberOfFiles();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_From_int((int)result
);
18313 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= result
;
18339 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18342 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18344 return Py_BuildValue((char *)"");
18346 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 int arg1
= (int) 0 ;
18349 wxUpdateUIEvent
*result
;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "commandId", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18357 arg1
= (int)SWIG_As_int(obj0
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18374 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18402 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18430 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18462 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18490 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18518 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18546 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "check", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= (bool)SWIG_As_bool(obj1
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->Check(arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 Py_INCREF(Py_None
); resultobj
= Py_None
;
18575 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "enable", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 arg2
= (bool)SWIG_As_bool(obj1
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 (arg1
)->Enable(arg2
);
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 Py_INCREF(Py_None
); resultobj
= Py_None
;
18604 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18607 wxString
*arg2
= 0 ;
18608 bool temp2
= false ;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self",(char *) "text", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 arg2
= wxString_in_helper(obj1
);
18620 if (arg2
== NULL
) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->SetText((wxString
const &)*arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18648 PyObject
* obj0
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "updateInterval", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18654 arg1
= (long)SWIG_As_long(obj0
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 Py_INCREF(Py_None
); resultobj
= Py_None
;
18670 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18673 char *kwnames
[] = {
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_From_long((long)result
);
18692 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxWindow
*arg1
= (wxWindow
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "win", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18720 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 char *kwnames
[] = {
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 wxUpdateUIEvent::ResetUpdateTime();
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 Py_INCREF(Py_None
); resultobj
= Py_None
;
18741 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18744 PyObject
* obj0
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "mode", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18750 arg1
= (int)SWIG_As_int(obj0
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18769 char *kwnames
[] = {
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (int)wxUpdateUIEvent::GetMode();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_From_int((int)result
);
18788 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18791 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18793 return Py_BuildValue((char *)"");
18795 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxSysColourChangedEvent
*result
;
18798 char *kwnames
[] = {
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18817 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18822 return Py_BuildValue((char *)"");
18824 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 int arg1
= (int) 0 ;
18827 wxWindow
*arg2
= (wxWindow
*) NULL
;
18828 wxMouseCaptureChangedEvent
*result
;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "winid",(char *) "gainedCapture", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18837 arg1
= (int)SWIG_As_int(obj0
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18858 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= wxPyMake_wxObject(result
, 0);
18886 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18889 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18891 return Py_BuildValue((char *)"");
18893 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxDisplayChangedEvent
*result
;
18896 char *kwnames
[] = {
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18915 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18918 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18920 return Py_BuildValue((char *)"");
18922 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 int arg1
= (int) 0 ;
18925 wxPaletteChangedEvent
*result
;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "id", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18933 arg1
= (int)SWIG_As_int(obj0
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18950 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18953 wxWindow
*arg2
= (wxWindow
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "win", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 (arg1
)->SetChangedWindow(arg2
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 Py_INCREF(Py_None
); resultobj
= Py_None
;
18979 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= wxPyMake_wxObject(result
, 0);
19007 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
19009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19010 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
19012 return Py_BuildValue((char *)"");
19014 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 int arg1
= (int) 0 ;
19017 wxQueryNewPaletteEvent
*result
;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "winid", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
19025 arg1
= (int)SWIG_As_int(obj0
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
19042 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "realized", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 arg2
= (bool)SWIG_As_bool(obj1
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->SetPaletteRealized(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19099 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19102 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19104 return Py_BuildValue((char *)"");
19106 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxNavigationKeyEvent
*result
;
19109 char *kwnames
[] = {
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19128 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19156 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "forward", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 arg2
= (bool)SWIG_As_bool(obj1
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->SetDirection(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19213 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "ischange", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 arg2
= (bool)SWIG_As_bool(obj1
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 (arg1
)->SetWindowChange(arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self",(char *) "flags", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 arg2
= (long)SWIG_As_long(obj1
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->SetFlags(arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19275 PyObject
* obj0
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= wxPyMake_wxObject(result
, 0);
19299 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19302 wxWindow
*arg2
= (wxWindow
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self",(char *) "win", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 (arg1
)->SetCurrentFocus(arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 Py_INCREF(Py_None
); resultobj
= Py_None
;
19328 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19331 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19333 return Py_BuildValue((char *)"");
19335 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxWindow
*arg1
= (wxWindow
*) NULL
;
19338 wxWindowCreateEvent
*result
;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "win", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19363 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= wxPyMake_wxObject(result
, 0);
19391 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19394 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19396 return Py_BuildValue((char *)"");
19398 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxWindow
*arg1
= (wxWindow
*) NULL
;
19401 wxWindowDestroyEvent
*result
;
19402 PyObject
* obj0
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "win", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19426 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= wxPyMake_wxObject(result
, 0);
19454 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19457 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19459 return Py_BuildValue((char *)"");
19461 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19464 int arg2
= (int) 0 ;
19465 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19466 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19467 wxContextMenuEvent
*result
;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 PyObject
* obj2
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "type",(char *) "winid",(char *) "pt", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19478 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 arg2
= (int)SWIG_As_int(obj1
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19505 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19521 result
= (wxPoint
*) &_result_ref
;
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19534 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19537 wxPoint
*arg2
= 0 ;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self",(char *) "pos", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19569 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19571 return Py_BuildValue((char *)"");
19573 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxIdleEvent
*result
;
19576 char *kwnames
[] = {
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (wxIdleEvent
*)new wxIdleEvent();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19595 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19598 bool arg2
= (bool) true ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "needMore", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 arg2
= (bool)SWIG_As_bool(obj1
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->RequestMore(arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 Py_INCREF(Py_None
); resultobj
= Py_None
;
19626 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19654 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "mode", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19663 arg1
= (int)SWIG_As_int(obj0
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 Py_INCREF(Py_None
); resultobj
= Py_None
;
19679 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19682 char *kwnames
[] = {
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (int)wxIdleEvent::GetMode();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_From_int((int)result
);
19701 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxWindow
*arg1
= (wxWindow
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "win", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (bool)wxIdleEvent::CanSend(arg1
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19729 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19732 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19734 return Py_BuildValue((char *)"");
19736 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 int arg1
= (int) 0 ;
19739 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "winid",(char *) "commandType", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19749 arg1
= (int)SWIG_As_int(obj0
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19770 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 Py_INCREF(Py_None
); resultobj
= Py_None
;
19795 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19798 PyObject
*arg2
= (PyObject
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->SetSelf(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (PyObject
*)(arg1
)->GetSelf();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
;
19849 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19854 return Py_BuildValue((char *)"");
19856 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19859 int arg2
= (int) 0 ;
19860 wxPyCommandEvent
*result
;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "commandType",(char *) "id", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19869 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19873 arg2
= (int)SWIG_As_int(obj1
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19890 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
;
19892 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 Py_INCREF(Py_None
); resultobj
= Py_None
;
19915 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19918 PyObject
*arg2
= (PyObject
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 (arg1
)->SetSelf(arg2
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 Py_INCREF(Py_None
); resultobj
= Py_None
;
19943 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (PyObject
*)(arg1
)->GetSelf();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= result
;
19969 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19972 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19974 return Py_BuildValue((char *)"");
19976 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19979 char *kwnames
[] = {
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (wxPyApp
*)new_wxPyApp();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19998 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 Py_INCREF(Py_None
); resultobj
= Py_None
;
20023 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20026 PyObject
*arg2
= (PyObject
*) 0 ;
20027 PyObject
*arg3
= (PyObject
*) 0 ;
20028 PyObject
* obj0
= 0 ;
20029 PyObject
* obj1
= 0 ;
20030 PyObject
* obj2
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "self",(char *) "_class", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 Py_INCREF(Py_None
); resultobj
= Py_None
;
20054 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20086 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20089 wxString
*arg2
= 0 ;
20090 bool temp2
= false ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "name", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 arg2
= wxString_in_helper(obj1
);
20102 if (arg2
== NULL
) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 (arg1
)->SetAppName((wxString
const &)*arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 Py_INCREF(Py_None
); resultobj
= Py_None
;
20127 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20159 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20162 wxString
*arg2
= 0 ;
20163 bool temp2
= false ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self",(char *) "name", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= wxString_in_helper(obj1
);
20175 if (arg2
== NULL
) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 (arg1
)->SetClassName((wxString
const &)*arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 Py_INCREF(Py_None
); resultobj
= Py_None
;
20200 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20216 result
= (wxString
*) &_result_ref
;
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20235 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20238 wxString
*arg2
= 0 ;
20239 bool temp2
= false ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 char *kwnames
[] = {
20243 (char *) "self",(char *) "name", NULL
20246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 arg2
= wxString_in_helper(obj1
);
20251 if (arg2
== NULL
) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 Py_INCREF(Py_None
); resultobj
= Py_None
;
20276 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20279 wxAppTraits
*result
;
20280 PyObject
* obj0
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20302 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 char *kwnames
[] = {
20307 (char *) "self", NULL
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 (arg1
)->ProcessPendingEvents();
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 Py_INCREF(Py_None
); resultobj
= Py_None
;
20327 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20330 bool arg2
= (bool) false ;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "onlyIfNeeded", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20342 arg2
= (bool)SWIG_As_bool(obj1
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)(arg1
)->Yield(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20361 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20364 PyObject
* obj0
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 (arg1
)->WakeUpIdle();
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 Py_INCREF(Py_None
); resultobj
= Py_None
;
20386 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20389 char *kwnames
[] = {
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (bool)wxPyApp::IsMainLoopRunning();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20410 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (int)(arg1
)->MainLoop();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 resultobj
= SWIG_From_int((int)result
);
20436 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20454 Py_INCREF(Py_None
); resultobj
= Py_None
;
20461 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 (arg1
)->ExitMainLoop();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 Py_INCREF(Py_None
); resultobj
= Py_None
;
20486 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (bool)(arg1
)->Pending();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20514 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (bool)(arg1
)->Dispatch();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20542 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (bool)(arg1
)->ProcessIdle();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20570 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20573 wxWindow
*arg2
= (wxWindow
*) 0 ;
20574 wxIdleEvent
*arg3
= 0 ;
20576 PyObject
* obj0
= 0 ;
20577 PyObject
* obj1
= 0 ;
20578 PyObject
* obj2
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self",(char *) "win",(char *) "event", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20591 if (arg3
== NULL
) {
20592 PyErr_SetString(PyExc_TypeError
,"null reference");
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20611 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20639 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20642 wxWindow
*arg2
= (wxWindow
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self",(char *) "win", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 (arg1
)->SetTopWindow(arg2
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 Py_INCREF(Py_None
); resultobj
= Py_None
;
20668 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= wxPyMake_wxObject(result
, 0);
20696 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "flag", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 arg2
= (bool)SWIG_As_bool(obj1
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 (arg1
)->SetExitOnFrameDelete(arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 Py_INCREF(Py_None
); resultobj
= Py_None
;
20725 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "flag", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 arg2
= (bool)SWIG_As_bool(obj1
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 (arg1
)->SetUseBestVisual(arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20810 static PyObject
*_wrap_PyApp_SetPrintMode(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_SetPrintMode",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
)->SetPrintMode(arg2
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 Py_INCREF(Py_None
); resultobj
= Py_None
;
20839 static PyObject
*_wrap_PyApp_GetPrintMode(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_GetPrintMode",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)((wxPyApp
const *)arg1
)->GetPrintMode();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_From_int((int)result
);
20865 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self",(char *) "mode", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20878 arg2
= (int)SWIG_As_int(obj1
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->SetAssertMode(arg2
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)(arg1
)->GetAssertMode();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_From_int((int)result
);
20920 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20923 char *kwnames
[] = {
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20944 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20947 char *kwnames
[] = {
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_From_long((long)result
);
20966 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20969 char *kwnames
[] = {
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_From_long((long)result
);
20988 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20991 char *kwnames
[] = {
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (long)wxPyApp::GetMacExitMenuItemId();
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_From_long((long)result
);
21010 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21013 char *kwnames
[] = {
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= wxPyApp::GetMacHelpMenuTitleName();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21038 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "val", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
21047 arg1
= (bool)SWIG_As_bool(obj0
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 Py_INCREF(Py_None
); resultobj
= Py_None
;
21063 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21066 PyObject
* obj0
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "val", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21072 arg1
= (long)SWIG_As_long(obj0
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 wxPyApp::SetMacAboutMenuItemId(arg1
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 Py_INCREF(Py_None
); resultobj
= Py_None
;
21088 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "val", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21097 arg1
= (long)SWIG_As_long(obj0
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 Py_INCREF(Py_None
); resultobj
= Py_None
;
21113 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "val", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21122 arg1
= (long)SWIG_As_long(obj0
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 wxPyApp::SetMacExitMenuItemId(arg1
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 Py_INCREF(Py_None
); resultobj
= Py_None
;
21138 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxString
*arg1
= 0 ;
21141 bool temp1
= false ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "val", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21149 arg1
= wxString_in_helper(obj0
);
21150 if (arg1
== NULL
) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 Py_INCREF(Py_None
); resultobj
= Py_None
;
21175 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 (arg1
)->_BootstrapApp();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 Py_INCREF(Py_None
); resultobj
= Py_None
;
21200 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21203 char *kwnames
[] = {
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (int)PyApp_GetComCtl32Version();
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_From_int((int)result
);
21222 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21225 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21227 return Py_BuildValue((char *)"");
21229 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 char *kwnames
[] = {
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 Py_INCREF(Py_None
); resultobj
= Py_None
;
21250 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21253 char *kwnames
[] = {
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (bool)wxYield();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21274 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21277 char *kwnames
[] = {
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (bool)wxYieldIfNeeded();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21298 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxWindow
*arg1
= (wxWindow
*) NULL
;
21301 bool arg2
= (bool) false ;
21303 PyObject
* obj0
= 0 ;
21304 PyObject
* obj1
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "win",(char *) "onlyIfNeeded", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21315 arg2
= (bool)SWIG_As_bool(obj1
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)wxSafeYield(arg1
,arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21334 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 char *kwnames
[] = {
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",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_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21358 wxEvent
*arg2
= 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "dest",(char *) "event", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21371 if (arg2
== NULL
) {
21372 PyErr_SetString(PyExc_TypeError
,"null reference");
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 wxPostEvent(arg1
,*arg2
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 Py_INCREF(Py_None
); resultobj
= Py_None
;
21389 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 char *kwnames
[] = {
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21413 char *kwnames
[] = {
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (wxPyApp
*)wxPyGetApp();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= wxPyMake_wxObject(result
, 0);
21434 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxEventLoop
*result
;
21437 char *kwnames
[] = {
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (wxEventLoop
*)new wxEventLoop();
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21456 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21459 PyObject
* obj0
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 Py_INCREF(Py_None
); resultobj
= Py_None
;
21481 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (int)(arg1
)->Run();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_From_int((int)result
);
21507 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21510 int arg2
= (int) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self",(char *) "rc", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21521 arg2
= (int)SWIG_As_int(obj1
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->Exit(arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21566 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (bool)(arg1
)->Dispatch();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21594 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21622 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxEventLoop
*result
;
21625 char *kwnames
[] = {
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21644 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "loop", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 wxEventLoop::SetActive(arg1
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21672 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21674 return Py_BuildValue((char *)"");
21676 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 int arg1
= (int) 0 ;
21679 int arg2
= (int) 0 ;
21680 int arg3
= (int) 0 ;
21681 wxAcceleratorEntry
*result
;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21691 arg1
= (int)SWIG_As_int(obj0
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 arg2
= (int)SWIG_As_int(obj1
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 arg3
= (int)SWIG_As_int(obj2
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21716 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 PyObject
* obj2
= 0 ;
21750 PyObject
* obj3
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21758 arg2
= (int)SWIG_As_int(obj1
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21760 arg3
= (int)SWIG_As_int(obj2
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21762 arg4
= (int)SWIG_As_int(obj3
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 (arg1
)->Set(arg2
,arg3
,arg4
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 Py_INCREF(Py_None
); resultobj
= Py_None
;
21778 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (int)(arg1
)->GetFlags();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_From_int((int)result
);
21804 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (int)(arg1
)->GetKeyCode();
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= SWIG_From_int((int)result
);
21830 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (int)(arg1
)->GetCommand();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_From_int((int)result
);
21856 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21859 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21861 return Py_BuildValue((char *)"");
21863 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21866 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21867 wxAcceleratorTable
*result
;
21868 PyObject
* obj0
= 0 ;
21869 char *kwnames
[] = {
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21875 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21876 if (arg2
) arg1
= PyList_Size(obj0
);
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21899 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 Py_INCREF(Py_None
); resultobj
= Py_None
;
21924 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21928 PyObject
* obj0
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21952 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21955 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21957 return Py_BuildValue((char *)"");
21959 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21960 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21965 static PyObject
*_wrap_NullAcceleratorTable_get() {
21968 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21973 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxString
*arg1
= 0 ;
21976 wxAcceleratorEntry
*result
;
21977 bool temp1
= false ;
21978 PyObject
* obj0
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "label", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21985 arg1
= wxString_in_helper(obj0
);
21986 if (arg1
== NULL
) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
22011 static int _wrap_PanelNameStr_set(PyObject
*) {
22012 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
22017 static PyObject
*_wrap_PanelNameStr_get() {
22022 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22024 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22031 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxVisualAttributes
*result
;
22034 char *kwnames
[] = {
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
22053 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 delete_wxVisualAttributes(arg1
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22078 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22081 wxFont
*arg2
= (wxFont
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "font", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22093 if (arg1
) (arg1
)->font
= *arg2
;
22095 Py_INCREF(Py_None
); resultobj
= Py_None
;
22102 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22114 result
= (wxFont
*)& ((arg1
)->font
);
22116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22123 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22126 wxColour
*arg2
= (wxColour
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "colFg", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22138 if (arg1
) (arg1
)->colFg
= *arg2
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 result
= (wxColour
*)& ((arg1
)->colFg
);
22161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22168 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22171 wxColour
*arg2
= (wxColour
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "colBg", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 if (arg1
) (arg1
)->colBg
= *arg2
;
22185 Py_INCREF(Py_None
); resultobj
= Py_None
;
22192 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 result
= (wxColour
*)& ((arg1
)->colBg
);
22206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22213 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22216 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22218 return Py_BuildValue((char *)"");
22220 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxWindow
*arg1
= (wxWindow
*) 0 ;
22223 int arg2
= (int) (int)-1 ;
22224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22228 long arg5
= (long) 0 ;
22229 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22234 bool temp6
= false ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 PyObject
* obj2
= 0 ;
22238 PyObject
* obj3
= 0 ;
22239 PyObject
* obj4
= 0 ;
22240 PyObject
* obj5
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22249 arg2
= (int)SWIG_As_int(obj1
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22261 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22265 arg5
= (long)SWIG_As_long(obj4
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22270 arg6
= wxString_in_helper(obj5
);
22271 if (arg6
== NULL
) SWIG_fail
;
22276 if (!wxPyCheckForApp()) SWIG_fail
;
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22298 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22301 char *kwnames
[] = {
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22307 if (!wxPyCheckForApp()) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxWindow
*)new wxWindow();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22321 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxWindow
*arg1
= (wxWindow
*) 0 ;
22324 wxWindow
*arg2
= (wxWindow
*) 0 ;
22325 int arg3
= (int) (int)-1 ;
22326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22330 long arg6
= (long) 0 ;
22331 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22336 bool temp7
= false ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 PyObject
* obj2
= 0 ;
22340 PyObject
* obj3
= 0 ;
22341 PyObject
* obj4
= 0 ;
22342 PyObject
* obj5
= 0 ;
22343 PyObject
* obj6
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 arg3
= (int)SWIG_As_int(obj2
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22370 arg6
= (long)SWIG_As_long(obj5
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22375 arg7
= wxString_in_helper(obj6
);
22376 if (arg7
== NULL
) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22404 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxWindow
*arg1
= (wxWindow
*) 0 ;
22407 bool arg2
= (bool) false ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self",(char *) "force", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 arg2
= (bool)SWIG_As_bool(obj1
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= (bool)(arg1
)->Close(arg2
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22438 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxWindow
*arg1
= (wxWindow
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= (bool)(arg1
)->Destroy();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22466 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxWindow
*arg1
= (wxWindow
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (bool)(arg1
)->DestroyChildren();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22494 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxWindow
*arg1
= (wxWindow
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxWindow
*arg1
= (wxWindow
*) 0 ;
22525 wxString
*arg2
= 0 ;
22526 bool temp2
= false ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self",(char *) "title", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 arg2
= wxString_in_helper(obj1
);
22538 if (arg2
== NULL
) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 (arg1
)->SetTitle((wxString
const &)*arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 Py_INCREF(Py_None
); resultobj
= Py_None
;
22563 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxWindow
*arg1
= (wxWindow
*) 0 ;
22567 PyObject
* obj0
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "self", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= ((wxWindow
const *)arg1
)->GetTitle();
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22595 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxWindow
*arg1
= (wxWindow
*) 0 ;
22598 wxString
*arg2
= 0 ;
22599 bool temp2
= false ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "label", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 arg2
= wxString_in_helper(obj1
);
22611 if (arg2
== NULL
) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 (arg1
)->SetLabel((wxString
const &)*arg2
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxWindow
*arg1
= (wxWindow
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= ((wxWindow
const *)arg1
)->GetLabel();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22668 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxWindow
*arg1
= (wxWindow
*) 0 ;
22671 wxString
*arg2
= 0 ;
22672 bool temp2
= false ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "name", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22683 arg2
= wxString_in_helper(obj1
);
22684 if (arg2
== NULL
) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->SetName((wxString
const &)*arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22709 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxWindow
*arg1
= (wxWindow
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= ((wxWindow
const *)arg1
)->GetName();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22741 static PyObject
*_wrap_Window_SetWindowVariant(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 *) "variant", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",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
)->SetWindowVariant((wxWindowVariant
)arg2
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 static PyObject
*_wrap_Window_GetWindowVariant(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_GetWindowVariant",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
)->GetWindowVariant();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_From_int((int)result
);
22796 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxWindow
*arg1
= (wxWindow
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "winid", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 arg2
= (int)SWIG_As_int(obj1
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 (arg1
)->SetId(arg2
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 Py_INCREF(Py_None
); resultobj
= Py_None
;
22825 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxWindow
*arg1
= (wxWindow
*) 0 ;
22829 PyObject
* obj0
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (int)((wxWindow
const *)arg1
)->GetId();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_From_int((int)result
);
22851 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22854 char *kwnames
[] = {
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (int)wxWindow::NewControlId();
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= SWIG_From_int((int)result
);
22873 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "winid", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22883 arg1
= (int)SWIG_As_int(obj0
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (int)wxWindow::NextControlId(arg1
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_From_int((int)result
);
22899 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "winid", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22909 arg1
= (int)SWIG_As_int(obj0
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 result
= (int)wxWindow::PrevControlId(arg1
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_From_int((int)result
);
22925 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxWindow
*arg1
= (wxWindow
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "size", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22941 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22945 (arg1
)->SetSize((wxSize
const &)*arg2
);
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 Py_INCREF(Py_None
); resultobj
= Py_None
;
22957 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
;
22959 wxWindow
*arg1
= (wxWindow
*) 0 ;
22964 int arg6
= (int) wxSIZE_AUTO
;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 PyObject
* obj2
= 0 ;
22968 PyObject
* obj3
= 0 ;
22969 PyObject
* obj4
= 0 ;
22970 PyObject
* obj5
= 0 ;
22971 char *kwnames
[] = {
22972 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 arg2
= (int)SWIG_As_int(obj1
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22980 arg3
= (int)SWIG_As_int(obj2
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22982 arg4
= (int)SWIG_As_int(obj3
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22984 arg5
= (int)SWIG_As_int(obj4
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 arg6
= (int)SWIG_As_int(obj5
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxWindow
*arg1
= (wxWindow
*) 0 ;
23008 int arg3
= (int) wxSIZE_AUTO
;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 PyObject
* obj2
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23025 arg3
= (int)SWIG_As_int(obj2
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 Py_INCREF(Py_None
); resultobj
= Py_None
;
23042 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxWindow
*arg1
= (wxWindow
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 PyObject
* obj2
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self",(char *) "width",(char *) "height", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23057 arg2
= (int)SWIG_As_int(obj1
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23059 arg3
= (int)SWIG_As_int(obj2
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 (arg1
)->SetSize(arg2
,arg3
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 Py_INCREF(Py_None
); resultobj
= Py_None
;
23075 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxWindow
*arg1
= (wxWindow
*) 0 ;
23078 wxPoint
*arg2
= 0 ;
23079 int arg3
= (int) wxSIZE_USE_EXISTING
;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 PyObject
* obj2
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self",(char *) "pt",(char *) "flags", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23096 arg3
= (int)SWIG_As_int(obj2
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 Py_INCREF(Py_None
); resultobj
= Py_None
;
23113 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxWindow
*arg1
= (wxWindow
*) 0 ;
23118 int arg4
= (int) wxSIZE_USE_EXISTING
;
23119 PyObject
* obj0
= 0 ;
23120 PyObject
* obj1
= 0 ;
23121 PyObject
* obj2
= 0 ;
23122 PyObject
* obj3
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23130 arg2
= (int)SWIG_As_int(obj1
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23132 arg3
= (int)SWIG_As_int(obj2
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 arg4
= (int)SWIG_As_int(obj3
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->Move(arg2
,arg3
,arg4
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 Py_INCREF(Py_None
); resultobj
= Py_None
;
23152 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxWindow
*arg1
= (wxWindow
*) 0 ;
23155 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23156 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "size", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 Py_INCREF(Py_None
); resultobj
= Py_None
;
23187 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxWindow
*arg1
= (wxWindow
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxWindow
*arg1
= (wxWindow
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 Py_INCREF(Py_None
); resultobj
= Py_None
;
23237 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxWindow
*arg1
= (wxWindow
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self",(char *) "size", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 Py_INCREF(Py_None
); resultobj
= Py_None
;
23269 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxWindow
*arg1
= (wxWindow
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 PyObject
* obj2
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self",(char *) "width",(char *) "height", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 arg2
= (int)SWIG_As_int(obj1
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23286 arg3
= (int)SWIG_As_int(obj2
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 (arg1
)->SetClientSize(arg2
,arg3
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 Py_INCREF(Py_None
); resultobj
= Py_None
;
23302 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxWindow
*arg1
= (wxWindow
*) 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self",(char *) "rect", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 Py_INCREF(Py_None
); resultobj
= Py_None
;
23334 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxWindow
*arg1
= (wxWindow
*) 0 ;
23338 PyObject
* obj0
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "self", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (arg1
)->GetPosition();
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23354 wxPoint
* resultptr
;
23355 resultptr
= new wxPoint((wxPoint
&) result
);
23356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23364 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxWindow
*arg1
= (wxWindow
*) 0 ;
23367 int *arg2
= (int *) 0 ;
23368 int *arg3
= (int *) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self", NULL
23378 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23379 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 (arg1
)->GetPosition(arg2
,arg3
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 Py_INCREF(Py_None
); resultobj
= Py_None
;
23391 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23392 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23393 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23394 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23401 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxWindow
*arg1
= (wxWindow
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= ((wxWindow
const *)arg1
)->GetSize();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 wxSize
* resultptr
;
23422 resultptr
= new wxSize((wxSize
&) result
);
23423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23431 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23434 int *arg2
= (int *) 0 ;
23435 int *arg3
= (int *) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self", NULL
23445 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23446 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 Py_INCREF(Py_None
); resultobj
= Py_None
;
23458 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23459 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23460 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23461 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23468 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxWindow
*arg1
= (wxWindow
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= ((wxWindow
const *)arg1
)->GetRect();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 wxRect
* resultptr
;
23489 resultptr
= new wxRect((wxRect
&) result
);
23490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23498 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23518 wxSize
* resultptr
;
23519 resultptr
= new wxSize((wxSize
&) result
);
23520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23528 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxWindow
*arg1
= (wxWindow
*) 0 ;
23531 int *arg2
= (int *) 0 ;
23532 int *arg3
= (int *) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self", NULL
23542 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23543 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23556 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23557 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23558 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23565 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxWindow
*arg1
= (wxWindow
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23585 wxPoint
* resultptr
;
23586 resultptr
= new wxPoint((wxPoint
&) result
);
23587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23595 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxWindow
*arg1
= (wxWindow
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 wxRect
* resultptr
;
23616 resultptr
= new wxRect((wxRect
&) result
);
23617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23625 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxWindow
*arg1
= (wxWindow
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 wxSize
* resultptr
;
23646 resultptr
= new wxSize((wxSize
&) result
);
23647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23655 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxWindow
*arg1
= (wxWindow
*) 0 ;
23658 int *arg2
= (int *) 0 ;
23659 int *arg3
= (int *) 0 ;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",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 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23683 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23685 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23692 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxWindow
*arg1
= (wxWindow
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 (arg1
)->InvalidateBestSize();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 Py_INCREF(Py_None
); resultobj
= Py_None
;
23717 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxWindow
*arg1
= (wxWindow
*) 0 ;
23721 PyObject
* obj0
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23737 wxSize
* resultptr
;
23738 resultptr
= new wxSize((wxSize
&) result
);
23739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23747 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxWindow
*arg1
= (wxWindow
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23767 wxSize
* resultptr
;
23768 resultptr
= new wxSize((wxSize
&) result
);
23769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23777 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxWindow
*arg1
= (wxWindow
*) 0 ;
23780 int arg2
= (int) wxBOTH
;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "direction", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23791 arg2
= (int)SWIG_As_int(obj1
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 (arg1
)->Center(arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 int arg2
= (int) wxBOTH
;
23812 PyObject
* obj0
= 0 ;
23813 PyObject
* obj1
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "self",(char *) "dir", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 arg2
= (int)SWIG_As_int(obj1
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 (arg1
)->CenterOnScreen(arg2
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxWindow
*arg1
= (wxWindow
*) 0 ;
23842 int arg2
= (int) wxBOTH
;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self",(char *) "dir", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23853 arg2
= (int)SWIG_As_int(obj1
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 (arg1
)->CenterOnParent(arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 Py_INCREF(Py_None
); resultobj
= Py_None
;
23870 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxWindow
*arg1
= (wxWindow
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 Py_INCREF(Py_None
); resultobj
= Py_None
;
23895 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxWindow
*arg1
= (wxWindow
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->FitInside();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 Py_INCREF(Py_None
); resultobj
= Py_None
;
23920 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxWindow
*arg1
= (wxWindow
*) 0 ;
23925 int arg4
= (int) -1 ;
23926 int arg5
= (int) -1 ;
23927 int arg6
= (int) -1 ;
23928 int arg7
= (int) -1 ;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 PyObject
* obj2
= 0 ;
23932 PyObject
* obj3
= 0 ;
23933 PyObject
* obj4
= 0 ;
23934 PyObject
* obj5
= 0 ;
23935 PyObject
* obj6
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 arg2
= (int)SWIG_As_int(obj1
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23945 arg3
= (int)SWIG_As_int(obj2
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 arg4
= (int)SWIG_As_int(obj3
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 arg5
= (int)SWIG_As_int(obj4
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 arg6
= (int)SWIG_As_int(obj5
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 arg7
= (int)SWIG_As_int(obj6
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 Py_INCREF(Py_None
); resultobj
= Py_None
;
23977 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxWindow
*arg1
= (wxWindow
*) 0 ;
23981 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23982 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 PyObject
* obj2
= 0 ;
23991 PyObject
* obj3
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24006 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24012 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxWindow
*arg1
= (wxWindow
*) 0 ;
24034 int arg4
= (int) -1 ;
24035 int arg5
= (int) -1 ;
24036 PyObject
* obj0
= 0 ;
24037 PyObject
* obj1
= 0 ;
24038 PyObject
* obj2
= 0 ;
24039 PyObject
* obj3
= 0 ;
24040 PyObject
* obj4
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (int)SWIG_As_int(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24050 arg3
= (int)SWIG_As_int(obj2
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 arg4
= (int)SWIG_As_int(obj3
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24057 arg5
= (int)SWIG_As_int(obj4
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 Py_INCREF(Py_None
); resultobj
= Py_None
;
24074 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxWindow
*arg1
= (wxWindow
*) 0 ;
24078 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24079 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 PyObject
* obj2
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24099 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxWindow
*arg1
= (wxWindow
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 wxSize
* resultptr
;
24137 resultptr
= new wxSize((wxSize
&) result
);
24138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24146 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxWindow
*arg1
= (wxWindow
*) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 wxSize
* resultptr
;
24167 resultptr
= new wxSize((wxSize
&) result
);
24168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24176 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxWindow
*arg1
= (wxWindow
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "minSize", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxWindow
*arg1
= (wxWindow
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "maxSize", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 Py_INCREF(Py_None
); resultobj
= Py_None
;
24240 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxWindow
*arg1
= (wxWindow
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_From_int((int)result
);
24266 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxWindow
*arg1
= (wxWindow
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_From_int((int)result
);
24292 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxWindow
*arg1
= (wxWindow
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_From_int((int)result
);
24318 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxWindow
*arg1
= (wxWindow
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_From_int((int)result
);
24344 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxWindow
*arg1
= (wxWindow
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self",(char *) "size", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxWindow
*arg1
= (wxWindow
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 PyObject
* obj2
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self",(char *) "w",(char *) "h", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 arg2
= (int)SWIG_As_int(obj1
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24393 arg3
= (int)SWIG_As_int(obj2
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 (arg1
)->SetVirtualSize(arg2
,arg3
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24402 Py_INCREF(Py_None
); resultobj
= Py_None
;
24409 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
;
24411 wxWindow
*arg1
= (wxWindow
*) 0 ;
24413 PyObject
* obj0
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 wxSize
* resultptr
;
24430 resultptr
= new wxSize((wxSize
&) result
);
24431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24439 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxWindow
*arg1
= (wxWindow
*) 0 ;
24442 int *arg2
= (int *) 0 ;
24443 int *arg3
= (int *) 0 ;
24448 PyObject
* obj0
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self", NULL
24453 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24454 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 Py_INCREF(Py_None
); resultobj
= Py_None
;
24466 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24467 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24468 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24469 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24476 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxWindow
*arg1
= (wxWindow
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 wxSize
* resultptr
;
24497 resultptr
= new wxSize((wxSize
&) result
);
24498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24506 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxWindow
*arg1
= (wxWindow
*) 0 ;
24509 bool arg2
= (bool) true ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "show", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 arg2
= (bool)SWIG_As_bool(obj1
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (bool)(arg1
)->Show(arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24540 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxWindow
*arg1
= (wxWindow
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (bool)(arg1
)->Hide();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxWindow
*arg1
= (wxWindow
*) 0 ;
24571 bool arg2
= (bool) true ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "enable", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24583 arg2
= (bool)SWIG_As_bool(obj1
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= (bool)(arg1
)->Enable(arg2
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24602 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxWindow
*arg1
= (wxWindow
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (bool)(arg1
)->Disable();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24630 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24658 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxWindow
*arg1
= (wxWindow
*) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxWindow
*arg1
= (wxWindow
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "style", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 arg2
= (long)SWIG_As_long(obj1
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->SetWindowStyleFlag(arg2
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 Py_INCREF(Py_None
); resultobj
= Py_None
;
24715 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_From_long((long)result
);
24741 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxWindow
*arg1
= (wxWindow
*) 0 ;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self",(char *) "flag", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 arg2
= (int)SWIG_As_int(obj1
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24773 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxWindow
*arg1
= (wxWindow
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24801 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxWindow
*arg1
= (wxWindow
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "exStyle", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 arg2
= (long)SWIG_As_long(obj1
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->SetExtraStyle(arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_From_long((long)result
);
24856 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxWindow
*arg1
= (wxWindow
*) 0 ;
24859 bool arg2
= (bool) true ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self",(char *) "modal", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 arg2
= (bool)SWIG_As_bool(obj1
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->MakeModal(arg2
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxWindow
*arg1
= (wxWindow
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self",(char *) "enableTheme", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24900 arg2
= (bool)SWIG_As_bool(obj1
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 (arg1
)->SetThemeEnabled(arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 Py_INCREF(Py_None
); resultobj
= Py_None
;
24916 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxWindow
*arg1
= (wxWindow
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24944 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxWindow
*arg1
= (wxWindow
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 (arg1
)->SetFocus();
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 Py_INCREF(Py_None
); resultobj
= Py_None
;
24969 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxWindow
*arg1
= (wxWindow
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 char *kwnames
[] = {
24974 (char *) "self", NULL
24977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetFocusFromKbd();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 Py_INCREF(Py_None
); resultobj
= Py_None
;
24994 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24997 char *kwnames
[] = {
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
25003 if (!wxPyCheckForApp()) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (wxWindow
*)wxWindow::FindFocus();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= wxPyMake_wxObject(result
, 0);
25019 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxWindow
*arg1
= (wxWindow
*) 0 ;
25023 PyObject
* obj0
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25047 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
;
25049 wxWindow
*arg1
= (wxWindow
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25075 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxWindow
*arg1
= (wxWindow
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= wxPyMake_wxObject(result
, 0);
25103 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxWindow
*arg1
= (wxWindow
*) 0 ;
25106 wxWindow
*arg2
= (wxWindow
*) 0 ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "child", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= wxPyMake_wxObject(result
, 0);
25135 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxWindow
*arg1
= (wxWindow
*) 0 ;
25138 wxWindow
*arg2
= (wxWindow
*) 0 ;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self",(char *) "win", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 (arg1
)->SetTmpDefaultItem(arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 Py_INCREF(Py_None
); resultobj
= Py_None
;
25164 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxWindow
*arg1
= (wxWindow
*) 0 ;
25167 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "flags", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 arg2
= (int)SWIG_As_int(obj1
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (bool)(arg1
)->Navigate(arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25198 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxWindow
*arg1
= (wxWindow
*) 0 ;
25201 wxWindow
*arg2
= (wxWindow
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "win", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->MoveAfterInTabOrder(arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxWindow
*arg1
= (wxWindow
*) 0 ;
25230 wxWindow
*arg2
= (wxWindow
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "win", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->MoveBeforeInTabOrder(arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 Py_INCREF(Py_None
); resultobj
= Py_None
;
25256 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxWindow
*arg1
= (wxWindow
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= result
;
25282 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxWindow
*arg1
= (wxWindow
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= wxPyMake_wxObject(result
, 0);
25310 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxWindow
*arg1
= (wxWindow
*) 0 ;
25314 PyObject
* obj0
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= wxPyMake_wxObject(result
, 0);
25338 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxWindow
*arg1
= (wxWindow
*) 0 ;
25342 PyObject
* obj0
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25366 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxWindow
*arg1
= (wxWindow
*) 0 ;
25369 wxWindow
*arg2
= (wxWindow
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "newParent", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (bool)(arg1
)->Reparent(arg2
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25398 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25401 wxWindow
*arg2
= (wxWindow
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "self",(char *) "child", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 (arg1
)->AddChild(arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 Py_INCREF(Py_None
); resultobj
= Py_None
;
25427 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxWindow
*arg1
= (wxWindow
*) 0 ;
25430 wxWindow
*arg2
= (wxWindow
*) 0 ;
25431 PyObject
* obj0
= 0 ;
25432 PyObject
* obj1
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self",(char *) "child", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 (arg1
)->RemoveChild(arg2
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self",(char *) "winid", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25470 arg2
= (long)SWIG_As_long(obj1
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= wxPyMake_wxObject(result
, 0);
25488 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxWindow
*arg1
= (wxWindow
*) 0 ;
25491 wxString
*arg2
= 0 ;
25493 bool temp2
= false ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "name", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 arg2
= wxString_in_helper(obj1
);
25505 if (arg2
== NULL
) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= wxPyMake_wxObject(result
, 0);
25532 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxWindow
*arg1
= (wxWindow
*) 0 ;
25535 wxEvtHandler
*result
;
25536 PyObject
* obj0
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= wxPyMake_wxObject(result
, 0);
25560 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxWindow
*arg1
= (wxWindow
*) 0 ;
25563 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 PyObject
* obj1
= 0 ;
25566 char *kwnames
[] = {
25567 (char *) "self",(char *) "handler", NULL
25570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->SetEventHandler(arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25589 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25593 PyObject
* obj0
= 0 ;
25594 PyObject
* obj1
= 0 ;
25595 char *kwnames
[] = {
25596 (char *) "self",(char *) "handler", NULL
25599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 (arg1
)->PushEventHandler(arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxWindow
*arg1
= (wxWindow
*) 0 ;
25621 bool arg2
= (bool) false ;
25622 wxEvtHandler
*result
;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self",(char *) "deleteHandler", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25633 arg2
= (bool)SWIG_As_bool(obj1
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= wxPyMake_wxObject(result
, 0);
25652 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxWindow
*arg1
= (wxWindow
*) 0 ;
25655 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "handler", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25684 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25686 wxWindow
*arg1
= (wxWindow
*) 0 ;
25687 wxValidator
*arg2
= 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self",(char *) "validator", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25700 if (arg2
== NULL
) {
25701 PyErr_SetString(PyExc_TypeError
,"null reference");
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 Py_INCREF(Py_None
); resultobj
= Py_None
;
25718 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxWindow
*arg1
= (wxWindow
*) 0 ;
25721 wxValidator
*result
;
25722 PyObject
* obj0
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (wxValidator
*)(arg1
)->GetValidator();
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= wxPyMake_wxObject(result
, 0);
25746 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxWindow
*arg1
= (wxWindow
*) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (bool)(arg1
)->Validate();
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25774 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",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 result
= (bool)(arg1
)->TransferDataToWindow();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25802 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxWindow
*arg1
= (wxWindow
*) 0 ;
25806 PyObject
* obj0
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (bool)(arg1
)->TransferDataFromWindow();
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25830 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxWindow
*arg1
= (wxWindow
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 (arg1
)->InitDialog();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 Py_INCREF(Py_None
); resultobj
= Py_None
;
25855 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxWindow
*arg1
= (wxWindow
*) 0 ;
25858 wxAcceleratorTable
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "accel", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25871 if (arg2
== NULL
) {
25872 PyErr_SetString(PyExc_TypeError
,"null reference");
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 Py_INCREF(Py_None
); resultobj
= Py_None
;
25889 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25890 PyObject
*resultobj
;
25891 wxWindow
*arg1
= (wxWindow
*) 0 ;
25892 wxAcceleratorTable
*result
;
25893 PyObject
* obj0
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25915 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxWindow
*arg1
= (wxWindow
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 PyObject
* obj3
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25933 arg2
= (int)SWIG_As_int(obj1
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25935 arg3
= (int)SWIG_As_int(obj2
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25937 arg4
= (int)SWIG_As_int(obj3
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25955 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxWindow
*arg1
= (wxWindow
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "hotkeyId", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25969 arg2
= (int)SWIG_As_int(obj1
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25987 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxWindow
*arg1
= (wxWindow
*) 0 ;
25990 wxPoint
*arg2
= 0 ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self",(char *) "pt", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 wxPoint
* resultptr
;
26015 resultptr
= new wxPoint((wxPoint
&) result
);
26016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26024 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxWindow
*arg1
= (wxWindow
*) 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "sz", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26051 wxSize
* resultptr
;
26052 resultptr
= new wxSize((wxSize
&) result
);
26053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26061 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
;
26063 wxWindow
*arg1
= (wxWindow
*) 0 ;
26064 wxPoint
*arg2
= 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "pt", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26088 wxPoint
* resultptr
;
26089 resultptr
= new wxPoint((wxPoint
&) result
);
26090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26098 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxWindow
*arg1
= (wxWindow
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char *kwnames
[] = {
26107 (char *) "self",(char *) "sz", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26125 wxSize
* resultptr
;
26126 resultptr
= new wxSize((wxSize
&) result
);
26127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26135 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxWindow
*arg1
= (wxWindow
*) 0 ;
26138 wxPoint
*arg2
= 0 ;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self",(char *) "pt", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26162 wxPoint
* resultptr
;
26163 resultptr
= new wxPoint((wxPoint
&) result
);
26164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26172 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxWindow
*arg1
= (wxWindow
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "sz", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 wxSize
* resultptr
;
26200 resultptr
= new wxSize((wxSize
&) result
);
26201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26209 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxWindow
*arg1
= (wxWindow
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 PyObject
* obj1
= 0 ;
26216 PyObject
* obj2
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self",(char *) "x",(char *) "y", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 arg2
= (int)SWIG_As_int(obj1
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26226 arg3
= (int)SWIG_As_int(obj2
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->WarpPointer(arg2
,arg3
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 Py_INCREF(Py_None
); resultobj
= Py_None
;
26242 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxWindow
*arg1
= (wxWindow
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->CaptureMouse();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxWindow
*arg1
= (wxWindow
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->ReleaseMouse();
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26295 char *kwnames
[] = {
26299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26301 if (!wxPyCheckForApp()) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (wxWindow
*)wxWindow::GetCapture();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= wxPyMake_wxObject(result
, 0);
26317 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxWindow
*arg1
= (wxWindow
*) 0 ;
26321 PyObject
* obj0
= 0 ;
26322 char *kwnames
[] = {
26323 (char *) "self", NULL
26326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26345 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxWindow
*arg1
= (wxWindow
*) 0 ;
26348 bool arg2
= (bool) true ;
26349 wxRect
*arg3
= (wxRect
*) NULL
;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26361 arg2
= (bool)SWIG_As_bool(obj1
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 Py_INCREF(Py_None
); resultobj
= Py_None
;
26382 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self",(char *) "rect", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 Py_INCREF(Py_None
); resultobj
= Py_None
;
26414 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxWindow
*arg1
= (wxWindow
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "self", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26439 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 (arg1
)->ClearBackground();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxWindow
*arg1
= (wxWindow
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26489 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxWindow
*arg1
= (wxWindow
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "self", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 Py_INCREF(Py_None
); resultobj
= Py_None
;
26514 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxWindow
*arg1
= (wxWindow
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self",(char *) "dc", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26530 if (arg2
== NULL
) {
26531 PyErr_SetString(PyExc_TypeError
,"null reference");
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 (arg1
)->PrepareDC(*arg2
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 Py_INCREF(Py_None
); resultobj
= Py_None
;
26548 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxWindow
*arg1
= (wxWindow
*) 0 ;
26552 PyObject
* obj0
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26564 result
= (wxRegion
*) &_result_ref
;
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26577 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxWindow
*arg1
= (wxWindow
*) 0 ;
26581 PyObject
* obj0
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 wxRect
* resultptr
;
26598 resultptr
= new wxRect((wxRect
&) result
);
26599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26607 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26612 int arg4
= (int) 1 ;
26613 int arg5
= (int) 1 ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 PyObject
* obj2
= 0 ;
26618 PyObject
* obj3
= 0 ;
26619 PyObject
* obj4
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26627 arg2
= (int)SWIG_As_int(obj1
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26629 arg3
= (int)SWIG_As_int(obj2
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 arg4
= (int)SWIG_As_int(obj3
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26636 arg5
= (int)SWIG_As_int(obj4
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26655 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxWindow
*arg1
= (wxWindow
*) 0 ;
26658 wxPoint
*arg2
= 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "pt", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26690 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxWindow
*arg1
= (wxWindow
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self",(char *) "rect", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26725 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxWindow
*arg1
= (wxWindow
*) 0 ;
26728 wxVisualAttributes result
;
26729 PyObject
* obj0
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26745 wxVisualAttributes
* resultptr
;
26746 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26755 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26758 wxVisualAttributes result
;
26759 PyObject
* obj0
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "variant", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26766 arg1
= (int)SWIG_As_int(obj0
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26770 if (!wxPyCheckForApp()) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 wxVisualAttributes
* resultptr
;
26779 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26788 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxWindow
*arg1
= (wxWindow
*) 0 ;
26791 wxColour
*arg2
= 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "colour", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26823 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxWindow
*arg1
= (wxWindow
*) 0 ;
26826 wxColour
*arg2
= 0 ;
26828 PyObject
* obj0
= 0 ;
26829 PyObject
* obj1
= 0 ;
26830 char *kwnames
[] = {
26831 (char *) "self",(char *) "colour", NULL
26834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 Py_INCREF(Py_None
); resultobj
= Py_None
;
26855 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxWindow
*arg1
= (wxWindow
*) 0 ;
26858 wxColour
*arg2
= 0 ;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self",(char *) "colour", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26872 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26890 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxWindow
*arg1
= (wxWindow
*) 0 ;
26893 wxColour
*arg2
= 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self",(char *) "colour", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26906 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 Py_INCREF(Py_None
); resultobj
= Py_None
;
26922 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxWindow
*arg1
= (wxWindow
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 wxColour
* resultptr
;
26943 resultptr
= new wxColour((wxColour
&) result
);
26944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26952 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxWindow
*arg1
= (wxWindow
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26972 wxColour
* resultptr
;
26973 resultptr
= new wxColour((wxColour
&) result
);
26974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26982 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxWindow
*arg1
= (wxWindow
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self",(char *) "style", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26996 arg2
= (int)SWIG_As_int(obj1
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27014 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxWindow
*arg1
= (wxWindow
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 char *kwnames
[] = {
27020 (char *) "self", NULL
27023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
27024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_From_int((int)result
);
27040 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27043 wxCursor
*arg2
= 0 ;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "cursor", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27057 if (arg2
== NULL
) {
27058 PyErr_SetString(PyExc_TypeError
,"null reference");
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27077 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
;
27079 wxWindow
*arg1
= (wxWindow
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (arg1
)->GetCursor();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 wxCursor
* resultptr
;
27098 resultptr
= new wxCursor((wxCursor
&) result
);
27099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27107 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
;
27109 wxWindow
*arg1
= (wxWindow
*) 0 ;
27112 PyObject
* obj0
= 0 ;
27113 PyObject
* obj1
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self",(char *) "font", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27124 if (arg2
== NULL
) {
27125 PyErr_SetString(PyExc_TypeError
,"null reference");
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27144 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxWindow
*arg1
= (wxWindow
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "font", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27160 if (arg2
== NULL
) {
27161 PyErr_SetString(PyExc_TypeError
,"null reference");
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 Py_INCREF(Py_None
); resultobj
= Py_None
;
27178 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxWindow
*arg1
= (wxWindow
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (arg1
)->GetFont();
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 wxFont
* resultptr
;
27199 resultptr
= new wxFont((wxFont
&) result
);
27200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27208 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxWindow
*arg1
= (wxWindow
*) 0 ;
27211 wxCaret
*arg2
= (wxCaret
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self",(char *) "caret", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 (arg1
)->SetCaret(arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27237 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27263 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxWindow
*arg1
= (wxWindow
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 char *kwnames
[] = {
27269 (char *) "self", NULL
27272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= SWIG_From_int((int)result
);
27289 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxWindow
*arg1
= (wxWindow
*) 0 ;
27293 PyObject
* obj0
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_From_int((int)result
);
27315 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 wxString
*arg2
= 0 ;
27319 int *arg3
= (int *) 0 ;
27320 int *arg4
= (int *) 0 ;
27321 bool temp2
= false ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "string", NULL
27332 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27333 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27338 arg2
= wxString_in_helper(obj1
);
27339 if (arg2
== NULL
) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27350 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27351 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27352 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27353 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27368 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxWindow
*arg1
= (wxWindow
*) 0 ;
27371 wxString
*arg2
= 0 ;
27372 int *arg3
= (int *) 0 ;
27373 int *arg4
= (int *) 0 ;
27374 int *arg5
= (int *) 0 ;
27375 int *arg6
= (int *) 0 ;
27376 wxFont
*arg7
= (wxFont
*) NULL
;
27377 bool temp2
= false ;
27386 PyObject
* obj0
= 0 ;
27387 PyObject
* obj1
= 0 ;
27388 PyObject
* obj2
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "string",(char *) "font", NULL
27393 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27394 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27395 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27396 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27401 arg2
= wxString_in_helper(obj1
);
27402 if (arg2
== NULL
) SWIG_fail
;
27406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 Py_INCREF(Py_None
); resultobj
= Py_None
;
27417 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27418 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27419 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27420 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27421 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27422 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27423 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27424 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27439 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxWindow
*arg1
= (wxWindow
*) 0 ;
27442 int *arg2
= (int *) 0 ;
27443 int *arg3
= (int *) 0 ;
27448 PyObject
* obj0
= 0 ;
27449 PyObject
* obj1
= 0 ;
27450 PyObject
* obj2
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self",(char *) "x",(char *) "y", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27460 temp2
= SWIG_As_int(obj1
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 res2
= SWIG_NEWOBJ
;
27467 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27468 temp3
= SWIG_As_int(obj2
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 res3
= SWIG_NEWOBJ
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 Py_INCREF(Py_None
); resultobj
= Py_None
;
27482 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27483 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27484 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27485 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27492 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxWindow
*arg1
= (wxWindow
*) 0 ;
27495 int *arg2
= (int *) 0 ;
27496 int *arg3
= (int *) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 PyObject
* obj2
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self",(char *) "x",(char *) "y", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27512 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27513 temp2
= SWIG_As_int(obj1
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 res2
= SWIG_NEWOBJ
;
27520 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27521 temp3
= SWIG_As_int(obj2
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 res3
= SWIG_NEWOBJ
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 Py_INCREF(Py_None
); resultobj
= Py_None
;
27535 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27536 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27537 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27538 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27545 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxWindow
*arg1
= (wxWindow
*) 0 ;
27548 wxPoint
*arg2
= 0 ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 char *kwnames
[] = {
27554 (char *) "self",(char *) "pt", NULL
27557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27572 wxPoint
* resultptr
;
27573 resultptr
= new wxPoint((wxPoint
&) result
);
27574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27582 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27583 PyObject
*resultobj
;
27584 wxWindow
*arg1
= (wxWindow
*) 0 ;
27585 wxPoint
*arg2
= 0 ;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "pt", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 wxPoint
* resultptr
;
27610 resultptr
= new wxPoint((wxPoint
&) result
);
27611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27619 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxWindow
*arg1
= (wxWindow
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 PyObject
* obj1
= 0 ;
27627 PyObject
* obj2
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "x",(char *) "y", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 arg2
= (int)SWIG_As_int(obj1
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27637 arg3
= (int)SWIG_As_int(obj2
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27641 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= SWIG_From_int((int)result
);
27653 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxWindow
*arg1
= (wxWindow
*) 0 ;
27656 wxPoint
*arg2
= 0 ;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self",(char *) "pt", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= SWIG_From_int((int)result
);
27686 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27687 PyObject
*resultobj
;
27688 wxWindow
*arg1
= (wxWindow
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27694 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27697 arg2
= (long)SWIG_As_long(obj1
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_From_int((int)result
);
27713 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27714 PyObject
*resultobj
;
27715 wxWindow
*arg1
= (wxWindow
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27719 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= SWIG_From_int((int)result
);
27736 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27741 argc
= PyObject_Length(args
);
27742 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27743 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27749 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27757 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27764 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27772 _v
= SWIG_Check_long(argv
[1]);
27774 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27779 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27784 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 long arg2
= (long) wxUPDATE_UI_NONE
;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self",(char *) "flags", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27798 arg2
= (long)SWIG_As_long(obj1
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 (arg1
)->UpdateWindowUI(arg2
);
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27808 Py_INCREF(Py_None
); resultobj
= Py_None
;
27815 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxWindow
*arg1
= (wxWindow
*) 0 ;
27818 wxMenu
*arg2
= (wxMenu
*) 0 ;
27819 int arg3
= (int) -1 ;
27820 int arg4
= (int) -1 ;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 PyObject
* obj2
= 0 ;
27825 PyObject
* obj3
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27836 arg3
= (int)SWIG_As_int(obj2
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27840 arg4
= (int)SWIG_As_int(obj3
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27859 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxWindow
*arg1
= (wxWindow
*) 0 ;
27862 wxMenu
*arg2
= (wxMenu
*) 0 ;
27863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27869 PyObject
* obj2
= 0 ;
27870 char *kwnames
[] = {
27871 (char *) "self",(char *) "menu",(char *) "pos", NULL
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27901 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (long)wxWindow_GetHandle(arg1
);
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= SWIG_From_long((long)result
);
27927 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxWindow
*arg1
= (wxWindow
*) 0 ;
27931 PyObject
* obj0
= 0 ;
27932 PyObject
* obj1
= 0 ;
27933 char *kwnames
[] = {
27934 (char *) "self",(char *) "handle", NULL
27937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",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
= (long)SWIG_As_long(obj1
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 wxWindow_AssociateHandle(arg1
,arg2
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 Py_INCREF(Py_None
); resultobj
= Py_None
;
27956 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
;
27958 wxWindow
*arg1
= (wxWindow
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self", NULL
27964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 (arg1
)->DissociateHandle();
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 Py_INCREF(Py_None
); resultobj
= Py_None
;
27981 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxWindow
*arg1
= (wxWindow
*) 0 ;
27986 PyObject
* obj0
= 0 ;
27987 PyObject
* obj1
= 0 ;
27988 char *kwnames
[] = {
27989 (char *) "self",(char *) "orient", NULL
27992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27995 arg2
= (int)SWIG_As_int(obj1
);
27996 if (PyErr_Occurred()) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28013 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
;
28015 wxWindow
*arg1
= (wxWindow
*) 0 ;
28020 bool arg6
= (bool) true ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 PyObject
* obj3
= 0 ;
28025 PyObject
* obj4
= 0 ;
28026 PyObject
* obj5
= 0 ;
28027 char *kwnames
[] = {
28028 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 arg2
= (int)SWIG_As_int(obj1
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28036 arg3
= (int)SWIG_As_int(obj2
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28038 arg4
= (int)SWIG_As_int(obj3
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28040 arg5
= (int)SWIG_As_int(obj4
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 arg6
= (bool)SWIG_As_bool(obj5
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 Py_INCREF(Py_None
); resultobj
= Py_None
;
28060 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxWindow
*arg1
= (wxWindow
*) 0 ;
28065 bool arg4
= (bool) true ;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 PyObject
* obj2
= 0 ;
28069 PyObject
* obj3
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28077 arg2
= (int)SWIG_As_int(obj1
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28079 arg3
= (int)SWIG_As_int(obj2
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 arg4
= (bool)SWIG_As_bool(obj3
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28089 wxPyEndAllowThreads(__tstate
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28092 Py_INCREF(Py_None
); resultobj
= Py_None
;
28099 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxWindow
*arg1
= (wxWindow
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self",(char *) "orientation", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 arg2
= (int)SWIG_As_int(obj1
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28119 wxPyEndAllowThreads(__tstate
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= SWIG_From_int((int)result
);
28129 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxWindow
*arg1
= (wxWindow
*) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self",(char *) "orientation", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28143 arg2
= (int)SWIG_As_int(obj1
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_From_int((int)result
);
28159 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxWindow
*arg1
= (wxWindow
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "orientation", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28173 arg2
= (int)SWIG_As_int(obj1
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_From_int((int)result
);
28189 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
;
28191 wxWindow
*arg1
= (wxWindow
*) 0 ;
28194 wxRect
*arg4
= (wxRect
*) NULL
;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 PyObject
* obj2
= 0 ;
28198 PyObject
* obj3
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 arg2
= (int)SWIG_As_int(obj1
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28208 arg3
= (int)SWIG_As_int(obj2
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28228 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self",(char *) "lines", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28242 arg2
= (int)SWIG_As_int(obj1
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (bool)(arg1
)->ScrollLines(arg2
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28260 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxWindow
*arg1
= (wxWindow
*) 0 ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self",(char *) "pages", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28274 arg2
= (int)SWIG_As_int(obj1
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= (bool)(arg1
)->ScrollPages(arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28292 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxWindow
*arg1
= (wxWindow
*) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (bool)(arg1
)->LineUp();
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28320 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxWindow
*arg1
= (wxWindow
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (bool)(arg1
)->LineDown();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28348 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxWindow
*arg1
= (wxWindow
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (bool)(arg1
)->PageUp();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28376 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxWindow
*arg1
= (wxWindow
*) 0 ;
28380 PyObject
* obj0
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (bool)(arg1
)->PageDown();
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28404 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxWindow
*arg1
= (wxWindow
*) 0 ;
28407 wxString
*arg2
= 0 ;
28408 bool temp2
= false ;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "text", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 arg2
= wxString_in_helper(obj1
);
28420 if (arg2
== NULL
) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 Py_INCREF(Py_None
); resultobj
= Py_None
;
28445 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
;
28447 wxWindow
*arg1
= (wxWindow
*) 0 ;
28448 wxString
*arg2
= 0 ;
28449 bool temp2
= false ;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 char *kwnames
[] = {
28453 (char *) "self",(char *) "text", NULL
28456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28460 arg2
= wxString_in_helper(obj1
);
28461 if (arg2
== NULL
) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 Py_INCREF(Py_None
); resultobj
= Py_None
;
28486 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxWindow
*arg1
= (wxWindow
*) 0 ;
28490 PyObject
* obj0
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28518 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxWindow
*arg1
= (wxWindow
*) 0 ;
28521 wxString
*arg2
= 0 ;
28522 bool temp2
= false ;
28523 PyObject
* obj0
= 0 ;
28524 PyObject
* obj1
= 0 ;
28525 char *kwnames
[] = {
28526 (char *) "self",(char *) "tip", NULL
28529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28533 arg2
= wxString_in_helper(obj1
);
28534 if (arg2
== NULL
) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 Py_INCREF(Py_None
); resultobj
= Py_None
;
28559 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxWindow
*arg1
= (wxWindow
*) 0 ;
28562 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 char *kwnames
[] = {
28566 (char *) "self",(char *) "tip", NULL
28569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 (arg1
)->SetToolTip(arg2
);
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 Py_INCREF(Py_None
); resultobj
= Py_None
;
28588 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
;
28590 wxWindow
*arg1
= (wxWindow
*) 0 ;
28592 PyObject
* obj0
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= wxPyMake_wxObject(result
, 0);
28616 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
;
28618 wxWindow
*arg1
= (wxWindow
*) 0 ;
28619 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "dropTarget", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",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_wxPyDropTarget
,
28630 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 (arg1
)->SetDropTarget(arg2
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 Py_INCREF(Py_None
); resultobj
= Py_None
;
28645 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxWindow
*arg1
= (wxWindow
*) 0 ;
28648 wxPyDropTarget
*result
;
28649 PyObject
* obj0
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",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
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28671 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxWindow
*arg1
= (wxWindow
*) 0 ;
28674 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 PyObject
* obj1
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self",(char *) "constraints", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 (arg1
)->SetConstraints(arg2
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxWindow
*arg1
= (wxWindow
*) 0 ;
28703 wxLayoutConstraints
*result
;
28704 PyObject
* obj0
= 0 ;
28705 char *kwnames
[] = {
28706 (char *) "self", NULL
28709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",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
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28726 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
;
28728 wxWindow
*arg1
= (wxWindow
*) 0 ;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 char *kwnames
[] = {
28733 (char *) "self",(char *) "autoLayout", NULL
28736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28739 arg2
= (bool)SWIG_As_bool(obj1
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->SetAutoLayout(arg2
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 Py_INCREF(Py_None
); resultobj
= Py_None
;
28755 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxWindow
*arg1
= (wxWindow
*) 0 ;
28759 PyObject
* obj0
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28783 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxWindow
*arg1
= (wxWindow
*) 0 ;
28787 PyObject
* obj0
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (bool)(arg1
)->Layout();
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28811 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxWindow
*arg1
= (wxWindow
*) 0 ;
28814 wxSizer
*arg2
= (wxSizer
*) 0 ;
28815 bool arg3
= (bool) true ;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 PyObject
* obj2
= 0 ;
28819 char *kwnames
[] = {
28820 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28829 arg3
= (bool)SWIG_As_bool(obj2
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 (arg1
)->SetSizer(arg2
,arg3
);
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 Py_INCREF(Py_None
); resultobj
= Py_None
;
28846 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxWindow
*arg1
= (wxWindow
*) 0 ;
28849 wxSizer
*arg2
= (wxSizer
*) 0 ;
28850 bool arg3
= (bool) true ;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 PyObject
* obj2
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28864 arg3
= (bool)SWIG_As_bool(obj2
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 Py_INCREF(Py_None
); resultobj
= Py_None
;
28881 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxWindow
*arg1
= (wxWindow
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= wxPyMake_wxSizer(result
, 0);
28909 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxWindow
*arg1
= (wxWindow
*) 0 ;
28912 wxSizer
*arg2
= (wxSizer
*) 0 ;
28913 PyObject
* obj0
= 0 ;
28914 PyObject
* obj1
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "self",(char *) "sizer", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 (arg1
)->SetContainingSizer(arg2
);
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 Py_INCREF(Py_None
); resultobj
= Py_None
;
28938 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxWindow
*arg1
= (wxWindow
*) 0 ;
28942 PyObject
* obj0
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28958 resultobj
= wxPyMake_wxSizer(result
, 0);
28966 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxWindow
*arg1
= (wxWindow
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 (arg1
)->InheritAttributes();
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 Py_INCREF(Py_None
); resultobj
= Py_None
;
28991 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxWindow
*arg1
= (wxWindow
*) 0 ;
28995 PyObject
* obj0
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "self", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29019 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29022 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29024 return Py_BuildValue((char *)"");
29026 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
;
29029 wxWindow
*arg2
= (wxWindow
*) NULL
;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "id",(char *) "parent", NULL
29037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29038 arg1
= (long)SWIG_As_long(obj0
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29045 if (!wxPyCheckForApp()) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= wxPyMake_wxObject(result
, 0);
29061 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
;
29063 wxString
*arg1
= 0 ;
29064 wxWindow
*arg2
= (wxWindow
*) NULL
;
29066 bool temp1
= false ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "name",(char *) "parent", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29075 arg1
= wxString_in_helper(obj0
);
29076 if (arg1
== NULL
) SWIG_fail
;
29080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29084 if (!wxPyCheckForApp()) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= wxPyMake_wxObject(result
, 0);
29108 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxString
*arg1
= 0 ;
29111 wxWindow
*arg2
= (wxWindow
*) NULL
;
29113 bool temp1
= false ;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "label",(char *) "parent", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29122 arg1
= wxString_in_helper(obj0
);
29123 if (arg1
== NULL
) SWIG_fail
;
29127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29131 if (!wxPyCheckForApp()) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= wxPyMake_wxObject(result
, 0);
29155 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxWindow
*arg1
= (wxWindow
*) 0 ;
29158 unsigned long arg2
;
29160 PyObject
* obj0
= 0 ;
29161 PyObject
* obj1
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "parent",(char *) "_hWnd", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29169 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= wxPyMake_wxObject(result
, 0);
29187 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxValidator
*result
;
29190 char *kwnames
[] = {
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxValidator
*)new wxValidator();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29209 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxValidator
*arg1
= (wxValidator
*) 0 ;
29212 wxValidator
*result
;
29213 PyObject
* obj0
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "self", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 result
= (wxValidator
*)(arg1
)->Clone();
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= wxPyMake_wxObject(result
, 0);
29237 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29238 PyObject
*resultobj
;
29239 wxValidator
*arg1
= (wxValidator
*) 0 ;
29240 wxWindow
*arg2
= (wxWindow
*) 0 ;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self",(char *) "parent", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 result
= (bool)(arg1
)->Validate(arg2
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29269 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
;
29271 wxValidator
*arg1
= (wxValidator
*) 0 ;
29273 PyObject
* obj0
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (bool)(arg1
)->TransferToWindow();
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29297 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxValidator
*arg1
= (wxValidator
*) 0 ;
29301 PyObject
* obj0
= 0 ;
29302 char *kwnames
[] = {
29303 (char *) "self", NULL
29306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (bool)(arg1
)->TransferFromWindow();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29325 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
;
29327 wxValidator
*arg1
= (wxValidator
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 result
= (wxWindow
*)(arg1
)->GetWindow();
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= wxPyMake_wxObject(result
, 0);
29353 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
;
29355 wxValidator
*arg1
= (wxValidator
*) 0 ;
29356 wxWindow
*arg2
= (wxWindow
*) 0 ;
29357 PyObject
* obj0
= 0 ;
29358 PyObject
* obj1
= 0 ;
29359 char *kwnames
[] = {
29360 (char *) "self",(char *) "window", NULL
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 (arg1
)->SetWindow(arg2
);
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29375 Py_INCREF(Py_None
); resultobj
= Py_None
;
29382 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29383 PyObject
*resultobj
;
29385 char *kwnames
[] = {
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (bool)wxValidator::IsSilent();
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29406 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 int arg1
= (int) true ;
29409 PyObject
* obj0
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "doIt", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29416 arg1
= (int)SWIG_As_int(obj0
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 wxValidator::SetBellOnError(arg1
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 Py_INCREF(Py_None
); resultobj
= Py_None
;
29433 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29436 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29438 return Py_BuildValue((char *)"");
29440 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29441 PyObject
*resultobj
;
29442 wxPyValidator
*result
;
29443 char *kwnames
[] = {
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (wxPyValidator
*)new wxPyValidator();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29462 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
;
29464 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29465 PyObject
*arg2
= (PyObject
*) 0 ;
29466 PyObject
*arg3
= (PyObject
*) 0 ;
29467 int arg4
= (int) true ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 PyObject
* obj3
= 0 ;
29472 char *kwnames
[] = {
29473 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 arg4
= (int)SWIG_As_int(obj3
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29499 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29502 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29504 return Py_BuildValue((char *)"");
29506 static int _wrap_DefaultValidator_set(PyObject
*) {
29507 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29512 static PyObject
*_wrap_DefaultValidator_get() {
29515 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29520 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
;
29522 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29523 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29524 long arg2
= (long) 0 ;
29526 bool temp1
= false ;
29527 PyObject
* obj0
= 0 ;
29528 PyObject
* obj1
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "title",(char *) "style", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29536 arg1
= wxString_in_helper(obj0
);
29537 if (arg1
== NULL
) SWIG_fail
;
29542 arg2
= (long)SWIG_As_long(obj1
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 if (!wxPyCheckForApp()) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29568 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxMenu
*arg1
= (wxMenu
*) 0 ;
29572 wxString
*arg3
= 0 ;
29573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29575 int arg5
= (int) wxITEM_NORMAL
;
29576 wxMenuItem
*result
;
29577 bool temp3
= false ;
29578 bool temp4
= false ;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 PyObject
* obj2
= 0 ;
29582 PyObject
* obj3
= 0 ;
29583 PyObject
* obj4
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29591 arg2
= (int)SWIG_As_int(obj1
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 arg3
= wxString_in_helper(obj2
);
29595 if (arg3
== NULL
) SWIG_fail
;
29600 arg4
= wxString_in_helper(obj3
);
29601 if (arg4
== NULL
) SWIG_fail
;
29606 arg5
= (int)SWIG_As_int(obj4
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= wxPyMake_wxObject(result
, 0);
29641 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
;
29643 wxMenu
*arg1
= (wxMenu
*) 0 ;
29644 wxMenuItem
*result
;
29645 PyObject
* obj0
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= wxPyMake_wxObject(result
, 0);
29669 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxMenu
*arg1
= (wxMenu
*) 0 ;
29673 wxString
*arg3
= 0 ;
29674 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29676 wxMenuItem
*result
;
29677 bool temp3
= false ;
29678 bool temp4
= false ;
29679 PyObject
* obj0
= 0 ;
29680 PyObject
* obj1
= 0 ;
29681 PyObject
* obj2
= 0 ;
29682 PyObject
* obj3
= 0 ;
29683 char *kwnames
[] = {
29684 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29690 arg2
= (int)SWIG_As_int(obj1
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 arg3
= wxString_in_helper(obj2
);
29694 if (arg3
== NULL
) SWIG_fail
;
29699 arg4
= wxString_in_helper(obj3
);
29700 if (arg4
== NULL
) SWIG_fail
;
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= wxPyMake_wxObject(result
, 0);
29736 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxMenu
*arg1
= (wxMenu
*) 0 ;
29740 wxString
*arg3
= 0 ;
29741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29743 wxMenuItem
*result
;
29744 bool temp3
= false ;
29745 bool temp4
= false ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 PyObject
* obj2
= 0 ;
29749 PyObject
* obj3
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29757 arg2
= (int)SWIG_As_int(obj1
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 arg3
= wxString_in_helper(obj2
);
29761 if (arg3
== NULL
) SWIG_fail
;
29766 arg4
= wxString_in_helper(obj3
);
29767 if (arg4
== NULL
) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= wxPyMake_wxObject(result
, 0);
29803 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
;
29805 wxMenu
*arg1
= (wxMenu
*) 0 ;
29807 wxString
*arg3
= 0 ;
29808 wxMenu
*arg4
= (wxMenu
*) 0 ;
29809 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29810 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29811 wxMenuItem
*result
;
29812 bool temp3
= false ;
29813 bool temp5
= false ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 PyObject
* obj2
= 0 ;
29817 PyObject
* obj3
= 0 ;
29818 PyObject
* obj4
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29826 arg2
= (int)SWIG_As_int(obj1
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 arg3
= wxString_in_helper(obj2
);
29830 if (arg3
== NULL
) SWIG_fail
;
29833 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 arg5
= wxString_in_helper(obj4
);
29838 if (arg5
== NULL
) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= wxPyMake_wxObject(result
, 0);
29874 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxMenu
*arg1
= (wxMenu
*) 0 ;
29877 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29878 wxMenuItem
*result
;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "item", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= wxPyMake_wxObject(result
, 0);
29906 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxMenu
*arg1
= (wxMenu
*) 0 ;
29909 PyObject
* obj0
= 0 ;
29910 char *kwnames
[] = {
29911 (char *) "self", NULL
29914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 Py_INCREF(Py_None
); resultobj
= Py_None
;
29931 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxMenu
*arg1
= (wxMenu
*) 0 ;
29935 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29936 wxMenuItem
*result
;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 PyObject
* obj2
= 0 ;
29940 char *kwnames
[] = {
29941 (char *) "self",(char *) "pos",(char *) "item", NULL
29944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29947 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29949 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= wxPyMake_wxObject(result
, 0);
29967 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxMenu
*arg1
= (wxMenu
*) 0 ;
29972 wxString
*arg4
= 0 ;
29973 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29974 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29975 int arg6
= (int) wxITEM_NORMAL
;
29976 wxMenuItem
*result
;
29977 bool temp4
= false ;
29978 bool temp5
= false ;
29979 PyObject
* obj0
= 0 ;
29980 PyObject
* obj1
= 0 ;
29981 PyObject
* obj2
= 0 ;
29982 PyObject
* obj3
= 0 ;
29983 PyObject
* obj4
= 0 ;
29984 PyObject
* obj5
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29992 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29994 arg3
= (int)SWIG_As_int(obj2
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 arg4
= wxString_in_helper(obj3
);
29998 if (arg4
== NULL
) SWIG_fail
;
30003 arg5
= wxString_in_helper(obj4
);
30004 if (arg5
== NULL
) SWIG_fail
;
30009 arg6
= (int)SWIG_As_int(obj5
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= wxPyMake_wxObject(result
, 0);
30044 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30045 PyObject
*resultobj
;
30046 wxMenu
*arg1
= (wxMenu
*) 0 ;
30048 wxMenuItem
*result
;
30049 PyObject
* obj0
= 0 ;
30050 PyObject
* obj1
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "pos", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30058 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= wxPyMake_wxObject(result
, 0);
30076 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
;
30078 wxMenu
*arg1
= (wxMenu
*) 0 ;
30081 wxString
*arg4
= 0 ;
30082 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30083 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30084 wxMenuItem
*result
;
30085 bool temp4
= false ;
30086 bool temp5
= false ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 PyObject
* obj2
= 0 ;
30090 PyObject
* obj3
= 0 ;
30091 PyObject
* obj4
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30101 arg3
= (int)SWIG_As_int(obj2
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 arg4
= wxString_in_helper(obj3
);
30105 if (arg4
== NULL
) SWIG_fail
;
30110 arg5
= wxString_in_helper(obj4
);
30111 if (arg5
== NULL
) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= wxPyMake_wxObject(result
, 0);
30147 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
;
30149 wxMenu
*arg1
= (wxMenu
*) 0 ;
30152 wxString
*arg4
= 0 ;
30153 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30154 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30155 wxMenuItem
*result
;
30156 bool temp4
= false ;
30157 bool temp5
= false ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 PyObject
* obj2
= 0 ;
30161 PyObject
* obj3
= 0 ;
30162 PyObject
* obj4
= 0 ;
30163 char *kwnames
[] = {
30164 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30170 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30172 arg3
= (int)SWIG_As_int(obj2
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 arg4
= wxString_in_helper(obj3
);
30176 if (arg4
== NULL
) SWIG_fail
;
30181 arg5
= wxString_in_helper(obj4
);
30182 if (arg5
== NULL
) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= wxPyMake_wxObject(result
, 0);
30218 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
;
30220 wxMenu
*arg1
= (wxMenu
*) 0 ;
30223 wxString
*arg4
= 0 ;
30224 wxMenu
*arg5
= (wxMenu
*) 0 ;
30225 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30226 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30227 wxMenuItem
*result
;
30228 bool temp4
= false ;
30229 bool temp6
= false ;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 PyObject
* obj2
= 0 ;
30233 PyObject
* obj3
= 0 ;
30234 PyObject
* obj4
= 0 ;
30235 PyObject
* obj5
= 0 ;
30236 char *kwnames
[] = {
30237 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30243 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30245 arg3
= (int)SWIG_As_int(obj2
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 arg4
= wxString_in_helper(obj3
);
30249 if (arg4
== NULL
) SWIG_fail
;
30252 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30256 arg6
= wxString_in_helper(obj5
);
30257 if (arg6
== NULL
) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= wxPyMake_wxObject(result
, 0);
30293 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30294 PyObject
*resultobj
;
30295 wxMenu
*arg1
= (wxMenu
*) 0 ;
30296 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30297 wxMenuItem
*result
;
30298 PyObject
* obj0
= 0 ;
30299 PyObject
* obj1
= 0 ;
30300 char *kwnames
[] = {
30301 (char *) "self",(char *) "item", NULL
30304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30311 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= wxPyMake_wxObject(result
, 0);
30325 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
;
30327 wxMenu
*arg1
= (wxMenu
*) 0 ;
30329 wxString
*arg3
= 0 ;
30330 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30331 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30332 int arg5
= (int) wxITEM_NORMAL
;
30333 wxMenuItem
*result
;
30334 bool temp3
= false ;
30335 bool temp4
= false ;
30336 PyObject
* obj0
= 0 ;
30337 PyObject
* obj1
= 0 ;
30338 PyObject
* obj2
= 0 ;
30339 PyObject
* obj3
= 0 ;
30340 PyObject
* obj4
= 0 ;
30341 char *kwnames
[] = {
30342 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30348 arg2
= (int)SWIG_As_int(obj1
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 arg3
= wxString_in_helper(obj2
);
30352 if (arg3
== NULL
) SWIG_fail
;
30357 arg4
= wxString_in_helper(obj3
);
30358 if (arg4
== NULL
) SWIG_fail
;
30363 arg5
= (int)SWIG_As_int(obj4
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= wxPyMake_wxObject(result
, 0);
30398 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
;
30400 wxMenu
*arg1
= (wxMenu
*) 0 ;
30401 wxMenuItem
*result
;
30402 PyObject
* obj0
= 0 ;
30403 char *kwnames
[] = {
30404 (char *) "self", NULL
30407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= wxPyMake_wxObject(result
, 0);
30426 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
;
30428 wxMenu
*arg1
= (wxMenu
*) 0 ;
30430 wxString
*arg3
= 0 ;
30431 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30433 wxMenuItem
*result
;
30434 bool temp3
= false ;
30435 bool temp4
= false ;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 PyObject
* obj2
= 0 ;
30439 PyObject
* obj3
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30447 arg2
= (int)SWIG_As_int(obj1
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 arg3
= wxString_in_helper(obj2
);
30451 if (arg3
== NULL
) SWIG_fail
;
30456 arg4
= wxString_in_helper(obj3
);
30457 if (arg4
== NULL
) SWIG_fail
;
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= wxPyMake_wxObject(result
, 0);
30493 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxMenu
*arg1
= (wxMenu
*) 0 ;
30497 wxString
*arg3
= 0 ;
30498 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30500 wxMenuItem
*result
;
30501 bool temp3
= false ;
30502 bool temp4
= false ;
30503 PyObject
* obj0
= 0 ;
30504 PyObject
* obj1
= 0 ;
30505 PyObject
* obj2
= 0 ;
30506 PyObject
* obj3
= 0 ;
30507 char *kwnames
[] = {
30508 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30514 arg2
= (int)SWIG_As_int(obj1
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 arg3
= wxString_in_helper(obj2
);
30518 if (arg3
== NULL
) SWIG_fail
;
30523 arg4
= wxString_in_helper(obj3
);
30524 if (arg4
== NULL
) SWIG_fail
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30536 resultobj
= wxPyMake_wxObject(result
, 0);
30560 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
;
30562 wxMenu
*arg1
= (wxMenu
*) 0 ;
30564 wxString
*arg3
= 0 ;
30565 wxMenu
*arg4
= (wxMenu
*) 0 ;
30566 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30567 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30568 wxMenuItem
*result
;
30569 bool temp3
= false ;
30570 bool temp5
= false ;
30571 PyObject
* obj0
= 0 ;
30572 PyObject
* obj1
= 0 ;
30573 PyObject
* obj2
= 0 ;
30574 PyObject
* obj3
= 0 ;
30575 PyObject
* obj4
= 0 ;
30576 char *kwnames
[] = {
30577 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30583 arg2
= (int)SWIG_As_int(obj1
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 arg3
= wxString_in_helper(obj2
);
30587 if (arg3
== NULL
) SWIG_fail
;
30590 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30594 arg5
= wxString_in_helper(obj4
);
30595 if (arg5
== NULL
) SWIG_fail
;
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30607 resultobj
= wxPyMake_wxObject(result
, 0);
30631 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
;
30633 wxMenu
*arg1
= (wxMenu
*) 0 ;
30635 wxMenuItem
*result
;
30636 PyObject
* obj0
= 0 ;
30637 PyObject
* obj1
= 0 ;
30638 char *kwnames
[] = {
30639 (char *) "self",(char *) "id", NULL
30642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30645 arg2
= (int)SWIG_As_int(obj1
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= wxPyMake_wxObject(result
, 0);
30663 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxMenu
*arg1
= (wxMenu
*) 0 ;
30666 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30667 wxMenuItem
*result
;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 char *kwnames
[] = {
30671 (char *) "self",(char *) "item", NULL
30674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= wxPyMake_wxObject(result
, 0);
30695 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxMenu
*arg1
= (wxMenu
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "self",(char *) "id", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30709 arg2
= (int)SWIG_As_int(obj1
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (bool)(arg1
)->Delete(arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30727 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
;
30729 wxMenu
*arg1
= (wxMenu
*) 0 ;
30730 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "item", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= (bool)(arg1
)->Delete(arg2
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30759 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxMenu
*arg1
= (wxMenu
*) 0 ;
30762 PyObject
* obj0
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 wxMenu_Destroy(arg1
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 Py_INCREF(Py_None
); resultobj
= Py_None
;
30784 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
;
30786 wxMenu
*arg1
= (wxMenu
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "id", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 arg2
= (int)SWIG_As_int(obj1
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (bool)(arg1
)->Destroy(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30816 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30817 PyObject
*resultobj
;
30818 wxMenu
*arg1
= (wxMenu
*) 0 ;
30819 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 char *kwnames
[] = {
30824 (char *) "self",(char *) "item", NULL
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= (bool)(arg1
)->Destroy(arg2
);
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30848 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30849 PyObject
*resultobj
;
30850 wxMenu
*arg1
= (wxMenu
*) 0 ;
30852 PyObject
* obj0
= 0 ;
30853 char *kwnames
[] = {
30854 (char *) "self", NULL
30857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30874 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxMenu
*arg1
= (wxMenu
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= result
;
30900 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
;
30902 wxMenu
*arg1
= (wxMenu
*) 0 ;
30903 wxString
*arg2
= 0 ;
30905 bool temp2
= false ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self",(char *) "item", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30916 arg2
= wxString_in_helper(obj1
);
30917 if (arg2
== NULL
) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= SWIG_From_int((int)result
);
30942 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
;
30944 wxMenu
*arg1
= (wxMenu
*) 0 ;
30946 wxMenuItem
*result
;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 char *kwnames
[] = {
30950 (char *) "self",(char *) "id", NULL
30953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30956 arg2
= (int)SWIG_As_int(obj1
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30966 resultobj
= wxPyMake_wxObject(result
, 0);
30974 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
;
30976 wxMenu
*arg1
= (wxMenu
*) 0 ;
30978 wxMenuItem
*result
;
30979 PyObject
* obj0
= 0 ;
30980 PyObject
* obj1
= 0 ;
30981 char *kwnames
[] = {
30982 (char *) "self",(char *) "position", NULL
30985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30988 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= wxPyMake_wxObject(result
, 0);
31006 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
;
31008 wxMenu
*arg1
= (wxMenu
*) 0 ;
31011 PyObject
* obj0
= 0 ;
31012 PyObject
* obj1
= 0 ;
31013 PyObject
* obj2
= 0 ;
31014 char *kwnames
[] = {
31015 (char *) "self",(char *) "id",(char *) "enable", NULL
31018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31021 arg2
= (int)SWIG_As_int(obj1
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31023 arg3
= (bool)SWIG_As_bool(obj2
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 (arg1
)->Enable(arg2
,arg3
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 Py_INCREF(Py_None
); resultobj
= Py_None
;
31039 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxMenu
*arg1
= (wxMenu
*) 0 ;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "id", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31053 arg2
= (int)SWIG_As_int(obj1
);
31054 if (PyErr_Occurred()) SWIG_fail
;
31056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31057 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31059 wxPyEndAllowThreads(__tstate
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31071 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
;
31073 wxMenu
*arg1
= (wxMenu
*) 0 ;
31076 PyObject
* obj0
= 0 ;
31077 PyObject
* obj1
= 0 ;
31078 PyObject
* obj2
= 0 ;
31079 char *kwnames
[] = {
31080 (char *) "self",(char *) "id",(char *) "check", NULL
31083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31086 arg2
= (int)SWIG_As_int(obj1
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31088 arg3
= (bool)SWIG_As_bool(obj2
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 (arg1
)->Check(arg2
,arg3
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 Py_INCREF(Py_None
); resultobj
= Py_None
;
31104 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
;
31106 wxMenu
*arg1
= (wxMenu
*) 0 ;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 char *kwnames
[] = {
31112 (char *) "self",(char *) "id", NULL
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31118 arg2
= (int)SWIG_As_int(obj1
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31136 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
;
31138 wxMenu
*arg1
= (wxMenu
*) 0 ;
31140 wxString
*arg3
= 0 ;
31141 bool temp3
= false ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 PyObject
* obj2
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "self",(char *) "id",(char *) "label", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31152 arg2
= (int)SWIG_As_int(obj1
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 arg3
= wxString_in_helper(obj2
);
31156 if (arg3
== NULL
) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 Py_INCREF(Py_None
); resultobj
= Py_None
;
31181 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
;
31183 wxMenu
*arg1
= (wxMenu
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 PyObject
* obj1
= 0 ;
31188 char *kwnames
[] = {
31189 (char *) "self",(char *) "id", NULL
31192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31195 arg2
= (int)SWIG_As_int(obj1
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31217 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxMenu
*arg1
= (wxMenu
*) 0 ;
31221 wxString
*arg3
= 0 ;
31222 bool temp3
= false ;
31223 PyObject
* obj0
= 0 ;
31224 PyObject
* obj1
= 0 ;
31225 PyObject
* obj2
= 0 ;
31226 char *kwnames
[] = {
31227 (char *) "self",(char *) "id",(char *) "helpString", NULL
31230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31233 arg2
= (int)SWIG_As_int(obj1
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 arg3
= wxString_in_helper(obj2
);
31237 if (arg3
== NULL
) SWIG_fail
;
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxMenu
*arg1
= (wxMenu
*) 0 ;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self",(char *) "id", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31276 arg2
= (int)SWIG_As_int(obj1
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31280 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31282 wxPyEndAllowThreads(__tstate
);
31283 if (PyErr_Occurred()) SWIG_fail
;
31287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31298 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxMenu
*arg1
= (wxMenu
*) 0 ;
31301 wxString
*arg2
= 0 ;
31302 bool temp2
= false ;
31303 PyObject
* obj0
= 0 ;
31304 PyObject
* obj1
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self",(char *) "title", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31313 arg2
= wxString_in_helper(obj1
);
31314 if (arg2
== NULL
) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->SetTitle((wxString
const &)*arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 Py_INCREF(Py_None
); resultobj
= Py_None
;
31339 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
;
31341 wxMenu
*arg1
= (wxMenu
*) 0 ;
31343 PyObject
* obj0
= 0 ;
31344 char *kwnames
[] = {
31345 (char *) "self", NULL
31348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31353 result
= ((wxMenu
const *)arg1
)->GetTitle();
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31371 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxMenu
*arg1
= (wxMenu
*) 0 ;
31374 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31375 PyObject
* obj0
= 0 ;
31376 PyObject
* obj1
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self",(char *) "handler", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 (arg1
)->SetEventHandler(arg2
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 Py_INCREF(Py_None
); resultobj
= Py_None
;
31400 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxMenu
*arg1
= (wxMenu
*) 0 ;
31403 wxEvtHandler
*result
;
31404 PyObject
* obj0
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= wxPyMake_wxObject(result
, 0);
31428 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxMenu
*arg1
= (wxMenu
*) 0 ;
31431 wxWindow
*arg2
= (wxWindow
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 PyObject
* obj1
= 0 ;
31434 char *kwnames
[] = {
31435 (char *) "self",(char *) "win", NULL
31438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 (arg1
)->SetInvokingWindow(arg2
);
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31450 Py_INCREF(Py_None
); resultobj
= Py_None
;
31457 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31458 PyObject
*resultobj
;
31459 wxMenu
*arg1
= (wxMenu
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 char *kwnames
[] = {
31463 (char *) "self", NULL
31466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= wxPyMake_wxObject(result
, 0);
31485 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
;
31487 wxMenu
*arg1
= (wxMenu
*) 0 ;
31489 PyObject
* obj0
= 0 ;
31490 char *kwnames
[] = {
31491 (char *) "self", NULL
31494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_From_long((long)result
);
31511 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
;
31513 wxMenu
*arg1
= (wxMenu
*) 0 ;
31514 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "source", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 (arg1
)->UpdateUI(arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 Py_INCREF(Py_None
); resultobj
= Py_None
;
31542 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
;
31544 wxMenu
*arg1
= (wxMenu
*) 0 ;
31546 PyObject
* obj0
= 0 ;
31547 char *kwnames
[] = {
31548 (char *) "self", NULL
31551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= wxPyMake_wxObject(result
, 0);
31570 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
;
31572 wxMenu
*arg1
= (wxMenu
*) 0 ;
31573 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31574 PyObject
* obj0
= 0 ;
31575 PyObject
* obj1
= 0 ;
31576 char *kwnames
[] = {
31577 (char *) "self",(char *) "menubar", NULL
31580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 (arg1
)->Attach(arg2
);
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31592 Py_INCREF(Py_None
); resultobj
= Py_None
;
31599 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxMenu
*arg1
= (wxMenu
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31617 Py_INCREF(Py_None
); resultobj
= Py_None
;
31624 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
;
31626 wxMenu
*arg1
= (wxMenu
*) 0 ;
31628 PyObject
* obj0
= 0 ;
31629 char *kwnames
[] = {
31630 (char *) "self", NULL
31633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31652 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
;
31654 wxMenu
*arg1
= (wxMenu
*) 0 ;
31655 wxMenu
*arg2
= (wxMenu
*) 0 ;
31656 PyObject
* obj0
= 0 ;
31657 PyObject
* obj1
= 0 ;
31658 char *kwnames
[] = {
31659 (char *) "self",(char *) "parent", NULL
31662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31669 (arg1
)->SetParent(arg2
);
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31674 Py_INCREF(Py_None
); resultobj
= Py_None
;
31681 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
;
31683 wxMenu
*arg1
= (wxMenu
*) 0 ;
31685 PyObject
* obj0
= 0 ;
31686 char *kwnames
[] = {
31687 (char *) "self", NULL
31690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31701 resultobj
= wxPyMake_wxObject(result
, 0);
31709 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31712 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31714 return Py_BuildValue((char *)"");
31716 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
;
31718 long arg1
= (long) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "style", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31727 arg1
= (long)SWIG_As_long(obj0
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31731 if (!wxPyCheckForApp()) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31745 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
;
31747 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31748 wxMenu
*arg2
= (wxMenu
*) 0 ;
31749 wxString
*arg3
= 0 ;
31751 bool temp3
= false ;
31752 PyObject
* obj0
= 0 ;
31753 PyObject
* obj1
= 0 ;
31754 PyObject
* obj2
= 0 ;
31755 char *kwnames
[] = {
31756 (char *) "self",(char *) "menu",(char *) "title", NULL
31759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31765 arg3
= wxString_in_helper(obj2
);
31766 if (arg3
== NULL
) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31793 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31794 PyObject
*resultobj
;
31795 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31797 wxMenu
*arg3
= (wxMenu
*) 0 ;
31798 wxString
*arg4
= 0 ;
31800 bool temp4
= false ;
31801 PyObject
* obj0
= 0 ;
31802 PyObject
* obj1
= 0 ;
31803 PyObject
* obj2
= 0 ;
31804 PyObject
* obj3
= 0 ;
31805 char *kwnames
[] = {
31806 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31812 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31814 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31817 arg4
= wxString_in_helper(obj3
);
31818 if (arg4
== NULL
) SWIG_fail
;
31822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31823 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31845 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
;
31847 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31849 PyObject
* obj0
= 0 ;
31850 char *kwnames
[] = {
31851 (char *) "self", NULL
31854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31864 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31871 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31872 PyObject
*resultobj
;
31873 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31876 PyObject
* obj0
= 0 ;
31877 PyObject
* obj1
= 0 ;
31878 char *kwnames
[] = {
31879 (char *) "self",(char *) "pos", NULL
31882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31885 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= wxPyMake_wxObject(result
, 0);
31903 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
;
31905 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31907 wxMenu
*arg3
= (wxMenu
*) 0 ;
31908 wxString
*arg4
= 0 ;
31910 bool temp4
= false ;
31911 PyObject
* obj0
= 0 ;
31912 PyObject
* obj1
= 0 ;
31913 PyObject
* obj2
= 0 ;
31914 PyObject
* obj3
= 0 ;
31915 char *kwnames
[] = {
31916 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31922 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31924 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31927 arg4
= wxString_in_helper(obj3
);
31928 if (arg4
== NULL
) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= wxPyMake_wxObject(result
, 0);
31955 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31956 PyObject
*resultobj
;
31957 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31960 PyObject
* obj0
= 0 ;
31961 PyObject
* obj1
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self",(char *) "pos", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31969 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31973 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31979 resultobj
= wxPyMake_wxObject(result
, 0);
31987 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
;
31989 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31992 PyObject
* obj0
= 0 ;
31993 PyObject
* obj1
= 0 ;
31994 PyObject
* obj2
= 0 ;
31995 char *kwnames
[] = {
31996 (char *) "self",(char *) "pos",(char *) "enable", NULL
31999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32002 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32004 arg3
= (bool)SWIG_As_bool(obj2
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 (arg1
)->EnableTop(arg2
,arg3
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 Py_INCREF(Py_None
); resultobj
= Py_None
;
32020 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
;
32022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 char *kwnames
[] = {
32028 (char *) "self",(char *) "pos", NULL
32031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32034 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32052 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32056 wxString
*arg3
= 0 ;
32057 bool temp3
= false ;
32058 PyObject
* obj0
= 0 ;
32059 PyObject
* obj1
= 0 ;
32060 PyObject
* obj2
= 0 ;
32061 char *kwnames
[] = {
32062 (char *) "self",(char *) "pos",(char *) "label", NULL
32065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32068 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 arg3
= wxString_in_helper(obj2
);
32072 if (arg3
== NULL
) SWIG_fail
;
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32077 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32082 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
;
32099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "self",(char *) "pos", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32111 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32133 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32134 PyObject
*resultobj
;
32135 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32136 wxString
*arg2
= 0 ;
32137 wxString
*arg3
= 0 ;
32139 bool temp2
= false ;
32140 bool temp3
= false ;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 PyObject
* obj2
= 0 ;
32144 char *kwnames
[] = {
32145 (char *) "self",(char *) "menu",(char *) "item", NULL
32148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32152 arg2
= wxString_in_helper(obj1
);
32153 if (arg2
== NULL
) SWIG_fail
;
32157 arg3
= wxString_in_helper(obj2
);
32158 if (arg3
== NULL
) SWIG_fail
;
32162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32163 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32168 resultobj
= SWIG_From_int((int)result
);
32191 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
;
32193 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32195 wxMenuItem
*result
;
32196 PyObject
* obj0
= 0 ;
32197 PyObject
* obj1
= 0 ;
32198 char *kwnames
[] = {
32199 (char *) "self",(char *) "id", NULL
32202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32205 arg2
= (int)SWIG_As_int(obj1
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= wxPyMake_wxObject(result
, 0);
32223 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
;
32225 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32226 wxString
*arg2
= 0 ;
32228 bool temp2
= false ;
32229 PyObject
* obj0
= 0 ;
32230 PyObject
* obj1
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "self",(char *) "title", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32239 arg2
= wxString_in_helper(obj1
);
32240 if (arg2
== NULL
) SWIG_fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= SWIG_From_int((int)result
);
32265 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
;
32267 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 PyObject
* obj2
= 0 ;
32273 char *kwnames
[] = {
32274 (char *) "self",(char *) "id",(char *) "enable", NULL
32277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32280 arg2
= (int)SWIG_As_int(obj1
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32282 arg3
= (bool)SWIG_As_bool(obj2
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 (arg1
)->Enable(arg2
,arg3
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
;
32300 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32303 PyObject
* obj0
= 0 ;
32304 PyObject
* obj1
= 0 ;
32305 PyObject
* obj2
= 0 ;
32306 char *kwnames
[] = {
32307 (char *) "self",(char *) "id",(char *) "check", NULL
32310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32313 arg2
= (int)SWIG_As_int(obj1
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32315 arg3
= (bool)SWIG_As_bool(obj2
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 (arg1
)->Check(arg2
,arg3
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 Py_INCREF(Py_None
); resultobj
= Py_None
;
32331 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 char *kwnames
[] = {
32339 (char *) "self",(char *) "id", NULL
32342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32345 arg2
= (int)SWIG_As_int(obj1
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32363 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32364 PyObject
*resultobj
;
32365 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32368 PyObject
* obj0
= 0 ;
32369 PyObject
* obj1
= 0 ;
32370 char *kwnames
[] = {
32371 (char *) "self",(char *) "id", NULL
32374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32377 arg2
= (int)SWIG_As_int(obj1
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32395 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
;
32397 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32399 wxString
*arg3
= 0 ;
32400 bool temp3
= false ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 PyObject
* obj2
= 0 ;
32404 char *kwnames
[] = {
32405 (char *) "self",(char *) "id",(char *) "label", NULL
32408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32411 arg2
= (int)SWIG_As_int(obj1
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 arg3
= wxString_in_helper(obj2
);
32415 if (arg3
== NULL
) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32425 Py_INCREF(Py_None
); resultobj
= Py_None
;
32440 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
;
32442 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32445 PyObject
* obj0
= 0 ;
32446 PyObject
* obj1
= 0 ;
32447 char *kwnames
[] = {
32448 (char *) "self",(char *) "id", NULL
32451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32454 arg2
= (int)SWIG_As_int(obj1
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32476 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
;
32478 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32480 wxString
*arg3
= 0 ;
32481 bool temp3
= false ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 PyObject
* obj2
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self",(char *) "id",(char *) "helpString", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32492 arg2
= (int)SWIG_As_int(obj1
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 arg3
= wxString_in_helper(obj2
);
32496 if (arg3
== NULL
) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32506 Py_INCREF(Py_None
); resultobj
= Py_None
;
32521 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 char *kwnames
[] = {
32529 (char *) "self",(char *) "id", NULL
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32535 arg2
= (int)SWIG_As_int(obj1
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32557 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
;
32559 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32561 PyObject
* obj0
= 0 ;
32562 char *kwnames
[] = {
32563 (char *) "self", NULL
32566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32571 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32573 wxPyEndAllowThreads(__tstate
);
32574 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= wxPyMake_wxObject(result
, 0);
32585 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
;
32587 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32589 PyObject
* obj0
= 0 ;
32590 char *kwnames
[] = {
32591 (char *) "self", NULL
32594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32613 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
;
32615 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32616 wxFrame
*arg2
= (wxFrame
*) 0 ;
32617 PyObject
* obj0
= 0 ;
32618 PyObject
* obj1
= 0 ;
32619 char *kwnames
[] = {
32620 (char *) "self",(char *) "frame", NULL
32623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 (arg1
)->Attach(arg2
);
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 Py_INCREF(Py_None
); resultobj
= Py_None
;
32642 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
;
32644 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32645 PyObject
* obj0
= 0 ;
32646 char *kwnames
[] = {
32647 (char *) "self", NULL
32650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 Py_INCREF(Py_None
); resultobj
= Py_None
;
32667 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32670 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32672 return Py_BuildValue((char *)"");
32674 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32675 PyObject
*resultobj
;
32676 wxMenu
*arg1
= (wxMenu
*) NULL
;
32677 int arg2
= (int) wxID_ANY
;
32678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32682 int arg5
= (int) wxITEM_NORMAL
;
32683 wxMenu
*arg6
= (wxMenu
*) NULL
;
32684 wxMenuItem
*result
;
32685 bool temp3
= false ;
32686 bool temp4
= false ;
32687 PyObject
* obj0
= 0 ;
32688 PyObject
* obj1
= 0 ;
32689 PyObject
* obj2
= 0 ;
32690 PyObject
* obj3
= 0 ;
32691 PyObject
* obj4
= 0 ;
32692 PyObject
* obj5
= 0 ;
32693 char *kwnames
[] = {
32694 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32703 arg2
= (int)SWIG_As_int(obj1
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32708 arg3
= wxString_in_helper(obj2
);
32709 if (arg3
== NULL
) SWIG_fail
;
32715 arg4
= wxString_in_helper(obj3
);
32716 if (arg4
== NULL
) SWIG_fail
;
32721 arg5
= (int)SWIG_As_int(obj4
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32725 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= wxPyMake_wxObject(result
, 1);
32760 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32761 PyObject
*resultobj
;
32762 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32764 PyObject
* obj0
= 0 ;
32765 char *kwnames
[] = {
32766 (char *) "self", NULL
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= wxPyMake_wxObject(result
, 0);
32788 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32789 PyObject
*resultobj
;
32790 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32791 wxMenu
*arg2
= (wxMenu
*) 0 ;
32792 PyObject
* obj0
= 0 ;
32793 PyObject
* obj1
= 0 ;
32794 char *kwnames
[] = {
32795 (char *) "self",(char *) "menu", NULL
32798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 (arg1
)->SetMenu(arg2
);
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 Py_INCREF(Py_None
); resultobj
= Py_None
;
32817 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
;
32819 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32821 PyObject
* obj0
= 0 ;
32822 PyObject
* obj1
= 0 ;
32823 char *kwnames
[] = {
32824 (char *) "self",(char *) "id", NULL
32827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32830 arg2
= (int)SWIG_As_int(obj1
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 (arg1
)->SetId(arg2
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 Py_INCREF(Py_None
); resultobj
= Py_None
;
32846 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
;
32848 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32850 PyObject
* obj0
= 0 ;
32851 char *kwnames
[] = {
32852 (char *) "self", NULL
32855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= SWIG_From_int((int)result
);
32872 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
;
32874 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32876 PyObject
* obj0
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32886 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32900 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
;
32902 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32903 wxString
*arg2
= 0 ;
32904 bool temp2
= false ;
32905 PyObject
* obj0
= 0 ;
32906 PyObject
* obj1
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "self",(char *) "str", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32915 arg2
= wxString_in_helper(obj1
);
32916 if (arg2
== NULL
) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 (arg1
)->SetText((wxString
const &)*arg2
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 Py_INCREF(Py_None
); resultobj
= Py_None
;
32941 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
;
32943 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32945 PyObject
* obj0
= 0 ;
32946 char *kwnames
[] = {
32947 (char *) "self", NULL
32950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32973 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32974 PyObject
*resultobj
;
32975 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32977 PyObject
* obj0
= 0 ;
32978 char *kwnames
[] = {
32979 (char *) "self", NULL
32982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32989 result
= (wxString
*) &_result_ref
;
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33008 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33009 PyObject
*resultobj
;
33010 wxString
*arg1
= 0 ;
33012 bool temp1
= false ;
33013 PyObject
* obj0
= 0 ;
33014 char *kwnames
[] = {
33015 (char *) "text", NULL
33018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33020 arg1
= wxString_in_helper(obj0
);
33021 if (arg1
== NULL
) SWIG_fail
;
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33052 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
;
33054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33056 PyObject
* obj0
= 0 ;
33057 char *kwnames
[] = {
33058 (char *) "self", NULL
33061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_From_int((int)result
);
33078 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
;
33080 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self",(char *) "kind", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33091 arg2
= (int)SWIG_As_int(obj1
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 (arg1
)->SetKind((wxItemKind
)arg2
);
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33100 Py_INCREF(Py_None
); resultobj
= Py_None
;
33107 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
;
33109 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self",(char *) "checkable", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33120 arg2
= (bool)SWIG_As_bool(obj1
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 (arg1
)->SetCheckable(arg2
);
33126 wxPyEndAllowThreads(__tstate
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33129 Py_INCREF(Py_None
); resultobj
= Py_None
;
33136 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33137 PyObject
*resultobj
;
33138 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33140 PyObject
* obj0
= 0 ;
33141 char *kwnames
[] = {
33142 (char *) "self", NULL
33145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33164 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33165 PyObject
*resultobj
;
33166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33168 PyObject
* obj0
= 0 ;
33169 char *kwnames
[] = {
33170 (char *) "self", NULL
33173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33192 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33193 PyObject
*resultobj
;
33194 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33195 wxMenu
*arg2
= (wxMenu
*) 0 ;
33196 PyObject
* obj0
= 0 ;
33197 PyObject
* obj1
= 0 ;
33198 char *kwnames
[] = {
33199 (char *) "self",(char *) "menu", NULL
33202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33209 (arg1
)->SetSubMenu(arg2
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 Py_INCREF(Py_None
); resultobj
= Py_None
;
33221 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33222 PyObject
*resultobj
;
33223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33225 PyObject
* obj0
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= wxPyMake_wxObject(result
, 0);
33249 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33250 PyObject
*resultobj
;
33251 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33252 bool arg2
= (bool) true ;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char *kwnames
[] = {
33256 (char *) "self",(char *) "enable", NULL
33259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33263 arg2
= (bool)SWIG_As_bool(obj1
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 (arg1
)->Enable(arg2
);
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33273 Py_INCREF(Py_None
); resultobj
= Py_None
;
33280 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33281 PyObject
*resultobj
;
33282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33284 PyObject
* obj0
= 0 ;
33285 char *kwnames
[] = {
33286 (char *) "self", NULL
33289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33308 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
;
33310 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33311 bool arg2
= (bool) true ;
33312 PyObject
* obj0
= 0 ;
33313 PyObject
* obj1
= 0 ;
33314 char *kwnames
[] = {
33315 (char *) "self",(char *) "check", NULL
33318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33322 arg2
= (bool)SWIG_As_bool(obj1
);
33323 if (PyErr_Occurred()) SWIG_fail
;
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 (arg1
)->Check(arg2
);
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33332 Py_INCREF(Py_None
); resultobj
= Py_None
;
33339 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
;
33341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33343 PyObject
* obj0
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33367 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33368 PyObject
*resultobj
;
33369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33370 PyObject
* obj0
= 0 ;
33371 char *kwnames
[] = {
33372 (char *) "self", NULL
33375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 Py_INCREF(Py_None
); resultobj
= Py_None
;
33392 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33393 PyObject
*resultobj
;
33394 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33395 wxString
*arg2
= 0 ;
33396 bool temp2
= false ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 char *kwnames
[] = {
33400 (char *) "self",(char *) "str", NULL
33403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33407 arg2
= wxString_in_helper(obj1
);
33408 if (arg2
== NULL
) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 (arg1
)->SetHelp((wxString
const &)*arg2
);
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 Py_INCREF(Py_None
); resultobj
= Py_None
;
33433 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33434 PyObject
*resultobj
;
33435 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33437 PyObject
* obj0
= 0 ;
33438 char *kwnames
[] = {
33439 (char *) "self", NULL
33442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33448 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33449 result
= (wxString
*) &_result_ref
;
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33459 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33468 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33471 wxAcceleratorEntry
*result
;
33472 PyObject
* obj0
= 0 ;
33473 char *kwnames
[] = {
33474 (char *) "self", NULL
33477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33494 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
;
33496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33497 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33498 PyObject
* obj0
= 0 ;
33499 PyObject
* obj1
= 0 ;
33500 char *kwnames
[] = {
33501 (char *) "self",(char *) "accel", NULL
33504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33511 (arg1
)->SetAccel(arg2
);
33513 wxPyEndAllowThreads(__tstate
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33516 Py_INCREF(Py_None
); resultobj
= Py_None
;
33523 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33524 PyObject
*resultobj
;
33526 char *kwnames
[] = {
33530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 result
= (int)MenuItem_GetDefaultMarginWidth();
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 resultobj
= SWIG_From_int((int)result
);
33545 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
;
33547 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33548 wxBitmap
*arg2
= 0 ;
33549 PyObject
* obj0
= 0 ;
33550 PyObject
* obj1
= 0 ;
33551 char *kwnames
[] = {
33552 (char *) "self",(char *) "bitmap", NULL
33555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33561 if (arg2
== NULL
) {
33562 PyErr_SetString(PyExc_TypeError
,"null reference");
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 Py_INCREF(Py_None
); resultobj
= Py_None
;
33579 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
;
33581 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33583 PyObject
* obj0
= 0 ;
33584 char *kwnames
[] = {
33585 (char *) "self", NULL
33588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33595 result
= (wxBitmap
*) &_result_ref
;
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33602 wxBitmap
* resultptr
= new wxBitmap(*result
);
33603 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33611 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33614 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33616 return Py_BuildValue((char *)"");
33618 static int _wrap_ControlNameStr_set(PyObject
*) {
33619 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33624 static PyObject
*_wrap_ControlNameStr_get() {
33629 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33631 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33638 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33639 PyObject
*resultobj
;
33640 wxWindow
*arg1
= (wxWindow
*) 0 ;
33641 int arg2
= (int) -1 ;
33642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33644 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33645 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33646 long arg5
= (long) 0 ;
33647 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33648 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33649 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33654 bool temp7
= false ;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 PyObject
* obj2
= 0 ;
33658 PyObject
* obj3
= 0 ;
33659 PyObject
* obj4
= 0 ;
33660 PyObject
* obj5
= 0 ;
33661 PyObject
* obj6
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33670 arg2
= (int)SWIG_As_int(obj1
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33686 arg5
= (long)SWIG_As_long(obj4
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33690 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33693 if (arg6
== NULL
) {
33694 PyErr_SetString(PyExc_TypeError
,"null reference");
33700 arg7
= wxString_in_helper(obj6
);
33701 if (arg7
== NULL
) SWIG_fail
;
33706 if (!wxPyCheckForApp()) SWIG_fail
;
33707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33708 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33728 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
;
33731 char *kwnames
[] = {
33735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33737 if (!wxPyCheckForApp()) SWIG_fail
;
33738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33739 result
= (wxControl
*)new wxControl();
33741 wxPyEndAllowThreads(__tstate
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33751 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
;
33753 wxControl
*arg1
= (wxControl
*) 0 ;
33754 wxWindow
*arg2
= (wxWindow
*) 0 ;
33755 int arg3
= (int) -1 ;
33756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33760 long arg6
= (long) 0 ;
33761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33763 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33768 bool temp8
= false ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 PyObject
* obj2
= 0 ;
33772 PyObject
* obj3
= 0 ;
33773 PyObject
* obj4
= 0 ;
33774 PyObject
* obj5
= 0 ;
33775 PyObject
* obj6
= 0 ;
33776 PyObject
* obj7
= 0 ;
33777 char *kwnames
[] = {
33778 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33787 arg3
= (int)SWIG_As_int(obj2
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33803 arg6
= (long)SWIG_As_long(obj5
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33807 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33810 if (arg7
== NULL
) {
33811 PyErr_SetString(PyExc_TypeError
,"null reference");
33817 arg8
= wxString_in_helper(obj7
);
33818 if (arg8
== NULL
) SWIG_fail
;
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33846 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33847 PyObject
*resultobj
;
33848 wxControl
*arg1
= (wxControl
*) 0 ;
33849 wxCommandEvent
*arg2
= 0 ;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 char *kwnames
[] = {
33853 (char *) "self",(char *) "event", NULL
33856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33862 if (arg2
== NULL
) {
33863 PyErr_SetString(PyExc_TypeError
,"null reference");
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 (arg1
)->Command(*arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 Py_INCREF(Py_None
); resultobj
= Py_None
;
33880 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33881 PyObject
*resultobj
;
33882 wxControl
*arg1
= (wxControl
*) 0 ;
33884 PyObject
* obj0
= 0 ;
33885 char *kwnames
[] = {
33886 (char *) "self", NULL
33889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 result
= (arg1
)->GetLabel();
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33912 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
;
33914 wxControl
*arg1
= (wxControl
*) 0 ;
33915 wxString
*arg2
= 0 ;
33916 bool temp2
= false ;
33917 PyObject
* obj0
= 0 ;
33918 PyObject
* obj1
= 0 ;
33919 char *kwnames
[] = {
33920 (char *) "self",(char *) "label", NULL
33923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33927 arg2
= wxString_in_helper(obj1
);
33928 if (arg2
== NULL
) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 (arg1
)->SetLabel((wxString
const &)*arg2
);
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 Py_INCREF(Py_None
); resultobj
= Py_None
;
33953 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33954 PyObject
*resultobj
;
33955 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33956 wxVisualAttributes result
;
33957 PyObject
* obj0
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "variant", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33964 arg1
= (int)SWIG_As_int(obj0
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33968 if (!wxPyCheckForApp()) SWIG_fail
;
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33972 wxPyEndAllowThreads(__tstate
);
33973 if (PyErr_Occurred()) SWIG_fail
;
33976 wxVisualAttributes
* resultptr
;
33977 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33986 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33989 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33991 return Py_BuildValue((char *)"");
33993 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
;
33995 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33996 wxString
*arg2
= 0 ;
33997 PyObject
*arg3
= (PyObject
*) NULL
;
33999 bool temp2
= false ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 PyObject
* obj2
= 0 ;
34003 char *kwnames
[] = {
34004 (char *) "self",(char *) "item",(char *) "clientData", NULL
34007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34011 arg2
= wxString_in_helper(obj1
);
34012 if (arg2
== NULL
) SWIG_fail
;
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= SWIG_From_int((int)result
);
34040 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
;
34042 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34043 wxArrayString
*arg2
= 0 ;
34044 bool temp2
= false ;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 char *kwnames
[] = {
34048 (char *) "self",(char *) "strings", NULL
34051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34055 if (! PySequence_Check(obj1
)) {
34056 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34059 arg2
= new wxArrayString
;
34061 int i
, len
=PySequence_Length(obj1
);
34062 for (i
=0; i
<len
; i
++) {
34063 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34065 PyObject
* str
= PyObject_Unicode(item
);
34067 PyObject
* str
= PyObject_Str(item
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34070 arg2
->Add(Py2wxString(str
));
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 (arg1
)->Append((wxArrayString
const &)*arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 Py_INCREF(Py_None
); resultobj
= Py_None
;
34084 if (temp2
) delete arg2
;
34089 if (temp2
) delete arg2
;
34095 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34096 PyObject
*resultobj
;
34097 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34098 wxString
*arg2
= 0 ;
34100 PyObject
*arg4
= (PyObject
*) NULL
;
34102 bool temp2
= false ;
34103 PyObject
* obj0
= 0 ;
34104 PyObject
* obj1
= 0 ;
34105 PyObject
* obj2
= 0 ;
34106 PyObject
* obj3
= 0 ;
34107 char *kwnames
[] = {
34108 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34115 arg2
= wxString_in_helper(obj1
);
34116 if (arg2
== NULL
) SWIG_fail
;
34119 arg3
= (int)SWIG_As_int(obj2
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= SWIG_From_int((int)result
);
34146 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34148 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",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();
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34164 Py_INCREF(Py_None
); resultobj
= Py_None
;
34171 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
;
34173 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 char *kwnames
[] = {
34178 (char *) "self",(char *) "n", NULL
34181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34184 arg2
= (int)SWIG_As_int(obj1
);
34185 if (PyErr_Occurred()) SWIG_fail
;
34187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34188 (arg1
)->Delete(arg2
);
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 Py_INCREF(Py_None
); resultobj
= Py_None
;
34200 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
;
34202 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 char *kwnames
[] = {
34206 (char *) "self", NULL
34209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= SWIG_From_int((int)result
);
34226 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34227 PyObject
*resultobj
;
34228 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34230 PyObject
* obj0
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34254 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
;
34256 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34259 PyObject
* obj0
= 0 ;
34260 PyObject
* obj1
= 0 ;
34261 char *kwnames
[] = {
34262 (char *) "self",(char *) "n", NULL
34265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34268 arg2
= (int)SWIG_As_int(obj1
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34290 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
;
34292 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34293 wxArrayString result
;
34294 PyObject
* obj0
= 0 ;
34295 char *kwnames
[] = {
34296 (char *) "self", NULL
34299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34304 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34306 wxPyEndAllowThreads(__tstate
);
34307 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= wxArrayString2PyList_helper(result
);
34318 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34319 PyObject
*resultobj
;
34320 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34322 wxString
*arg3
= 0 ;
34323 bool temp3
= false ;
34324 PyObject
* obj0
= 0 ;
34325 PyObject
* obj1
= 0 ;
34326 PyObject
* obj2
= 0 ;
34327 char *kwnames
[] = {
34328 (char *) "self",(char *) "n",(char *) "s", NULL
34331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34334 arg2
= (int)SWIG_As_int(obj1
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 arg3
= wxString_in_helper(obj2
);
34338 if (arg3
== NULL
) SWIG_fail
;
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 Py_INCREF(Py_None
); resultobj
= Py_None
;
34363 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34364 PyObject
*resultobj
;
34365 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34366 wxString
*arg2
= 0 ;
34368 bool temp2
= false ;
34369 PyObject
* obj0
= 0 ;
34370 PyObject
* obj1
= 0 ;
34371 char *kwnames
[] = {
34372 (char *) "self",(char *) "s", NULL
34375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34379 arg2
= wxString_in_helper(obj1
);
34380 if (arg2
== NULL
) SWIG_fail
;
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34385 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_From_int((int)result
);
34405 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
;
34407 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34409 PyObject
* obj0
= 0 ;
34410 PyObject
* obj1
= 0 ;
34411 char *kwnames
[] = {
34412 (char *) "self",(char *) "n", NULL
34415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34418 arg2
= (int)SWIG_As_int(obj1
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 (arg1
)->Select(arg2
);
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 Py_INCREF(Py_None
); resultobj
= Py_None
;
34434 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34435 PyObject
*resultobj
;
34436 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34438 PyObject
* obj0
= 0 ;
34439 char *kwnames
[] = {
34440 (char *) "self", NULL
34443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34450 wxPyEndAllowThreads(__tstate
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= SWIG_From_int((int)result
);
34460 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
;
34462 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34464 PyObject
* obj0
= 0 ;
34465 char *kwnames
[] = {
34466 (char *) "self", NULL
34469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34476 wxPyEndAllowThreads(__tstate
);
34477 if (PyErr_Occurred()) SWIG_fail
;
34481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34492 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
;
34494 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34497 PyObject
* obj0
= 0 ;
34498 PyObject
* obj1
= 0 ;
34499 char *kwnames
[] = {
34500 (char *) "self",(char *) "n", NULL
34503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34506 arg2
= (int)SWIG_As_int(obj1
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34512 wxPyEndAllowThreads(__tstate
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34515 resultobj
= result
;
34522 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34523 PyObject
*resultobj
;
34524 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34526 PyObject
*arg3
= (PyObject
*) 0 ;
34527 PyObject
* obj0
= 0 ;
34528 PyObject
* obj1
= 0 ;
34529 PyObject
* obj2
= 0 ;
34530 char *kwnames
[] = {
34531 (char *) "self",(char *) "n",(char *) "clientData", NULL
34534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34537 arg2
= (int)SWIG_As_int(obj1
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34544 wxPyEndAllowThreads(__tstate
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 Py_INCREF(Py_None
); resultobj
= Py_None
;
34554 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34557 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34559 return Py_BuildValue((char *)"");
34561 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34564 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34566 return Py_BuildValue((char *)"");
34568 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34569 PyObject
*resultobj
;
34570 wxSizerItem
*result
;
34571 char *kwnames
[] = {
34575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34578 result
= (wxSizerItem
*)new wxSizerItem();
34580 wxPyEndAllowThreads(__tstate
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34590 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34591 PyObject
*resultobj
;
34592 wxWindow
*arg1
= (wxWindow
*) 0 ;
34596 PyObject
*arg5
= (PyObject
*) NULL
;
34597 wxSizerItem
*result
;
34598 PyObject
* obj0
= 0 ;
34599 PyObject
* obj1
= 0 ;
34600 PyObject
* obj2
= 0 ;
34601 PyObject
* obj3
= 0 ;
34602 PyObject
* obj4
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34610 arg2
= (int)SWIG_As_int(obj1
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34612 arg3
= (int)SWIG_As_int(obj2
);
34613 if (PyErr_Occurred()) SWIG_fail
;
34614 arg4
= (int)SWIG_As_int(obj3
);
34615 if (PyErr_Occurred()) SWIG_fail
;
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34633 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
;
34640 PyObject
*arg6
= (PyObject
*) NULL
;
34641 wxSizerItem
*result
;
34642 PyObject
* obj0
= 0 ;
34643 PyObject
* obj1
= 0 ;
34644 PyObject
* obj2
= 0 ;
34645 PyObject
* obj3
= 0 ;
34646 PyObject
* obj4
= 0 ;
34647 PyObject
* obj5
= 0 ;
34648 char *kwnames
[] = {
34649 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34653 arg1
= (int)SWIG_As_int(obj0
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34655 arg2
= (int)SWIG_As_int(obj1
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34657 arg3
= (int)SWIG_As_int(obj2
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34659 arg4
= (int)SWIG_As_int(obj3
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34661 arg5
= (int)SWIG_As_int(obj4
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34670 wxPyEndAllowThreads(__tstate
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34680 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34681 PyObject
*resultobj
;
34682 wxSizer
*arg1
= (wxSizer
*) 0 ;
34686 PyObject
*arg5
= (PyObject
*) NULL
;
34687 wxSizerItem
*result
;
34688 PyObject
* obj0
= 0 ;
34689 PyObject
* obj1
= 0 ;
34690 PyObject
* obj2
= 0 ;
34691 PyObject
* obj3
= 0 ;
34692 PyObject
* obj4
= 0 ;
34693 char *kwnames
[] = {
34694 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34700 arg2
= (int)SWIG_As_int(obj1
);
34701 if (PyErr_Occurred()) SWIG_fail
;
34702 arg3
= (int)SWIG_As_int(obj2
);
34703 if (PyErr_Occurred()) SWIG_fail
;
34704 arg4
= (int)SWIG_As_int(obj3
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34723 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
;
34725 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34726 PyObject
* obj0
= 0 ;
34727 char *kwnames
[] = {
34728 (char *) "self", NULL
34731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 (arg1
)->DeleteWindows();
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34741 Py_INCREF(Py_None
); resultobj
= Py_None
;
34748 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34751 PyObject
* obj0
= 0 ;
34752 char *kwnames
[] = {
34753 (char *) "self", NULL
34756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 (arg1
)->DetachSizer();
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 Py_INCREF(Py_None
); resultobj
= Py_None
;
34773 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
;
34775 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34777 PyObject
* obj0
= 0 ;
34778 char *kwnames
[] = {
34779 (char *) "self", NULL
34782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34787 result
= (arg1
)->GetSize();
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34793 wxSize
* resultptr
;
34794 resultptr
= new wxSize((wxSize
&) result
);
34795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34803 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
;
34805 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34807 PyObject
* obj0
= 0 ;
34808 char *kwnames
[] = {
34809 (char *) "self", NULL
34812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 result
= (arg1
)->CalcMin();
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34823 wxSize
* resultptr
;
34824 resultptr
= new wxSize((wxSize
&) result
);
34825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34833 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
;
34835 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34840 PyObject
* obj0
= 0 ;
34841 PyObject
* obj1
= 0 ;
34842 PyObject
* obj2
= 0 ;
34843 char *kwnames
[] = {
34844 (char *) "self",(char *) "pos",(char *) "size", NULL
34847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34850 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34851 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34853 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34854 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 (arg1
)->SetDimension(arg2
,arg3
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 Py_INCREF(Py_None
); resultobj
= Py_None
;
34870 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
;
34872 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34874 PyObject
* obj0
= 0 ;
34875 char *kwnames
[] = {
34876 (char *) "self", NULL
34879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (arg1
)->GetMinSize();
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34890 wxSize
* resultptr
;
34891 resultptr
= new wxSize((wxSize
&) result
);
34892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34900 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
;
34902 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34904 PyObject
* obj0
= 0 ;
34905 char *kwnames
[] = {
34906 (char *) "self", NULL
34909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34914 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34916 wxPyEndAllowThreads(__tstate
);
34917 if (PyErr_Occurred()) SWIG_fail
;
34920 wxSize
* resultptr
;
34921 resultptr
= new wxSize((wxSize
&) result
);
34922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34930 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34931 PyObject
*resultobj
;
34932 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34935 PyObject
* obj0
= 0 ;
34936 PyObject
* obj1
= 0 ;
34937 PyObject
* obj2
= 0 ;
34938 char *kwnames
[] = {
34939 (char *) "self",(char *) "x",(char *) "y", NULL
34942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34945 arg2
= (int)SWIG_As_int(obj1
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34947 arg3
= (int)SWIG_As_int(obj2
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34951 (arg1
)->SetInitSize(arg2
,arg3
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 Py_INCREF(Py_None
); resultobj
= Py_None
;
34963 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34964 PyObject
*resultobj
;
34965 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34968 PyObject
* obj0
= 0 ;
34969 PyObject
* obj1
= 0 ;
34970 PyObject
* obj2
= 0 ;
34971 char *kwnames
[] = {
34972 (char *) "self",(char *) "width",(char *) "height", NULL
34975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34978 arg2
= (int)SWIG_As_int(obj1
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34980 arg3
= (int)SWIG_As_int(obj2
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 (arg1
)->SetRatio(arg2
,arg3
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 Py_INCREF(Py_None
); resultobj
= Py_None
;
34996 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35001 PyObject
* obj0
= 0 ;
35002 PyObject
* obj1
= 0 ;
35003 char *kwnames
[] = {
35004 (char *) "self",(char *) "size", NULL
35007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35010 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35011 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 (arg1
)->SetRatio(arg2
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 Py_INCREF(Py_None
); resultobj
= Py_None
;
35027 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 char *kwnames
[] = {
35034 (char *) "self",(char *) "ratio", NULL
35037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35040 arg2
= (float)SWIG_As_float(obj1
);
35041 if (PyErr_Occurred()) SWIG_fail
;
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 (arg1
)->SetRatio(arg2
);
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35049 Py_INCREF(Py_None
); resultobj
= Py_None
;
35056 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
;
35058 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35060 PyObject
* obj0
= 0 ;
35061 char *kwnames
[] = {
35062 (char *) "self", NULL
35065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 result
= (float)(arg1
)->GetRatio();
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35075 resultobj
= SWIG_From_float((float)result
);
35082 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35083 PyObject
*resultobj
;
35084 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 char *kwnames
[] = {
35088 (char *) "self", NULL
35091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 result
= (arg1
)->GetRect();
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35102 wxRect
* resultptr
;
35103 resultptr
= new wxRect((wxRect
&) result
);
35104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35112 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
;
35114 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35116 PyObject
* obj0
= 0 ;
35117 char *kwnames
[] = {
35118 (char *) "self", NULL
35121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (bool)(arg1
)->IsWindow();
35128 wxPyEndAllowThreads(__tstate
);
35129 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35140 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35141 PyObject
*resultobj
;
35142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35144 PyObject
* obj0
= 0 ;
35145 char *kwnames
[] = {
35146 (char *) "self", NULL
35149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35154 result
= (bool)(arg1
)->IsSizer();
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35168 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35169 PyObject
*resultobj
;
35170 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35172 PyObject
* obj0
= 0 ;
35173 char *kwnames
[] = {
35174 (char *) "self", NULL
35177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (bool)(arg1
)->IsSpacer();
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35196 static PyObject
*_wrap_SizerItem_SetProportion(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 *) "proportion", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",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
)->SetProportion(arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 Py_INCREF(Py_None
); resultobj
= Py_None
;
35225 static PyObject
*_wrap_SizerItem_GetProportion(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_GetProportion",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
)->GetProportion();
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35244 resultobj
= SWIG_From_int((int)result
);
35251 static PyObject
*_wrap_SizerItem_SetFlag(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 *) "flag", NULL
35261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",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
)->SetFlag(arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35280 static PyObject
*_wrap_SizerItem_GetFlag(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_GetFlag",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
)->GetFlag();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_From_int((int)result
);
35306 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35310 PyObject
* obj0
= 0 ;
35311 PyObject
* obj1
= 0 ;
35312 char *kwnames
[] = {
35313 (char *) "self",(char *) "border", NULL
35316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35319 arg2
= (int)SWIG_As_int(obj1
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35323 (arg1
)->SetBorder(arg2
);
35325 wxPyEndAllowThreads(__tstate
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35328 Py_INCREF(Py_None
); resultobj
= Py_None
;
35335 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35336 PyObject
*resultobj
;
35337 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35339 PyObject
* obj0
= 0 ;
35340 char *kwnames
[] = {
35341 (char *) "self", NULL
35344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35349 result
= (int)(arg1
)->GetBorder();
35351 wxPyEndAllowThreads(__tstate
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35354 resultobj
= SWIG_From_int((int)result
);
35361 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35362 PyObject
*resultobj
;
35363 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35365 PyObject
* obj0
= 0 ;
35366 char *kwnames
[] = {
35367 (char *) "self", NULL
35370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 result
= (wxWindow
*)(arg1
)->GetWindow();
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= wxPyMake_wxObject(result
, 0);
35389 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35390 PyObject
*resultobj
;
35391 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35392 wxWindow
*arg2
= (wxWindow
*) 0 ;
35393 PyObject
* obj0
= 0 ;
35394 PyObject
* obj1
= 0 ;
35395 char *kwnames
[] = {
35396 (char *) "self",(char *) "window", NULL
35399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 (arg1
)->SetWindow(arg2
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35411 Py_INCREF(Py_None
); resultobj
= Py_None
;
35418 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
;
35420 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35422 PyObject
* obj0
= 0 ;
35423 char *kwnames
[] = {
35424 (char *) "self", NULL
35427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35432 result
= (wxSizer
*)(arg1
)->GetSizer();
35434 wxPyEndAllowThreads(__tstate
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35438 resultobj
= wxPyMake_wxSizer(result
, 0);
35446 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35447 PyObject
*resultobj
;
35448 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35449 wxSizer
*arg2
= (wxSizer
*) 0 ;
35450 PyObject
* obj0
= 0 ;
35451 PyObject
* obj1
= 0 ;
35452 char *kwnames
[] = {
35453 (char *) "self",(char *) "sizer", NULL
35456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 (arg1
)->SetSizer(arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35468 Py_INCREF(Py_None
); resultobj
= Py_None
;
35475 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
;
35477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35479 PyObject
* obj0
= 0 ;
35480 char *kwnames
[] = {
35481 (char *) "self", NULL
35484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35491 result
= (wxSize
*) &_result_ref
;
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35504 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
;
35506 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35509 PyObject
* obj0
= 0 ;
35510 PyObject
* obj1
= 0 ;
35511 char *kwnames
[] = {
35512 (char *) "self",(char *) "size", NULL
35515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35529 Py_INCREF(Py_None
); resultobj
= Py_None
;
35536 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
;
35538 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35540 PyObject
* obj0
= 0 ;
35541 PyObject
* obj1
= 0 ;
35542 char *kwnames
[] = {
35543 (char *) "self",(char *) "show", NULL
35546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35549 arg2
= (bool)SWIG_As_bool(obj1
);
35550 if (PyErr_Occurred()) SWIG_fail
;
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 (arg1
)->Show(arg2
);
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35558 Py_INCREF(Py_None
); resultobj
= Py_None
;
35565 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35566 PyObject
*resultobj
;
35567 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35569 PyObject
* obj0
= 0 ;
35570 char *kwnames
[] = {
35571 (char *) "self", NULL
35574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35579 result
= (bool)(arg1
)->IsShown();
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35593 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35594 PyObject
*resultobj
;
35595 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35597 PyObject
* obj0
= 0 ;
35598 char *kwnames
[] = {
35599 (char *) "self", NULL
35602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 result
= (arg1
)->GetPosition();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35613 wxPoint
* resultptr
;
35614 resultptr
= new wxPoint((wxPoint
&) result
);
35615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35623 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35624 PyObject
*resultobj
;
35625 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35627 PyObject
* obj0
= 0 ;
35628 char *kwnames
[] = {
35629 (char *) "self", NULL
35632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35637 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35639 wxPyEndAllowThreads(__tstate
);
35640 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= result
;
35649 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35652 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35654 return Py_BuildValue((char *)"");
35656 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxSizer
*arg1
= (wxSizer
*) 0 ;
35659 PyObject
*arg2
= (PyObject
*) 0 ;
35660 PyObject
* obj0
= 0 ;
35661 PyObject
* obj1
= 0 ;
35662 char *kwnames
[] = {
35663 (char *) "self",(char *) "_self", NULL
35666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35672 wxSizer__setOORInfo(arg1
,arg2
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 Py_INCREF(Py_None
); resultobj
= Py_None
;
35684 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
;
35686 wxSizer
*arg1
= (wxSizer
*) 0 ;
35687 PyObject
*arg2
= (PyObject
*) 0 ;
35688 int arg3
= (int) 0 ;
35689 int arg4
= (int) 0 ;
35690 int arg5
= (int) 0 ;
35691 PyObject
*arg6
= (PyObject
*) NULL
;
35692 wxSizerItem
*result
;
35693 PyObject
* obj0
= 0 ;
35694 PyObject
* obj1
= 0 ;
35695 PyObject
* obj2
= 0 ;
35696 PyObject
* obj3
= 0 ;
35697 PyObject
* obj4
= 0 ;
35698 PyObject
* obj5
= 0 ;
35699 char *kwnames
[] = {
35700 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35708 arg3
= (int)SWIG_As_int(obj2
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35712 arg4
= (int)SWIG_As_int(obj3
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35716 arg5
= (int)SWIG_As_int(obj4
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35724 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35726 wxPyEndAllowThreads(__tstate
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35736 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35737 PyObject
*resultobj
;
35738 wxSizer
*arg1
= (wxSizer
*) 0 ;
35740 PyObject
*arg3
= (PyObject
*) 0 ;
35741 int arg4
= (int) 0 ;
35742 int arg5
= (int) 0 ;
35743 int arg6
= (int) 0 ;
35744 PyObject
*arg7
= (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 PyObject
* obj6
= 0 ;
35753 char *kwnames
[] = {
35754 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35760 arg2
= (int)SWIG_As_int(obj1
);
35761 if (PyErr_Occurred()) SWIG_fail
;
35764 arg4
= (int)SWIG_As_int(obj3
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35768 arg5
= (int)SWIG_As_int(obj4
);
35769 if (PyErr_Occurred()) SWIG_fail
;
35772 arg6
= (int)SWIG_As_int(obj5
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35792 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
;
35794 wxSizer
*arg1
= (wxSizer
*) 0 ;
35795 PyObject
*arg2
= (PyObject
*) 0 ;
35796 int arg3
= (int) 0 ;
35797 int arg4
= (int) 0 ;
35798 int arg5
= (int) 0 ;
35799 PyObject
*arg6
= (PyObject
*) NULL
;
35800 wxSizerItem
*result
;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 PyObject
* obj2
= 0 ;
35804 PyObject
* obj3
= 0 ;
35805 PyObject
* obj4
= 0 ;
35806 PyObject
* obj5
= 0 ;
35807 char *kwnames
[] = {
35808 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35816 arg3
= (int)SWIG_As_int(obj2
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35820 arg4
= (int)SWIG_As_int(obj3
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35824 arg5
= (int)SWIG_As_int(obj4
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35844 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxSizer
*arg1
= (wxSizer
*) 0 ;
35847 PyObject
*arg2
= (PyObject
*) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "item", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35875 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
;
35877 wxSizer
*arg1
= (wxSizer
*) 0 ;
35878 PyObject
*arg2
= (PyObject
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 char *kwnames
[] = {
35883 (char *) "self",(char *) "item", NULL
35886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35906 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35907 PyObject
*resultobj
;
35908 wxSizer
*arg1
= (wxSizer
*) 0 ;
35909 PyObject
*arg2
= (PyObject
*) 0 ;
35910 wxSizerItem
*result
;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 char *kwnames
[] = {
35914 (char *) "self",(char *) "item", NULL
35917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
35925 wxPyEndAllowThreads(__tstate
);
35926 if (PyErr_Occurred()) SWIG_fail
;
35928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35935 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35936 PyObject
*resultobj
;
35937 wxSizer
*arg1
= (wxSizer
*) 0 ;
35938 PyObject
*arg2
= (PyObject
*) 0 ;
35941 PyObject
* obj0
= 0 ;
35942 PyObject
* obj1
= 0 ;
35943 PyObject
* obj2
= 0 ;
35944 char *kwnames
[] = {
35945 (char *) "self",(char *) "item",(char *) "size", NULL
35948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35954 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 Py_INCREF(Py_None
); resultobj
= Py_None
;
35970 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
;
35972 wxSizer
*arg1
= (wxSizer
*) 0 ;
35973 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35974 wxSizerItem
*result
;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 char *kwnames
[] = {
35978 (char *) "self",(char *) "item", NULL
35981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35988 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
35990 wxPyEndAllowThreads(__tstate
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36000 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
;
36002 wxSizer
*arg1
= (wxSizer
*) 0 ;
36004 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36005 wxSizerItem
*result
;
36006 PyObject
* obj0
= 0 ;
36007 PyObject
* obj1
= 0 ;
36008 PyObject
* obj2
= 0 ;
36009 char *kwnames
[] = {
36010 (char *) "self",(char *) "index",(char *) "item", NULL
36013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36016 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36017 if (PyErr_Occurred()) SWIG_fail
;
36018 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36034 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36035 PyObject
*resultobj
;
36036 wxSizer
*arg1
= (wxSizer
*) 0 ;
36037 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36038 wxSizerItem
*result
;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 char *kwnames
[] = {
36042 (char *) "self",(char *) "item", NULL
36045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36054 wxPyEndAllowThreads(__tstate
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36064 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36065 PyObject
*resultobj
;
36066 wxSizer
*arg1
= (wxSizer
*) 0 ;
36071 PyObject
* obj0
= 0 ;
36072 PyObject
* obj1
= 0 ;
36073 PyObject
* obj2
= 0 ;
36074 PyObject
* obj3
= 0 ;
36075 PyObject
* obj4
= 0 ;
36076 char *kwnames
[] = {
36077 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36083 arg2
= (int)SWIG_As_int(obj1
);
36084 if (PyErr_Occurred()) SWIG_fail
;
36085 arg3
= (int)SWIG_As_int(obj2
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36087 arg4
= (int)SWIG_As_int(obj3
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36089 arg5
= (int)SWIG_As_int(obj4
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 Py_INCREF(Py_None
); resultobj
= Py_None
;
36105 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxSizer
*arg1
= (wxSizer
*) 0 ;
36110 PyObject
* obj0
= 0 ;
36111 PyObject
* obj1
= 0 ;
36112 char *kwnames
[] = {
36113 (char *) "self",(char *) "size", NULL
36116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36127 wxPyEndAllowThreads(__tstate
);
36128 if (PyErr_Occurred()) SWIG_fail
;
36130 Py_INCREF(Py_None
); resultobj
= Py_None
;
36137 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36138 PyObject
*resultobj
;
36139 wxSizer
*arg1
= (wxSizer
*) 0 ;
36141 PyObject
* obj0
= 0 ;
36142 char *kwnames
[] = {
36143 (char *) "self", NULL
36146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36151 result
= (arg1
)->GetSize();
36153 wxPyEndAllowThreads(__tstate
);
36154 if (PyErr_Occurred()) SWIG_fail
;
36157 wxSize
* resultptr
;
36158 resultptr
= new wxSize((wxSize
&) result
);
36159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36167 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
;
36169 wxSizer
*arg1
= (wxSizer
*) 0 ;
36171 PyObject
* obj0
= 0 ;
36172 char *kwnames
[] = {
36173 (char *) "self", NULL
36176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 result
= (arg1
)->GetPosition();
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36187 wxPoint
* resultptr
;
36188 resultptr
= new wxPoint((wxPoint
&) result
);
36189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36197 static PyObject
*_wrap_Sizer_GetMinSize(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_GetMinSize",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
)->GetMinSize();
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_RecalcSizes(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_RecalcSizes",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();
36240 (arg1
)->RecalcSizes();
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 Py_INCREF(Py_None
); resultobj
= Py_None
;
36252 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
;
36254 wxSizer
*arg1
= (wxSizer
*) 0 ;
36256 PyObject
* obj0
= 0 ;
36257 char *kwnames
[] = {
36258 (char *) "self", NULL
36261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 result
= (arg1
)->CalcMin();
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36272 wxSize
* resultptr
;
36273 resultptr
= new wxSize((wxSize
&) result
);
36274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36282 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36283 PyObject
*resultobj
;
36284 wxSizer
*arg1
= (wxSizer
*) 0 ;
36285 PyObject
* obj0
= 0 ;
36286 char *kwnames
[] = {
36287 (char *) "self", NULL
36290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 Py_INCREF(Py_None
); resultobj
= Py_None
;
36307 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
;
36309 wxSizer
*arg1
= (wxSizer
*) 0 ;
36310 wxWindow
*arg2
= (wxWindow
*) 0 ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 char *kwnames
[] = {
36315 (char *) "self",(char *) "window", NULL
36318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36325 result
= (arg1
)->Fit(arg2
);
36327 wxPyEndAllowThreads(__tstate
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36331 wxSize
* resultptr
;
36332 resultptr
= new wxSize((wxSize
&) result
);
36333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36341 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36342 PyObject
*resultobj
;
36343 wxSizer
*arg1
= (wxSizer
*) 0 ;
36344 wxWindow
*arg2
= (wxWindow
*) 0 ;
36345 PyObject
* obj0
= 0 ;
36346 PyObject
* obj1
= 0 ;
36347 char *kwnames
[] = {
36348 (char *) "self",(char *) "window", NULL
36351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36358 (arg1
)->FitInside(arg2
);
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 Py_INCREF(Py_None
); resultobj
= Py_None
;
36370 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36371 PyObject
*resultobj
;
36372 wxSizer
*arg1
= (wxSizer
*) 0 ;
36373 wxWindow
*arg2
= (wxWindow
*) 0 ;
36374 PyObject
* obj0
= 0 ;
36375 PyObject
* obj1
= 0 ;
36376 char *kwnames
[] = {
36377 (char *) "self",(char *) "window", NULL
36380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36387 (arg1
)->SetSizeHints(arg2
);
36389 wxPyEndAllowThreads(__tstate
);
36390 if (PyErr_Occurred()) SWIG_fail
;
36392 Py_INCREF(Py_None
); resultobj
= Py_None
;
36399 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36400 PyObject
*resultobj
;
36401 wxSizer
*arg1
= (wxSizer
*) 0 ;
36402 wxWindow
*arg2
= (wxWindow
*) 0 ;
36403 PyObject
* obj0
= 0 ;
36404 PyObject
* obj1
= 0 ;
36405 char *kwnames
[] = {
36406 (char *) "self",(char *) "window", NULL
36409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->SetVirtualSizeHints(arg2
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 Py_INCREF(Py_None
); resultobj
= Py_None
;
36428 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
;
36430 wxSizer
*arg1
= (wxSizer
*) 0 ;
36431 bool arg2
= (bool) false ;
36432 PyObject
* obj0
= 0 ;
36433 PyObject
* obj1
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self",(char *) "deleteWindows", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36442 arg2
= (bool)SWIG_As_bool(obj1
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36447 (arg1
)->Clear(arg2
);
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36452 Py_INCREF(Py_None
); resultobj
= Py_None
;
36459 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36460 PyObject
*resultobj
;
36461 wxSizer
*arg1
= (wxSizer
*) 0 ;
36462 PyObject
* obj0
= 0 ;
36463 char *kwnames
[] = {
36464 (char *) "self", NULL
36467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 (arg1
)->DeleteWindows();
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 Py_INCREF(Py_None
); resultobj
= Py_None
;
36484 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
;
36486 wxSizer
*arg1
= (wxSizer
*) 0 ;
36488 PyObject
* obj0
= 0 ;
36489 char *kwnames
[] = {
36490 (char *) "self", NULL
36493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36498 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36500 wxPyEndAllowThreads(__tstate
);
36501 if (PyErr_Occurred()) SWIG_fail
;
36503 resultobj
= result
;
36510 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36511 PyObject
*resultobj
;
36512 wxSizer
*arg1
= (wxSizer
*) 0 ;
36513 PyObject
*arg2
= (PyObject
*) 0 ;
36514 bool arg3
= (bool) true ;
36515 bool arg4
= (bool) false ;
36517 PyObject
* obj0
= 0 ;
36518 PyObject
* obj1
= 0 ;
36519 PyObject
* obj2
= 0 ;
36520 PyObject
* obj3
= 0 ;
36521 char *kwnames
[] = {
36522 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36530 arg3
= (bool)SWIG_As_bool(obj2
);
36531 if (PyErr_Occurred()) SWIG_fail
;
36534 arg4
= (bool)SWIG_As_bool(obj3
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36539 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36553 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36554 PyObject
*resultobj
;
36555 wxSizer
*arg1
= (wxSizer
*) 0 ;
36556 PyObject
*arg2
= (PyObject
*) 0 ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 char *kwnames
[] = {
36561 (char *) "self",(char *) "item", NULL
36564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36570 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36572 wxPyEndAllowThreads(__tstate
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36584 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36585 PyObject
*resultobj
;
36586 wxSizer
*arg1
= (wxSizer
*) 0 ;
36588 PyObject
* obj0
= 0 ;
36589 PyObject
* obj1
= 0 ;
36590 char *kwnames
[] = {
36591 (char *) "self",(char *) "show", NULL
36594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36597 arg2
= (bool)SWIG_As_bool(obj1
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 (arg1
)->ShowItems(arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 Py_INCREF(Py_None
); resultobj
= Py_None
;
36613 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36616 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36618 return Py_BuildValue((char *)"");
36620 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36621 PyObject
*resultobj
;
36623 char *kwnames
[] = {
36627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 result
= (wxPySizer
*)new wxPySizer();
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36642 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
;
36644 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36645 PyObject
*arg2
= (PyObject
*) 0 ;
36646 PyObject
*arg3
= (PyObject
*) 0 ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 PyObject
* obj2
= 0 ;
36650 char *kwnames
[] = {
36651 (char *) "self",(char *) "self",(char *) "_class", NULL
36654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 Py_INCREF(Py_None
); resultobj
= Py_None
;
36673 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36676 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36678 return Py_BuildValue((char *)"");
36680 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36681 PyObject
*resultobj
;
36682 int arg1
= (int) wxHORIZONTAL
;
36683 wxBoxSizer
*result
;
36684 PyObject
* obj0
= 0 ;
36685 char *kwnames
[] = {
36686 (char *) "orient", NULL
36689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36691 arg1
= (int)SWIG_As_int(obj0
);
36692 if (PyErr_Occurred()) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36708 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
;
36710 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36712 PyObject
* obj0
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "self", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 result
= (int)(arg1
)->GetOrientation();
36724 wxPyEndAllowThreads(__tstate
);
36725 if (PyErr_Occurred()) SWIG_fail
;
36727 resultobj
= SWIG_From_int((int)result
);
36734 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36735 PyObject
*resultobj
;
36736 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36738 PyObject
* obj0
= 0 ;
36739 PyObject
* obj1
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self",(char *) "orient", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36747 arg2
= (int)SWIG_As_int(obj1
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36751 (arg1
)->SetOrientation(arg2
);
36753 wxPyEndAllowThreads(__tstate
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36756 Py_INCREF(Py_None
); resultobj
= Py_None
;
36763 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36766 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36768 return Py_BuildValue((char *)"");
36770 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36771 PyObject
*resultobj
;
36772 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36773 int arg2
= (int) wxHORIZONTAL
;
36774 wxStaticBoxSizer
*result
;
36775 PyObject
* obj0
= 0 ;
36776 PyObject
* obj1
= 0 ;
36777 char *kwnames
[] = {
36778 (char *) "box",(char *) "orient", NULL
36781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36785 arg2
= (int)SWIG_As_int(obj1
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36790 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36792 wxPyEndAllowThreads(__tstate
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36802 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36803 PyObject
*resultobj
;
36804 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36805 wxStaticBox
*result
;
36806 PyObject
* obj0
= 0 ;
36807 char *kwnames
[] = {
36808 (char *) "self", NULL
36811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36816 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36818 wxPyEndAllowThreads(__tstate
);
36819 if (PyErr_Occurred()) SWIG_fail
;
36822 resultobj
= wxPyMake_wxObject(result
, 0);
36830 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36833 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36835 return Py_BuildValue((char *)"");
36837 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36838 PyObject
*resultobj
;
36839 int arg1
= (int) 1 ;
36840 int arg2
= (int) 0 ;
36841 int arg3
= (int) 0 ;
36842 int arg4
= (int) 0 ;
36843 wxGridSizer
*result
;
36844 PyObject
* obj0
= 0 ;
36845 PyObject
* obj1
= 0 ;
36846 PyObject
* obj2
= 0 ;
36847 PyObject
* obj3
= 0 ;
36848 char *kwnames
[] = {
36849 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36854 arg1
= (int)SWIG_As_int(obj0
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36858 arg2
= (int)SWIG_As_int(obj1
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36862 arg3
= (int)SWIG_As_int(obj2
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36866 arg4
= (int)SWIG_As_int(obj3
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36883 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36884 PyObject
*resultobj
;
36885 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36887 PyObject
* obj0
= 0 ;
36888 PyObject
* obj1
= 0 ;
36889 char *kwnames
[] = {
36890 (char *) "self",(char *) "cols", NULL
36893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36896 arg2
= (int)SWIG_As_int(obj1
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 (arg1
)->SetCols(arg2
);
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36905 Py_INCREF(Py_None
); resultobj
= Py_None
;
36912 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36913 PyObject
*resultobj
;
36914 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36916 PyObject
* obj0
= 0 ;
36917 PyObject
* obj1
= 0 ;
36918 char *kwnames
[] = {
36919 (char *) "self",(char *) "rows", NULL
36922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36925 arg2
= (int)SWIG_As_int(obj1
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36929 (arg1
)->SetRows(arg2
);
36931 wxPyEndAllowThreads(__tstate
);
36932 if (PyErr_Occurred()) SWIG_fail
;
36934 Py_INCREF(Py_None
); resultobj
= Py_None
;
36941 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36942 PyObject
*resultobj
;
36943 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36945 PyObject
* obj0
= 0 ;
36946 PyObject
* obj1
= 0 ;
36947 char *kwnames
[] = {
36948 (char *) "self",(char *) "gap", NULL
36951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36954 arg2
= (int)SWIG_As_int(obj1
);
36955 if (PyErr_Occurred()) SWIG_fail
;
36957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36958 (arg1
)->SetVGap(arg2
);
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36963 Py_INCREF(Py_None
); resultobj
= Py_None
;
36970 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36971 PyObject
*resultobj
;
36972 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36974 PyObject
* obj0
= 0 ;
36975 PyObject
* obj1
= 0 ;
36976 char *kwnames
[] = {
36977 (char *) "self",(char *) "gap", NULL
36980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36983 arg2
= (int)SWIG_As_int(obj1
);
36984 if (PyErr_Occurred()) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->SetHGap(arg2
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 Py_INCREF(Py_None
); resultobj
= Py_None
;
36999 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37000 PyObject
*resultobj
;
37001 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37003 PyObject
* obj0
= 0 ;
37004 char *kwnames
[] = {
37005 (char *) "self", NULL
37008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37013 result
= (int)(arg1
)->GetCols();
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37018 resultobj
= SWIG_From_int((int)result
);
37025 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37026 PyObject
*resultobj
;
37027 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37029 PyObject
* obj0
= 0 ;
37030 char *kwnames
[] = {
37031 (char *) "self", NULL
37034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 result
= (int)(arg1
)->GetRows();
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37044 resultobj
= SWIG_From_int((int)result
);
37051 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37052 PyObject
*resultobj
;
37053 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37055 PyObject
* obj0
= 0 ;
37056 char *kwnames
[] = {
37057 (char *) "self", NULL
37060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37065 result
= (int)(arg1
)->GetVGap();
37067 wxPyEndAllowThreads(__tstate
);
37068 if (PyErr_Occurred()) SWIG_fail
;
37070 resultobj
= SWIG_From_int((int)result
);
37077 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37078 PyObject
*resultobj
;
37079 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37081 PyObject
* obj0
= 0 ;
37082 char *kwnames
[] = {
37083 (char *) "self", NULL
37086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37091 result
= (int)(arg1
)->GetHGap();
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= SWIG_From_int((int)result
);
37103 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37106 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37108 return Py_BuildValue((char *)"");
37110 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37111 PyObject
*resultobj
;
37112 int arg1
= (int) 1 ;
37113 int arg2
= (int) 0 ;
37114 int arg3
= (int) 0 ;
37115 int arg4
= (int) 0 ;
37116 wxFlexGridSizer
*result
;
37117 PyObject
* obj0
= 0 ;
37118 PyObject
* obj1
= 0 ;
37119 PyObject
* obj2
= 0 ;
37120 PyObject
* obj3
= 0 ;
37121 char *kwnames
[] = {
37122 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37127 arg1
= (int)SWIG_As_int(obj0
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37131 arg2
= (int)SWIG_As_int(obj1
);
37132 if (PyErr_Occurred()) SWIG_fail
;
37135 arg3
= (int)SWIG_As_int(obj2
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37139 arg4
= (int)SWIG_As_int(obj3
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37146 wxPyEndAllowThreads(__tstate
);
37147 if (PyErr_Occurred()) SWIG_fail
;
37149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37156 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
;
37158 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37160 int arg3
= (int) 0 ;
37161 PyObject
* obj0
= 0 ;
37162 PyObject
* obj1
= 0 ;
37163 PyObject
* obj2
= 0 ;
37164 char *kwnames
[] = {
37165 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37171 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37172 if (PyErr_Occurred()) SWIG_fail
;
37174 arg3
= (int)SWIG_As_int(obj2
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 (arg1
)->AddGrowableRow(arg2
,arg3
);
37181 wxPyEndAllowThreads(__tstate
);
37182 if (PyErr_Occurred()) SWIG_fail
;
37184 Py_INCREF(Py_None
); resultobj
= Py_None
;
37191 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37192 PyObject
*resultobj
;
37193 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37195 PyObject
* obj0
= 0 ;
37196 PyObject
* obj1
= 0 ;
37197 char *kwnames
[] = {
37198 (char *) "self",(char *) "idx", NULL
37201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37204 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37208 (arg1
)->RemoveGrowableRow(arg2
);
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37213 Py_INCREF(Py_None
); resultobj
= Py_None
;
37220 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37221 PyObject
*resultobj
;
37222 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37224 int arg3
= (int) 0 ;
37225 PyObject
* obj0
= 0 ;
37226 PyObject
* obj1
= 0 ;
37227 PyObject
* obj2
= 0 ;
37228 char *kwnames
[] = {
37229 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37235 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 arg3
= (int)SWIG_As_int(obj2
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 (arg1
)->AddGrowableCol(arg2
,arg3
);
37245 wxPyEndAllowThreads(__tstate
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37248 Py_INCREF(Py_None
); resultobj
= Py_None
;
37255 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37256 PyObject
*resultobj
;
37257 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 char *kwnames
[] = {
37262 (char *) "self",(char *) "idx", NULL
37265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37268 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 (arg1
)->RemoveGrowableCol(arg2
);
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37277 Py_INCREF(Py_None
); resultobj
= Py_None
;
37284 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(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 *) "direction", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",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
)->SetFlexibleDirection(arg2
);
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37306 Py_INCREF(Py_None
); resultobj
= Py_None
;
37313 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(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_GetFlexibleDirection",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
)->GetFlexibleDirection();
37329 wxPyEndAllowThreads(__tstate
);
37330 if (PyErr_Occurred()) SWIG_fail
;
37332 resultobj
= SWIG_From_int((int)result
);
37339 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37340 PyObject
*resultobj
;
37341 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37343 PyObject
* obj0
= 0 ;
37344 PyObject
* obj1
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self",(char *) "mode", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37352 arg2
= (int)SWIG_As_int(obj1
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37356 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37361 Py_INCREF(Py_None
); resultobj
= Py_None
;
37368 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37369 PyObject
*resultobj
;
37370 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37372 PyObject
* obj0
= 0 ;
37373 char *kwnames
[] = {
37374 (char *) "self", NULL
37377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37384 wxPyEndAllowThreads(__tstate
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37387 resultobj
= SWIG_From_int((int)result
);
37394 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37395 PyObject
*resultobj
;
37396 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37397 wxArrayInt
*result
;
37398 PyObject
* obj0
= 0 ;
37399 char *kwnames
[] = {
37400 (char *) "self", NULL
37403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37409 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37410 result
= (wxArrayInt
*) &_result_ref
;
37413 wxPyEndAllowThreads(__tstate
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= PyList_New(0);
37419 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37420 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37421 PyList_Append(resultobj
, val
);
37431 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37432 PyObject
*resultobj
;
37433 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37434 wxArrayInt
*result
;
37435 PyObject
* obj0
= 0 ;
37436 char *kwnames
[] = {
37437 (char *) "self", NULL
37440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37447 result
= (wxArrayInt
*) &_result_ref
;
37450 wxPyEndAllowThreads(__tstate
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= PyList_New(0);
37456 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37457 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37458 PyList_Append(resultobj
, val
);
37468 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37471 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37473 return Py_BuildValue((char *)"");
37475 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37476 PyObject
*resultobj
;
37477 int arg1
= (int) 0 ;
37478 int arg2
= (int) 0 ;
37479 wxGBPosition
*result
;
37480 PyObject
* obj0
= 0 ;
37481 PyObject
* obj1
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "row",(char *) "col", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37488 arg1
= (int)SWIG_As_int(obj0
);
37489 if (PyErr_Occurred()) SWIG_fail
;
37492 arg2
= (int)SWIG_As_int(obj1
);
37493 if (PyErr_Occurred()) SWIG_fail
;
37496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37497 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37499 wxPyEndAllowThreads(__tstate
);
37500 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37509 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37510 PyObject
*resultobj
;
37511 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37513 PyObject
* obj0
= 0 ;
37514 char *kwnames
[] = {
37515 (char *) "self", NULL
37518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37523 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37525 wxPyEndAllowThreads(__tstate
);
37526 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= SWIG_From_int((int)result
);
37535 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37536 PyObject
*resultobj
;
37537 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37539 PyObject
* obj0
= 0 ;
37540 char *kwnames
[] = {
37541 (char *) "self", NULL
37544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37549 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37554 resultobj
= SWIG_From_int((int)result
);
37561 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37562 PyObject
*resultobj
;
37563 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37565 PyObject
* obj0
= 0 ;
37566 PyObject
* obj1
= 0 ;
37567 char *kwnames
[] = {
37568 (char *) "self",(char *) "row", NULL
37571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37574 arg2
= (int)SWIG_As_int(obj1
);
37575 if (PyErr_Occurred()) SWIG_fail
;
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 (arg1
)->SetRow(arg2
);
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37583 Py_INCREF(Py_None
); resultobj
= Py_None
;
37590 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37591 PyObject
*resultobj
;
37592 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 char *kwnames
[] = {
37597 (char *) "self",(char *) "col", NULL
37600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37603 arg2
= (int)SWIG_As_int(obj1
);
37604 if (PyErr_Occurred()) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 (arg1
)->SetCol(arg2
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 Py_INCREF(Py_None
); resultobj
= Py_None
;
37619 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
;
37621 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37622 wxGBPosition
*arg2
= 0 ;
37624 wxGBPosition temp2
;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 char *kwnames
[] = {
37628 (char *) "self",(char *) "other", NULL
37631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37636 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37640 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37642 wxPyEndAllowThreads(__tstate
);
37643 if (PyErr_Occurred()) SWIG_fail
;
37646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37654 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37655 PyObject
*resultobj
;
37656 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37657 wxGBPosition
*arg2
= 0 ;
37659 wxGBPosition temp2
;
37660 PyObject
* obj0
= 0 ;
37661 PyObject
* obj1
= 0 ;
37662 char *kwnames
[] = {
37663 (char *) "self",(char *) "other", NULL
37666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37671 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37675 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37689 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37690 PyObject
*resultobj
;
37691 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37692 int arg2
= (int) 0 ;
37693 int arg3
= (int) 0 ;
37694 PyObject
* obj0
= 0 ;
37695 PyObject
* obj1
= 0 ;
37696 PyObject
* obj2
= 0 ;
37697 char *kwnames
[] = {
37698 (char *) "self",(char *) "row",(char *) "col", NULL
37701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37705 arg2
= (int)SWIG_As_int(obj1
);
37706 if (PyErr_Occurred()) SWIG_fail
;
37709 arg3
= (int)SWIG_As_int(obj2
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 wxGBPosition_Set(arg1
,arg2
,arg3
);
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 Py_INCREF(Py_None
); resultobj
= Py_None
;
37726 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37727 PyObject
*resultobj
;
37728 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37730 PyObject
* obj0
= 0 ;
37731 char *kwnames
[] = {
37732 (char *) "self", NULL
37735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 resultobj
= result
;
37752 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37755 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37757 return Py_BuildValue((char *)"");
37759 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37760 PyObject
*resultobj
;
37761 int arg1
= (int) 1 ;
37762 int arg2
= (int) 1 ;
37764 PyObject
* obj0
= 0 ;
37765 PyObject
* obj1
= 0 ;
37766 char *kwnames
[] = {
37767 (char *) "rowspan",(char *) "colspan", NULL
37770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37772 arg1
= (int)SWIG_As_int(obj0
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37776 arg2
= (int)SWIG_As_int(obj1
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37781 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37793 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37794 PyObject
*resultobj
;
37795 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37797 PyObject
* obj0
= 0 ;
37798 char *kwnames
[] = {
37799 (char *) "self", NULL
37802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37807 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37812 resultobj
= SWIG_From_int((int)result
);
37819 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37820 PyObject
*resultobj
;
37821 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37823 PyObject
* obj0
= 0 ;
37824 char *kwnames
[] = {
37825 (char *) "self", NULL
37828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37835 wxPyEndAllowThreads(__tstate
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37838 resultobj
= SWIG_From_int((int)result
);
37845 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
;
37847 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37849 PyObject
* obj0
= 0 ;
37850 PyObject
* obj1
= 0 ;
37851 char *kwnames
[] = {
37852 (char *) "self",(char *) "rowspan", NULL
37855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37858 arg2
= (int)SWIG_As_int(obj1
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37862 (arg1
)->SetRowspan(arg2
);
37864 wxPyEndAllowThreads(__tstate
);
37865 if (PyErr_Occurred()) SWIG_fail
;
37867 Py_INCREF(Py_None
); resultobj
= Py_None
;
37874 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37875 PyObject
*resultobj
;
37876 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37878 PyObject
* obj0
= 0 ;
37879 PyObject
* obj1
= 0 ;
37880 char *kwnames
[] = {
37881 (char *) "self",(char *) "colspan", NULL
37884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37887 arg2
= (int)SWIG_As_int(obj1
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->SetColspan(arg2
);
37893 wxPyEndAllowThreads(__tstate
);
37894 if (PyErr_Occurred()) SWIG_fail
;
37896 Py_INCREF(Py_None
); resultobj
= Py_None
;
37903 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37904 PyObject
*resultobj
;
37905 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37906 wxGBSpan
*arg2
= 0 ;
37909 PyObject
* obj0
= 0 ;
37910 PyObject
* obj1
= 0 ;
37911 char *kwnames
[] = {
37912 (char *) "self",(char *) "other", NULL
37915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37920 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37938 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
;
37940 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37941 wxGBSpan
*arg2
= 0 ;
37944 PyObject
* obj0
= 0 ;
37945 PyObject
* obj1
= 0 ;
37946 char *kwnames
[] = {
37947 (char *) "self",(char *) "other", NULL
37950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37955 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37959 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37973 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
;
37975 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37976 int arg2
= (int) 1 ;
37977 int arg3
= (int) 1 ;
37978 PyObject
* obj0
= 0 ;
37979 PyObject
* obj1
= 0 ;
37980 PyObject
* obj2
= 0 ;
37981 char *kwnames
[] = {
37982 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37989 arg2
= (int)SWIG_As_int(obj1
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37993 arg3
= (int)SWIG_As_int(obj2
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37998 wxGBSpan_Set(arg1
,arg2
,arg3
);
38000 wxPyEndAllowThreads(__tstate
);
38001 if (PyErr_Occurred()) SWIG_fail
;
38003 Py_INCREF(Py_None
); resultobj
= Py_None
;
38010 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38011 PyObject
*resultobj
;
38012 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38014 PyObject
* obj0
= 0 ;
38015 char *kwnames
[] = {
38016 (char *) "self", NULL
38019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= result
;
38036 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38039 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38041 return Py_BuildValue((char *)"");
38043 static int _wrap_DefaultSpan_set(PyObject
*) {
38044 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38049 static PyObject
*_wrap_DefaultSpan_get() {
38052 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38057 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
;
38059 wxGBSizerItem
*result
;
38060 char *kwnames
[] = {
38064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38079 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38080 PyObject
*resultobj
;
38081 wxWindow
*arg1
= (wxWindow
*) 0 ;
38082 wxGBPosition
*arg2
= 0 ;
38083 wxGBSpan
*arg3
= 0 ;
38086 PyObject
*arg6
= (PyObject
*) NULL
;
38087 wxGBSizerItem
*result
;
38088 wxGBPosition temp2
;
38090 PyObject
* obj0
= 0 ;
38091 PyObject
* obj1
= 0 ;
38092 PyObject
* obj2
= 0 ;
38093 PyObject
* obj3
= 0 ;
38094 PyObject
* obj4
= 0 ;
38095 PyObject
* obj5
= 0 ;
38096 char *kwnames
[] = {
38097 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38105 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38109 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38111 arg4
= (int)SWIG_As_int(obj3
);
38112 if (PyErr_Occurred()) SWIG_fail
;
38113 arg5
= (int)SWIG_As_int(obj4
);
38114 if (PyErr_Occurred()) SWIG_fail
;
38119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38120 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38122 wxPyEndAllowThreads(__tstate
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38132 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38133 PyObject
*resultobj
;
38134 wxSizer
*arg1
= (wxSizer
*) 0 ;
38135 wxGBPosition
*arg2
= 0 ;
38136 wxGBSpan
*arg3
= 0 ;
38139 PyObject
*arg6
= (PyObject
*) NULL
;
38140 wxGBSizerItem
*result
;
38141 wxGBPosition temp2
;
38143 PyObject
* obj0
= 0 ;
38144 PyObject
* obj1
= 0 ;
38145 PyObject
* obj2
= 0 ;
38146 PyObject
* obj3
= 0 ;
38147 PyObject
* obj4
= 0 ;
38148 PyObject
* obj5
= 0 ;
38149 char *kwnames
[] = {
38150 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38158 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38162 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38164 arg4
= (int)SWIG_As_int(obj3
);
38165 if (PyErr_Occurred()) SWIG_fail
;
38166 arg5
= (int)SWIG_As_int(obj4
);
38167 if (PyErr_Occurred()) SWIG_fail
;
38172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38173 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38185 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38186 PyObject
*resultobj
;
38189 wxGBPosition
*arg3
= 0 ;
38190 wxGBSpan
*arg4
= 0 ;
38193 PyObject
*arg7
= (PyObject
*) NULL
;
38194 wxGBSizerItem
*result
;
38195 wxGBPosition temp3
;
38197 PyObject
* obj0
= 0 ;
38198 PyObject
* obj1
= 0 ;
38199 PyObject
* obj2
= 0 ;
38200 PyObject
* obj3
= 0 ;
38201 PyObject
* obj4
= 0 ;
38202 PyObject
* obj5
= 0 ;
38203 PyObject
* obj6
= 0 ;
38204 char *kwnames
[] = {
38205 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38209 arg1
= (int)SWIG_As_int(obj0
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38211 arg2
= (int)SWIG_As_int(obj1
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38215 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38219 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38221 arg5
= (int)SWIG_As_int(obj4
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38223 arg6
= (int)SWIG_As_int(obj5
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38242 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38243 PyObject
*resultobj
;
38244 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38245 wxGBPosition result
;
38246 PyObject
* obj0
= 0 ;
38247 char *kwnames
[] = {
38248 (char *) "self", NULL
38251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38256 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38258 wxPyEndAllowThreads(__tstate
);
38259 if (PyErr_Occurred()) SWIG_fail
;
38262 wxGBPosition
* resultptr
;
38263 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38272 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38273 PyObject
*resultobj
;
38274 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38276 PyObject
* obj0
= 0 ;
38277 char *kwnames
[] = {
38278 (char *) "self", NULL
38281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38286 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38288 wxPyEndAllowThreads(__tstate
);
38289 if (PyErr_Occurred()) SWIG_fail
;
38292 wxGBSpan
* resultptr
;
38293 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38302 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
;
38304 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38305 wxGBPosition
*arg2
= 0 ;
38307 wxGBPosition temp2
;
38308 PyObject
* obj0
= 0 ;
38309 PyObject
* obj1
= 0 ;
38310 char *kwnames
[] = {
38311 (char *) "self",(char *) "pos", NULL
38314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38319 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38323 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38325 wxPyEndAllowThreads(__tstate
);
38326 if (PyErr_Occurred()) SWIG_fail
;
38329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38337 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
;
38339 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38340 wxGBSpan
*arg2
= 0 ;
38343 PyObject
* obj0
= 0 ;
38344 PyObject
* obj1
= 0 ;
38345 char *kwnames
[] = {
38346 (char *) "self",(char *) "span", NULL
38349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38354 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38360 wxPyEndAllowThreads(__tstate
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38372 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38373 PyObject
*resultobj
;
38374 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38375 wxGBSizerItem
*arg2
= 0 ;
38377 PyObject
* obj0
= 0 ;
38378 PyObject
* obj1
= 0 ;
38379 char *kwnames
[] = {
38380 (char *) "self",(char *) "other", NULL
38383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38389 if (arg2
== NULL
) {
38390 PyErr_SetString(PyExc_TypeError
,"null reference");
38394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38395 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38397 wxPyEndAllowThreads(__tstate
);
38398 if (PyErr_Occurred()) SWIG_fail
;
38401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38409 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38410 PyObject
*resultobj
;
38411 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38412 wxGBPosition
*arg2
= 0 ;
38413 wxGBSpan
*arg3
= 0 ;
38415 wxGBPosition temp2
;
38417 PyObject
* obj0
= 0 ;
38418 PyObject
* obj1
= 0 ;
38419 PyObject
* obj2
= 0 ;
38420 char *kwnames
[] = {
38421 (char *) "self",(char *) "pos",(char *) "span", NULL
38424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38429 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38433 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38437 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38439 wxPyEndAllowThreads(__tstate
);
38440 if (PyErr_Occurred()) SWIG_fail
;
38443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38451 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38452 PyObject
*resultobj
;
38453 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38454 wxGBPosition result
;
38455 PyObject
* obj0
= 0 ;
38456 char *kwnames
[] = {
38457 (char *) "self", NULL
38460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38465 result
= wxGBSizerItem_GetEndPos(arg1
);
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38471 wxGBPosition
* resultptr
;
38472 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38481 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38482 PyObject
*resultobj
;
38483 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38484 wxGridBagSizer
*result
;
38485 PyObject
* obj0
= 0 ;
38486 char *kwnames
[] = {
38487 (char *) "self", NULL
38490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38495 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38507 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38508 PyObject
*resultobj
;
38509 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38510 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38511 PyObject
* obj0
= 0 ;
38512 PyObject
* obj1
= 0 ;
38513 char *kwnames
[] = {
38514 (char *) "self",(char *) "sizer", NULL
38517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38524 (arg1
)->SetGBSizer(arg2
);
38526 wxPyEndAllowThreads(__tstate
);
38527 if (PyErr_Occurred()) SWIG_fail
;
38529 Py_INCREF(Py_None
); resultobj
= Py_None
;
38536 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38539 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38541 return Py_BuildValue((char *)"");
38543 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38544 PyObject
*resultobj
;
38545 int arg1
= (int) 0 ;
38546 int arg2
= (int) 0 ;
38547 wxGridBagSizer
*result
;
38548 PyObject
* obj0
= 0 ;
38549 PyObject
* obj1
= 0 ;
38550 char *kwnames
[] = {
38551 (char *) "vgap",(char *) "hgap", NULL
38554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38556 arg1
= (int)SWIG_As_int(obj0
);
38557 if (PyErr_Occurred()) SWIG_fail
;
38560 arg2
= (int)SWIG_As_int(obj1
);
38561 if (PyErr_Occurred()) SWIG_fail
;
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38567 wxPyEndAllowThreads(__tstate
);
38568 if (PyErr_Occurred()) SWIG_fail
;
38570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38577 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38578 PyObject
*resultobj
;
38579 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38580 PyObject
*arg2
= (PyObject
*) 0 ;
38581 wxGBPosition
*arg3
= 0 ;
38582 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38583 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38584 int arg5
= (int) 0 ;
38585 int arg6
= (int) 0 ;
38586 PyObject
*arg7
= (PyObject
*) NULL
;
38587 wxGBSizerItem
*result
;
38588 wxGBPosition temp3
;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 PyObject
* obj2
= 0 ;
38593 PyObject
* obj3
= 0 ;
38594 PyObject
* obj4
= 0 ;
38595 PyObject
* obj5
= 0 ;
38596 PyObject
* obj6
= 0 ;
38597 char *kwnames
[] = {
38598 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38607 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38612 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38616 arg5
= (int)SWIG_As_int(obj4
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38620 arg6
= (int)SWIG_As_int(obj5
);
38621 if (PyErr_Occurred()) SWIG_fail
;
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38630 wxPyEndAllowThreads(__tstate
);
38631 if (PyErr_Occurred()) SWIG_fail
;
38633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38640 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
;
38642 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38643 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38644 wxGBSizerItem
*result
;
38645 PyObject
* obj0
= 0 ;
38646 PyObject
* obj1
= 0 ;
38647 char *kwnames
[] = {
38648 (char *) "self",(char *) "item", NULL
38651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38658 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38670 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38671 PyObject
*resultobj
;
38672 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38676 PyObject
* obj0
= 0 ;
38677 PyObject
* obj1
= 0 ;
38678 PyObject
* obj2
= 0 ;
38679 char *kwnames
[] = {
38680 (char *) "self",(char *) "row",(char *) "col", NULL
38683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38686 arg2
= (int)SWIG_As_int(obj1
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38688 arg3
= (int)SWIG_As_int(obj2
);
38689 if (PyErr_Occurred()) SWIG_fail
;
38691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38692 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38694 wxPyEndAllowThreads(__tstate
);
38695 if (PyErr_Occurred()) SWIG_fail
;
38698 wxSize
* resultptr
;
38699 resultptr
= new wxSize((wxSize
&) result
);
38700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38708 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38709 PyObject
*resultobj
;
38710 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38712 PyObject
* obj0
= 0 ;
38713 char *kwnames
[] = {
38714 (char *) "self", NULL
38717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38724 wxPyEndAllowThreads(__tstate
);
38725 if (PyErr_Occurred()) SWIG_fail
;
38728 wxSize
* resultptr
;
38729 resultptr
= new wxSize((wxSize
&) result
);
38730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38738 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38739 PyObject
*resultobj
;
38740 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38743 PyObject
* obj0
= 0 ;
38744 PyObject
* obj1
= 0 ;
38745 char *kwnames
[] = {
38746 (char *) "self",(char *) "sz", NULL
38749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38754 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38760 wxPyEndAllowThreads(__tstate
);
38761 if (PyErr_Occurred()) SWIG_fail
;
38763 Py_INCREF(Py_None
); resultobj
= Py_None
;
38770 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38771 PyObject
*resultobj
;
38772 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38773 wxWindow
*arg2
= (wxWindow
*) 0 ;
38774 wxGBPosition result
;
38775 PyObject
* obj0
= 0 ;
38776 PyObject
* obj1
= 0 ;
38778 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38785 result
= (arg1
)->GetItemPosition(arg2
);
38787 wxPyEndAllowThreads(__tstate
);
38788 if (PyErr_Occurred()) SWIG_fail
;
38791 wxGBPosition
* resultptr
;
38792 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38801 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38802 PyObject
*resultobj
;
38803 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38804 wxSizer
*arg2
= (wxSizer
*) 0 ;
38805 wxGBPosition result
;
38806 PyObject
* obj0
= 0 ;
38807 PyObject
* obj1
= 0 ;
38809 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38816 result
= (arg1
)->GetItemPosition(arg2
);
38818 wxPyEndAllowThreads(__tstate
);
38819 if (PyErr_Occurred()) SWIG_fail
;
38822 wxGBPosition
* resultptr
;
38823 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38832 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38833 PyObject
*resultobj
;
38834 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38836 wxGBPosition result
;
38837 PyObject
* obj0
= 0 ;
38838 PyObject
* obj1
= 0 ;
38840 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38843 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38847 result
= (arg1
)->GetItemPosition(arg2
);
38849 wxPyEndAllowThreads(__tstate
);
38850 if (PyErr_Occurred()) SWIG_fail
;
38853 wxGBPosition
* resultptr
;
38854 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38863 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38868 argc
= PyObject_Length(args
);
38869 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38870 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38876 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38886 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38894 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38902 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38912 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38920 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38928 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38936 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38938 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38943 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38948 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38949 PyObject
*resultobj
;
38950 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38951 wxWindow
*arg2
= (wxWindow
*) 0 ;
38952 wxGBPosition
*arg3
= 0 ;
38954 wxGBPosition temp3
;
38955 PyObject
* obj0
= 0 ;
38956 PyObject
* obj1
= 0 ;
38957 PyObject
* obj2
= 0 ;
38959 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38966 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38970 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38972 wxPyEndAllowThreads(__tstate
);
38973 if (PyErr_Occurred()) SWIG_fail
;
38976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38984 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38985 PyObject
*resultobj
;
38986 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38987 wxSizer
*arg2
= (wxSizer
*) 0 ;
38988 wxGBPosition
*arg3
= 0 ;
38990 wxGBPosition temp3
;
38991 PyObject
* obj0
= 0 ;
38992 PyObject
* obj1
= 0 ;
38993 PyObject
* obj2
= 0 ;
38995 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39002 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39020 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39021 PyObject
*resultobj
;
39022 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39024 wxGBPosition
*arg3
= 0 ;
39026 wxGBPosition temp3
;
39027 PyObject
* obj0
= 0 ;
39028 PyObject
* obj1
= 0 ;
39029 PyObject
* obj2
= 0 ;
39031 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39034 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39035 if (PyErr_Occurred()) SWIG_fail
;
39038 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39042 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39044 wxPyEndAllowThreads(__tstate
);
39045 if (PyErr_Occurred()) SWIG_fail
;
39048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39056 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39061 argc
= PyObject_Length(args
);
39062 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39063 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39069 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39079 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39088 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39091 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39100 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39110 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39119 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39122 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39131 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39139 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39142 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39145 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39151 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39156 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39157 PyObject
*resultobj
;
39158 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39159 wxWindow
*arg2
= (wxWindow
*) 0 ;
39161 PyObject
* obj0
= 0 ;
39162 PyObject
* obj1
= 0 ;
39164 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39171 result
= (arg1
)->GetItemSpan(arg2
);
39173 wxPyEndAllowThreads(__tstate
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39177 wxGBSpan
* resultptr
;
39178 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39187 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39188 PyObject
*resultobj
;
39189 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39190 wxSizer
*arg2
= (wxSizer
*) 0 ;
39192 PyObject
* obj0
= 0 ;
39193 PyObject
* obj1
= 0 ;
39195 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39202 result
= (arg1
)->GetItemSpan(arg2
);
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39208 wxGBSpan
* resultptr
;
39209 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39218 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39219 PyObject
*resultobj
;
39220 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39223 PyObject
* obj0
= 0 ;
39224 PyObject
* obj1
= 0 ;
39226 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39229 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39233 result
= (arg1
)->GetItemSpan(arg2
);
39235 wxPyEndAllowThreads(__tstate
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39239 wxGBSpan
* resultptr
;
39240 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39249 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39254 argc
= PyObject_Length(args
);
39255 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39256 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39280 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39298 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39306 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39314 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39322 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39324 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39329 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39334 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39335 PyObject
*resultobj
;
39336 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39337 wxWindow
*arg2
= (wxWindow
*) 0 ;
39338 wxGBSpan
*arg3
= 0 ;
39341 PyObject
* obj0
= 0 ;
39342 PyObject
* obj1
= 0 ;
39343 PyObject
* obj2
= 0 ;
39345 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39352 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39356 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39358 wxPyEndAllowThreads(__tstate
);
39359 if (PyErr_Occurred()) SWIG_fail
;
39362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39370 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39371 PyObject
*resultobj
;
39372 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39373 wxSizer
*arg2
= (wxSizer
*) 0 ;
39374 wxGBSpan
*arg3
= 0 ;
39377 PyObject
* obj0
= 0 ;
39378 PyObject
* obj1
= 0 ;
39379 PyObject
* obj2
= 0 ;
39381 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39388 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39392 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39394 wxPyEndAllowThreads(__tstate
);
39395 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39406 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39407 PyObject
*resultobj
;
39408 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39410 wxGBSpan
*arg3
= 0 ;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 PyObject
* obj2
= 0 ;
39417 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39420 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39421 if (PyErr_Occurred()) SWIG_fail
;
39424 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39428 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39442 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39447 argc
= PyObject_Length(args
);
39448 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39449 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39455 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39465 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39474 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39477 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39486 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39496 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39505 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39508 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39517 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39525 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39528 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39531 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39537 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39542 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39543 PyObject
*resultobj
;
39544 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39545 wxWindow
*arg2
= (wxWindow
*) 0 ;
39546 wxGBSizerItem
*result
;
39547 PyObject
* obj0
= 0 ;
39548 PyObject
* obj1
= 0 ;
39550 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39557 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39559 wxPyEndAllowThreads(__tstate
);
39560 if (PyErr_Occurred()) SWIG_fail
;
39562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39569 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39570 PyObject
*resultobj
;
39571 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39572 wxSizer
*arg2
= (wxSizer
*) 0 ;
39573 wxGBSizerItem
*result
;
39574 PyObject
* obj0
= 0 ;
39575 PyObject
* obj1
= 0 ;
39577 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39596 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39601 argc
= PyObject_Length(args
);
39602 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39603 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39609 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39619 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39627 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39635 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39645 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39653 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39658 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39663 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
;
39665 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39666 wxGBPosition
*arg2
= 0 ;
39667 wxGBSizerItem
*result
;
39668 wxGBPosition temp2
;
39669 PyObject
* obj0
= 0 ;
39670 PyObject
* obj1
= 0 ;
39671 char *kwnames
[] = {
39672 (char *) "self",(char *) "pos", NULL
39675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39680 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39684 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39696 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39697 PyObject
*resultobj
;
39698 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39699 wxPoint
*arg2
= 0 ;
39700 wxGBSizerItem
*result
;
39702 PyObject
* obj0
= 0 ;
39703 PyObject
* obj1
= 0 ;
39704 char *kwnames
[] = {
39705 (char *) "self",(char *) "pt", NULL
39708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39717 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39719 wxPyEndAllowThreads(__tstate
);
39720 if (PyErr_Occurred()) SWIG_fail
;
39722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39729 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39730 PyObject
*resultobj
;
39731 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39732 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39733 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39735 PyObject
* obj0
= 0 ;
39736 PyObject
* obj1
= 0 ;
39737 PyObject
* obj2
= 0 ;
39738 char *kwnames
[] = {
39739 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39748 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39753 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39755 wxPyEndAllowThreads(__tstate
);
39756 if (PyErr_Occurred()) SWIG_fail
;
39759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39767 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39768 PyObject
*resultobj
;
39769 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39770 wxGBPosition
*arg2
= 0 ;
39771 wxGBSpan
*arg3
= 0 ;
39772 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39774 wxGBPosition temp2
;
39776 PyObject
* obj0
= 0 ;
39777 PyObject
* obj1
= 0 ;
39778 PyObject
* obj2
= 0 ;
39779 PyObject
* obj3
= 0 ;
39780 char *kwnames
[] = {
39781 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39789 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39793 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39796 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39801 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39815 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39818 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39820 return Py_BuildValue((char *)"");
39822 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39823 PyObject
*resultobj
;
39824 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39826 wxWindow
*arg3
= (wxWindow
*) 0 ;
39828 int arg5
= (int) 0 ;
39829 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39830 PyObject
* obj0
= 0 ;
39831 PyObject
* obj1
= 0 ;
39832 PyObject
* obj2
= 0 ;
39833 PyObject
* obj3
= 0 ;
39834 PyObject
* obj4
= 0 ;
39835 PyObject
* obj5
= 0 ;
39836 char *kwnames
[] = {
39837 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39843 arg2
= (int)SWIG_As_int(obj1
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39845 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39847 arg4
= (int)SWIG_As_int(obj3
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 arg5
= (int)SWIG_As_int(obj4
);
39851 if (PyErr_Occurred()) SWIG_fail
;
39854 arg6
= (int)SWIG_As_int(obj5
);
39855 if (PyErr_Occurred()) SWIG_fail
;
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39861 wxPyEndAllowThreads(__tstate
);
39862 if (PyErr_Occurred()) SWIG_fail
;
39864 Py_INCREF(Py_None
); resultobj
= Py_None
;
39871 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39872 PyObject
*resultobj
;
39873 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39874 wxWindow
*arg2
= (wxWindow
*) 0 ;
39875 int arg3
= (int) 0 ;
39876 PyObject
* obj0
= 0 ;
39877 PyObject
* obj1
= 0 ;
39878 PyObject
* obj2
= 0 ;
39879 char *kwnames
[] = {
39880 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39889 arg3
= (int)SWIG_As_int(obj2
);
39890 if (PyErr_Occurred()) SWIG_fail
;
39893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39894 (arg1
)->LeftOf(arg2
,arg3
);
39896 wxPyEndAllowThreads(__tstate
);
39897 if (PyErr_Occurred()) SWIG_fail
;
39899 Py_INCREF(Py_None
); resultobj
= Py_None
;
39906 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39907 PyObject
*resultobj
;
39908 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39909 wxWindow
*arg2
= (wxWindow
*) 0 ;
39910 int arg3
= (int) 0 ;
39911 PyObject
* obj0
= 0 ;
39912 PyObject
* obj1
= 0 ;
39913 PyObject
* obj2
= 0 ;
39914 char *kwnames
[] = {
39915 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39924 arg3
= (int)SWIG_As_int(obj2
);
39925 if (PyErr_Occurred()) SWIG_fail
;
39928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39929 (arg1
)->RightOf(arg2
,arg3
);
39931 wxPyEndAllowThreads(__tstate
);
39932 if (PyErr_Occurred()) SWIG_fail
;
39934 Py_INCREF(Py_None
); resultobj
= Py_None
;
39941 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39942 PyObject
*resultobj
;
39943 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39944 wxWindow
*arg2
= (wxWindow
*) 0 ;
39945 int arg3
= (int) 0 ;
39946 PyObject
* obj0
= 0 ;
39947 PyObject
* obj1
= 0 ;
39948 PyObject
* obj2
= 0 ;
39949 char *kwnames
[] = {
39950 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39959 arg3
= (int)SWIG_As_int(obj2
);
39960 if (PyErr_Occurred()) SWIG_fail
;
39963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39964 (arg1
)->Above(arg2
,arg3
);
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 Py_INCREF(Py_None
); resultobj
= Py_None
;
39976 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
;
39978 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39979 wxWindow
*arg2
= (wxWindow
*) 0 ;
39980 int arg3
= (int) 0 ;
39981 PyObject
* obj0
= 0 ;
39982 PyObject
* obj1
= 0 ;
39983 PyObject
* obj2
= 0 ;
39984 char *kwnames
[] = {
39985 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39994 arg3
= (int)SWIG_As_int(obj2
);
39995 if (PyErr_Occurred()) SWIG_fail
;
39998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39999 (arg1
)->Below(arg2
,arg3
);
40001 wxPyEndAllowThreads(__tstate
);
40002 if (PyErr_Occurred()) SWIG_fail
;
40004 Py_INCREF(Py_None
); resultobj
= Py_None
;
40011 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40014 wxWindow
*arg2
= (wxWindow
*) 0 ;
40016 int arg4
= (int) 0 ;
40017 PyObject
* obj0
= 0 ;
40018 PyObject
* obj1
= 0 ;
40019 PyObject
* obj2
= 0 ;
40020 PyObject
* obj3
= 0 ;
40021 char *kwnames
[] = {
40022 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40030 arg3
= (int)SWIG_As_int(obj2
);
40031 if (PyErr_Occurred()) SWIG_fail
;
40033 arg4
= (int)SWIG_As_int(obj3
);
40034 if (PyErr_Occurred()) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40043 Py_INCREF(Py_None
); resultobj
= Py_None
;
40050 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40051 PyObject
*resultobj
;
40052 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40053 wxWindow
*arg2
= (wxWindow
*) 0 ;
40056 PyObject
* obj0
= 0 ;
40057 PyObject
* obj1
= 0 ;
40058 PyObject
* obj2
= 0 ;
40059 PyObject
* obj3
= 0 ;
40060 char *kwnames
[] = {
40061 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40069 arg3
= (int)SWIG_As_int(obj2
);
40070 if (PyErr_Occurred()) SWIG_fail
;
40071 arg4
= (int)SWIG_As_int(obj3
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40080 Py_INCREF(Py_None
); resultobj
= Py_None
;
40087 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 PyObject
* obj1
= 0 ;
40093 char *kwnames
[] = {
40094 (char *) "self",(char *) "val", NULL
40097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40100 arg2
= (int)SWIG_As_int(obj1
);
40101 if (PyErr_Occurred()) SWIG_fail
;
40103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40104 (arg1
)->Absolute(arg2
);
40106 wxPyEndAllowThreads(__tstate
);
40107 if (PyErr_Occurred()) SWIG_fail
;
40109 Py_INCREF(Py_None
); resultobj
= Py_None
;
40116 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40117 PyObject
*resultobj
;
40118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40119 PyObject
* obj0
= 0 ;
40120 char *kwnames
[] = {
40121 (char *) "self", NULL
40124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40129 (arg1
)->Unconstrained();
40131 wxPyEndAllowThreads(__tstate
);
40132 if (PyErr_Occurred()) SWIG_fail
;
40134 Py_INCREF(Py_None
); resultobj
= Py_None
;
40141 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40142 PyObject
*resultobj
;
40143 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40144 PyObject
* obj0
= 0 ;
40145 char *kwnames
[] = {
40146 (char *) "self", NULL
40149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40159 Py_INCREF(Py_None
); resultobj
= Py_None
;
40166 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40167 PyObject
*resultobj
;
40168 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40170 PyObject
* obj0
= 0 ;
40171 char *kwnames
[] = {
40172 (char *) "self", NULL
40175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40180 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40182 wxPyEndAllowThreads(__tstate
);
40183 if (PyErr_Occurred()) SWIG_fail
;
40186 resultobj
= wxPyMake_wxObject(result
, 0);
40194 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40195 PyObject
*resultobj
;
40196 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40198 PyObject
* obj0
= 0 ;
40199 char *kwnames
[] = {
40200 (char *) "self", NULL
40203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40213 resultobj
= SWIG_From_int((int)result
);
40220 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
;
40222 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40224 PyObject
* obj0
= 0 ;
40225 PyObject
* obj1
= 0 ;
40226 char *kwnames
[] = {
40227 (char *) "self",(char *) "which", NULL
40230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40233 arg2
= (int)SWIG_As_int(obj1
);
40234 if (PyErr_Occurred()) SWIG_fail
;
40236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40237 (arg1
)->SetEdge((wxEdge
)arg2
);
40239 wxPyEndAllowThreads(__tstate
);
40240 if (PyErr_Occurred()) SWIG_fail
;
40242 Py_INCREF(Py_None
); resultobj
= Py_None
;
40249 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(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 *) "v", NULL
40259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",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
)->SetValue(arg2
);
40268 wxPyEndAllowThreads(__tstate
);
40269 if (PyErr_Occurred()) SWIG_fail
;
40271 Py_INCREF(Py_None
); resultobj
= Py_None
;
40278 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(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_GetMargin",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)(arg1
)->GetMargin();
40294 wxPyEndAllowThreads(__tstate
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40297 resultobj
= SWIG_From_int((int)result
);
40304 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
;
40306 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40308 PyObject
* obj0
= 0 ;
40309 PyObject
* obj1
= 0 ;
40310 char *kwnames
[] = {
40311 (char *) "self",(char *) "m", NULL
40314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40317 arg2
= (int)SWIG_As_int(obj1
);
40318 if (PyErr_Occurred()) SWIG_fail
;
40320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40321 (arg1
)->SetMargin(arg2
);
40323 wxPyEndAllowThreads(__tstate
);
40324 if (PyErr_Occurred()) SWIG_fail
;
40326 Py_INCREF(Py_None
); resultobj
= Py_None
;
40333 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40334 PyObject
*resultobj
;
40335 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40337 PyObject
* obj0
= 0 ;
40338 char *kwnames
[] = {
40339 (char *) "self", NULL
40342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40347 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40349 wxPyEndAllowThreads(__tstate
);
40350 if (PyErr_Occurred()) SWIG_fail
;
40352 resultobj
= SWIG_From_int((int)result
);
40359 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
;
40361 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40363 PyObject
* obj0
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "self", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40373 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40375 wxPyEndAllowThreads(__tstate
);
40376 if (PyErr_Occurred()) SWIG_fail
;
40378 resultobj
= SWIG_From_int((int)result
);
40385 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40386 PyObject
*resultobj
;
40387 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40389 PyObject
* obj0
= 0 ;
40390 char *kwnames
[] = {
40391 (char *) "self", NULL
40394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40399 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40401 wxPyEndAllowThreads(__tstate
);
40402 if (PyErr_Occurred()) SWIG_fail
;
40404 resultobj
= SWIG_From_int((int)result
);
40411 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40412 PyObject
*resultobj
;
40413 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40415 PyObject
* obj0
= 0 ;
40416 char *kwnames
[] = {
40417 (char *) "self", NULL
40420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40425 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40427 wxPyEndAllowThreads(__tstate
);
40428 if (PyErr_Occurred()) SWIG_fail
;
40431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40439 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(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 *) "d", NULL
40449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",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
= (bool)SWIG_As_bool(obj1
);
40453 if (PyErr_Occurred()) SWIG_fail
;
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 (arg1
)->SetDone(arg2
);
40458 wxPyEndAllowThreads(__tstate
);
40459 if (PyErr_Occurred()) SWIG_fail
;
40461 Py_INCREF(Py_None
); resultobj
= Py_None
;
40468 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40469 PyObject
*resultobj
;
40470 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40472 PyObject
* obj0
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40482 result
= (int)(arg1
)->GetRelationship();
40484 wxPyEndAllowThreads(__tstate
);
40485 if (PyErr_Occurred()) SWIG_fail
;
40487 resultobj
= SWIG_From_int((int)result
);
40494 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40495 PyObject
*resultobj
;
40496 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40498 PyObject
* obj0
= 0 ;
40499 PyObject
* obj1
= 0 ;
40500 char *kwnames
[] = {
40501 (char *) "self",(char *) "r", NULL
40504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40507 arg2
= (int)SWIG_As_int(obj1
);
40508 if (PyErr_Occurred()) SWIG_fail
;
40510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40511 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40516 Py_INCREF(Py_None
); resultobj
= Py_None
;
40523 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40524 PyObject
*resultobj
;
40525 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40526 wxWindow
*arg2
= (wxWindow
*) 0 ;
40528 PyObject
* obj0
= 0 ;
40529 PyObject
* obj1
= 0 ;
40530 char *kwnames
[] = {
40531 (char *) "self",(char *) "otherW", NULL
40534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40541 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40543 wxPyEndAllowThreads(__tstate
);
40544 if (PyErr_Occurred()) SWIG_fail
;
40547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40555 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40556 PyObject
*resultobj
;
40557 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40558 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40559 wxWindow
*arg3
= (wxWindow
*) 0 ;
40561 PyObject
* obj0
= 0 ;
40562 PyObject
* obj1
= 0 ;
40563 PyObject
* obj2
= 0 ;
40564 char *kwnames
[] = {
40565 (char *) "self",(char *) "constraints",(char *) "win", NULL
40568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40577 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40579 wxPyEndAllowThreads(__tstate
);
40580 if (PyErr_Occurred()) SWIG_fail
;
40583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40591 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40592 PyObject
*resultobj
;
40593 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40595 wxWindow
*arg3
= (wxWindow
*) 0 ;
40596 wxWindow
*arg4
= (wxWindow
*) 0 ;
40598 PyObject
* obj0
= 0 ;
40599 PyObject
* obj1
= 0 ;
40600 PyObject
* obj2
= 0 ;
40601 PyObject
* obj3
= 0 ;
40602 char *kwnames
[] = {
40603 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40609 arg2
= (int)SWIG_As_int(obj1
);
40610 if (PyErr_Occurred()) SWIG_fail
;
40611 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40613 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40617 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 resultobj
= SWIG_From_int((int)result
);
40629 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40632 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40634 return Py_BuildValue((char *)"");
40636 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40637 PyObject
*resultobj
;
40638 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40639 wxIndividualLayoutConstraint
*result
;
40640 PyObject
* obj0
= 0 ;
40641 char *kwnames
[] = {
40642 (char *) "self", NULL
40645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40648 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40657 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40658 PyObject
*resultobj
;
40659 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40660 wxIndividualLayoutConstraint
*result
;
40661 PyObject
* obj0
= 0 ;
40662 char *kwnames
[] = {
40663 (char *) "self", NULL
40666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40669 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40678 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40679 PyObject
*resultobj
;
40680 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40681 wxIndividualLayoutConstraint
*result
;
40682 PyObject
* obj0
= 0 ;
40683 char *kwnames
[] = {
40684 (char *) "self", NULL
40687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40690 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40699 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40700 PyObject
*resultobj
;
40701 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40702 wxIndividualLayoutConstraint
*result
;
40703 PyObject
* obj0
= 0 ;
40704 char *kwnames
[] = {
40705 (char *) "self", NULL
40708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40711 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40720 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40721 PyObject
*resultobj
;
40722 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40723 wxIndividualLayoutConstraint
*result
;
40724 PyObject
* obj0
= 0 ;
40725 char *kwnames
[] = {
40726 (char *) "self", NULL
40729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40732 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40741 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40742 PyObject
*resultobj
;
40743 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40744 wxIndividualLayoutConstraint
*result
;
40745 PyObject
* obj0
= 0 ;
40746 char *kwnames
[] = {
40747 (char *) "self", NULL
40750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40753 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40762 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40763 PyObject
*resultobj
;
40764 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40765 wxIndividualLayoutConstraint
*result
;
40766 PyObject
* obj0
= 0 ;
40767 char *kwnames
[] = {
40768 (char *) "self", NULL
40771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40774 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40783 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40784 PyObject
*resultobj
;
40785 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40786 wxIndividualLayoutConstraint
*result
;
40787 PyObject
* obj0
= 0 ;
40788 char *kwnames
[] = {
40789 (char *) "self", NULL
40792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40795 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40804 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxLayoutConstraints
*result
;
40807 char *kwnames
[] = {
40811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40814 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40816 wxPyEndAllowThreads(__tstate
);
40817 if (PyErr_Occurred()) SWIG_fail
;
40819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40826 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40827 PyObject
*resultobj
;
40828 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40829 wxWindow
*arg2
= (wxWindow
*) 0 ;
40830 int *arg3
= (int *) 0 ;
40834 PyObject
* obj0
= 0 ;
40835 PyObject
* obj1
= 0 ;
40836 char *kwnames
[] = {
40837 (char *) "self",(char *) "win", NULL
40840 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40848 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40850 wxPyEndAllowThreads(__tstate
);
40851 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40856 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40857 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40864 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40865 PyObject
*resultobj
;
40866 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40868 PyObject
* obj0
= 0 ;
40869 char *kwnames
[] = {
40870 (char *) "self", NULL
40873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40880 wxPyEndAllowThreads(__tstate
);
40881 if (PyErr_Occurred()) SWIG_fail
;
40884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40892 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40895 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40897 return Py_BuildValue((char *)"");
40899 static PyMethodDef SwigMethods
[] = {
40900 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40901 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40902 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40905 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40926 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40939 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40954 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41006 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41034 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41053 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41055 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41063 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41064 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41076 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41088 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41092 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41098 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41108 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41118 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41122 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41196 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41198 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41200 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41202 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41204 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41206 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41208 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41210 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41212 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41214 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41216 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41218 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41220 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41234 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41252 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41255 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41258 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41270 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41275 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41281 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41287 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41350 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41357 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41393 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41403 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41413 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41415 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41417 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41420 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41424 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41427 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41430 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41432 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41437 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41445 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41449 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41452 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41454 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41458 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41475 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41480 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41482 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41486 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41490 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41499 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41502 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41505 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41509 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41516 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41521 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41526 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41571 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41589 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41596 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41600 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41610 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41779 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41819 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41833 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41836 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41891 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41918 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41948 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41956 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41973 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41974 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42011 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42041 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42044 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42048 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42051 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42061 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42073 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42083 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42093 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42107 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42114 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42115 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42116 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42117 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42118 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42123 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42150 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42162 { NULL
, NULL
, 0, NULL
}
42166 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42168 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42169 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42171 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42172 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42174 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42175 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42177 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42178 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42180 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42181 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42183 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42184 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42186 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42187 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42189 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42190 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42192 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42195 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42196 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42198 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42199 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42201 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42202 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42204 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42205 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42207 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42208 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42210 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42211 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42213 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42214 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42216 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42217 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42219 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42222 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42223 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42225 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42226 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42228 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42229 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42231 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42232 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42234 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42235 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42237 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42238 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42240 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42241 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42243 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42244 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42246 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42247 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42249 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42250 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42252 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42255 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42256 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42258 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42259 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42261 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42262 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42264 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42265 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42267 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42268 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42270 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42271 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42273 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42276 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42277 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42279 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42280 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42282 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42283 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42285 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42286 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42288 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42289 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42291 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42292 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42294 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42295 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42297 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42298 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42300 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42301 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42303 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42304 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42306 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42307 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42309 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42310 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42312 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42313 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42315 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42316 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42318 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42321 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42322 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42324 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42325 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42327 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42328 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42330 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42331 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42333 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42334 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42336 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42337 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42339 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42340 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42342 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42343 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42345 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42346 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42348 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42349 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42351 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42352 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42354 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42355 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42357 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42358 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42360 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42361 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42363 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42364 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42366 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42367 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42369 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42370 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42372 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42373 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42375 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42376 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42378 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42379 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42381 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42382 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42384 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42385 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42387 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42388 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42390 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42391 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42393 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42394 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42396 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42397 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42399 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42400 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42402 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42403 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42405 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42408 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42409 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42411 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42412 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42414 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42415 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42417 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42420 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42423 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42426 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42427 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42429 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42430 return (void *)((wxObject
*) ((wxSizer
*) x
));
42432 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42433 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42435 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42436 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42438 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42439 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42441 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42442 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42444 static void *_p_wxImageTo_p_wxObject(void *x
) {
42445 return (void *)((wxObject
*) ((wxImage
*) x
));
42447 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42450 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42453 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42454 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42456 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42457 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42459 static void *_p_wxControlTo_p_wxObject(void *x
) {
42460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42462 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42463 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42465 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42466 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42468 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42469 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42471 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42472 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42474 static void *_p_wxEventTo_p_wxObject(void *x
) {
42475 return (void *)((wxObject
*) ((wxEvent
*) x
));
42477 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42478 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42480 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42481 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42483 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42484 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42486 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42487 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42489 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42490 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42492 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42493 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42495 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42498 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42499 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42501 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42504 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42505 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42507 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42510 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42511 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42513 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42514 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42516 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42519 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42520 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42522 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42523 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42525 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42528 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42531 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42534 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42537 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42540 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42543 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42544 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42546 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42547 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42549 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42552 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42553 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42555 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42556 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42558 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42559 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42561 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42562 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42564 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42565 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42567 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42568 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42570 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42573 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42574 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42576 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42577 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42579 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42580 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42582 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42583 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42585 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42586 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42588 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42589 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42591 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42592 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42594 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42597 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42598 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42600 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42601 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42603 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42606 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42607 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42609 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42610 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42612 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42613 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42615 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42616 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42618 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42619 return (void *)((wxWindow
*) ((wxControl
*) x
));
42621 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42622 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42624 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42625 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42627 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42628 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42630 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42631 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42633 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42634 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42636 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42637 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42639 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42640 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42642 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42643 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42645 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42646 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42648 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42649 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42651 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42652 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42654 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}};
42655 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}};
42656 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}};
42657 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}};
42658 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}};
42659 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}};
42660 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}};
42661 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}};
42662 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}};
42663 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}};
42664 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}};
42665 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}};
42666 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}};
42667 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}};
42668 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}};
42669 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}};
42670 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}};
42671 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}};
42672 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}};
42673 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}};
42674 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}};
42675 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}};
42676 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}};
42677 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}};
42678 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}};
42679 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}};
42680 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}};
42681 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}};
42682 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}};
42683 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}};
42684 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}};
42685 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}};
42686 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}};
42687 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}};
42688 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}};
42689 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}};
42690 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}};
42691 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}};
42692 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}};
42693 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}};
42694 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}};
42695 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}};
42696 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}};
42697 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}};
42698 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}};
42699 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}};
42700 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}};
42701 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}};
42702 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}};
42703 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}};
42704 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}};
42705 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}};
42706 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}};
42707 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}};
42708 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}};
42709 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}};
42710 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}};
42711 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}};
42712 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}};
42713 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}};
42714 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}};
42715 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}};
42716 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}};
42717 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}};
42718 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}};
42719 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}};
42720 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}};
42721 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}};
42722 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}};
42723 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}};
42724 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}};
42725 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}};
42726 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}};
42727 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}};
42728 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}};
42729 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}};
42730 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}};
42731 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}};
42732 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}};
42733 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}};
42734 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}};
42735 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}};
42736 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}};
42737 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}};
42738 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}};
42739 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}};
42740 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}};
42741 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}};
42742 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}};
42743 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}};
42744 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}};
42745 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}};
42746 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}};
42747 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}};
42748 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}};
42749 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}};
42750 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}};
42751 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}};
42752 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}};
42753 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}};
42754 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}};
42755 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}};
42756 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}};
42757 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}};
42758 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}};
42759 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}};
42760 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}};
42761 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}};
42762 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}};
42763 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}};
42764 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}};
42765 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}};
42766 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}};
42767 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}};
42768 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}};
42769 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}};
42770 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}};
42772 static swig_type_info
*swig_types_initial
[] = {
42773 _swigt__p_wxLayoutConstraints
,
42774 _swigt__p_wxRealPoint
,
42775 _swigt__p_wxSizerItem
,
42776 _swigt__p_wxGBSizerItem
,
42777 _swigt__p_wxScrollEvent
,
42778 _swigt__p_wxEventLoop
,
42779 _swigt__p_wxIndividualLayoutConstraint
,
42781 _swigt__p_wxBoxSizer
,
42782 _swigt__p_wxStaticBoxSizer
,
42783 _swigt__p_wxGridBagSizer
,
42784 _swigt__p_wxAcceleratorEntry
,
42785 _swigt__p_wxUpdateUIEvent
,
42788 _swigt__p_wxGridSizer
,
42789 _swigt__p_wxFlexGridSizer
,
42790 _swigt__p_wxInitDialogEvent
,
42791 _swigt__p_wxItemContainer
,
42792 _swigt__p_wxNcPaintEvent
,
42793 _swigt__p_wxPaintEvent
,
42794 _swigt__p_wxSysColourChangedEvent
,
42795 _swigt__p_wxMouseCaptureChangedEvent
,
42796 _swigt__p_wxDisplayChangedEvent
,
42797 _swigt__p_wxPaletteChangedEvent
,
42798 _swigt__p_wxControl
,
42800 _swigt__p_wxMenuBarBase
,
42801 _swigt__p_wxSetCursorEvent
,
42802 _swigt__p_wxFSFile
,
42804 _swigt__p_wxRegion
,
42805 _swigt__p_wxPoint2D
,
42809 _swigt__p_wxPySizer
,
42810 _swigt__p_wxVisualAttributes
,
42811 _swigt__p_wxNotifyEvent
,
42812 _swigt__p_wxPyEvent
,
42813 _swigt__p_wxPropagationDisabler
,
42814 _swigt__p_wxAppTraits
,
42815 _swigt__p_wxArrayString
,
42816 _swigt__p_wxShowEvent
,
42817 _swigt__p_wxToolTip
,
42818 _swigt__p_wxIconizeEvent
,
42819 _swigt__p_wxActivateEvent
,
42820 _swigt__p_wxMoveEvent
,
42821 _swigt__p_wxSizeEvent
,
42822 _swigt__p_wxMaximizeEvent
,
42823 _swigt__p_wxQueryNewPaletteEvent
,
42824 _swigt__p_wxWindowCreateEvent
,
42825 _swigt__p_wxIdleEvent
,
42826 _swigt__p_wxMenuItem
,
42827 _swigt__p_wxStaticBox
,
42829 _swigt__p_wxTIFFHandler
,
42830 _swigt__p_wxXPMHandler
,
42831 _swigt__p_wxPNMHandler
,
42832 _swigt__p_wxJPEGHandler
,
42833 _swigt__p_wxPCXHandler
,
42834 _swigt__p_wxGIFHandler
,
42835 _swigt__p_wxPNGHandler
,
42836 _swigt__p_wxANIHandler
,
42837 _swigt__p_wxMemoryFSHandler
,
42838 _swigt__p_wxEvtHandler
,
42839 _swigt__p_wxCURHandler
,
42840 _swigt__p_wxICOHandler
,
42841 _swigt__p_wxBMPHandler
,
42842 _swigt__p_wxImageHandler
,
42843 _swigt__p_wxFileSystemHandler
,
42844 _swigt__p_wxPyFileSystemHandler
,
42845 _swigt__p_wxInternetFSHandler
,
42846 _swigt__p_wxZipFSHandler
,
42848 _swigt__p_wxGBSpan
,
42849 _swigt__p_wxPropagateOnce
,
42850 _swigt__p_wxAcceleratorTable
,
42852 _swigt__p_wxGBPosition
,
42855 _swigt__p_wxScrollWinEvent
,
42856 _swigt__p_wxImageHistogram
,
42859 _swigt__p_wxCursor
,
42860 _swigt__p_wxObject
,
42861 _swigt__p_wxPyInputStream
,
42862 _swigt__p_wxOutputStream
,
42863 _swigt__p_wxInputStream
,
42864 _swigt__p_wxDateTime
,
42865 _swigt__p_wxKeyEvent
,
42866 _swigt__p_wxNavigationKeyEvent
,
42867 _swigt__p_wxWindowDestroyEvent
,
42868 _swigt__p_wxWindow
,
42869 _swigt__p_wxMenuBar
,
42870 _swigt__p_wxFileSystem
,
42871 _swigt__p_wxBitmap
,
42872 _swigt__p_wxMenuEvent
,
42873 _swigt__p_wxContextMenuEvent
,
42874 _swigt__p_unsigned_char
,
42875 _swigt__p_wxCloseEvent
,
42876 _swigt__p_wxEraseEvent
,
42877 _swigt__p_wxMouseEvent
,
42879 _swigt__p_wxCommandEvent
,
42880 _swigt__p_wxPyCommandEvent
,
42881 _swigt__p_wxPyDropTarget
,
42882 _swigt__p_wxQuantize
,
42883 _swigt__p_wxChildFocusEvent
,
42884 _swigt__p_wxFocusEvent
,
42885 _swigt__p_wxDropFilesEvent
,
42886 _swigt__p_wxControlWithItems
,
42887 _swigt__p_wxColour
,
42888 _swigt__p_wxValidator
,
42889 _swigt__p_wxPyValidator
,
42894 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42896 static swig_const_info swig_const_table
[] = {
42897 {0, 0, 0, 0.0, 0, 0}};
42906 SWIGEXPORT(void) SWIG_init(void) {
42907 static PyObject
*SWIG_globals
= 0;
42908 static int typeinit
= 0;
42911 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42912 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42913 d
= PyModule_GetDict(m
);
42916 for (i
= 0; swig_types_initial
[i
]; i
++) {
42917 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42921 SWIG_InstallConstants(d
,swig_const_table
);
42924 #ifndef wxPyUSE_EXPORT
42925 // Make our API structure a CObject so other modules can import it
42926 // from this module.
42927 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42928 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42932 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42933 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42934 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42935 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42936 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42937 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42938 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42939 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42940 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42941 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42942 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42943 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42944 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42945 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42946 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42947 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42948 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42949 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42950 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42951 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42952 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42953 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42954 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42955 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42956 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42957 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42958 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42959 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42960 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42961 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42962 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42963 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42964 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42965 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42966 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42967 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42968 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42969 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42970 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42971 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42972 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42973 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42974 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42975 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42976 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42977 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42978 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42979 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42980 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42981 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42982 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42983 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42984 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42985 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42986 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42987 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42988 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42989 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42990 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42991 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42992 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42993 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42994 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42995 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42996 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42997 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42998 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42999 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43000 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43001 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43002 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43003 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43004 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43005 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43006 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43007 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43008 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43009 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43010 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43011 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43012 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43013 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43014 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43015 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43016 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43017 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43018 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43019 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43020 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43021 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43022 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43023 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43024 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43025 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43026 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43027 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43028 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43029 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43030 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43031 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43032 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43033 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43034 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43035 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43036 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43037 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43038 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43039 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43040 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43041 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43042 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43043 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43044 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43045 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43046 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43047 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43048 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43049 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43050 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43051 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43052 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43053 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43054 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43055 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43056 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43057 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43058 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43059 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43060 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43061 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43062 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43063 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43064 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43065 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43066 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43067 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43068 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43069 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43070 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43071 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43072 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43073 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43074 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43075 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43076 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43077 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43078 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43079 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43080 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43081 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43082 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43083 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43084 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43085 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43086 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43087 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43088 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43089 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43090 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43091 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43092 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43093 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43094 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43095 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43096 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43097 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43098 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43099 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43100 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43101 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43102 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43103 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43104 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43105 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43106 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43107 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43108 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43109 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43110 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43111 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43112 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43113 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43114 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43115 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43116 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43117 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43118 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43119 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43120 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43121 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43122 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43123 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43124 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43125 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43126 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43127 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43128 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43129 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43130 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43131 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43132 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43133 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43134 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43135 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43136 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43137 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43138 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43139 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43140 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43141 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43142 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43143 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43144 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43145 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43146 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43147 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43148 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43149 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43150 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43151 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43152 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43153 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43154 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43155 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43156 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43157 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43158 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43159 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43160 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43161 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43162 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43163 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43164 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43165 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43166 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43167 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43168 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43169 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43170 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43171 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43172 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43173 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43174 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43175 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43176 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43177 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43178 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43179 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43180 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43181 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43182 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43183 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43184 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43185 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43186 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43187 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43188 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43189 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43190 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43191 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43192 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43193 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43194 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43195 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43196 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43197 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43198 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43199 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43200 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43201 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43202 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43203 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43204 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43205 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43206 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43207 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43208 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43209 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43210 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43211 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43212 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43213 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43214 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43215 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43216 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43217 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43218 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43219 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43220 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43221 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43222 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43223 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43224 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43225 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43226 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43227 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43228 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43229 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43230 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43231 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43232 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43233 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43234 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43235 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43236 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43237 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43238 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43239 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43240 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43241 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43242 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43243 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43244 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43245 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43246 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43247 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43248 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43249 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43250 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43251 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43252 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43253 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43254 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43255 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43256 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43257 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43258 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43259 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43260 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43261 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43262 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43263 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43264 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43265 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43266 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43267 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43268 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43269 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43270 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43271 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43272 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43273 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43274 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43275 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43276 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43277 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43278 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43279 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43280 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43281 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43282 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43283 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43284 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43285 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43286 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43287 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43288 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43289 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43290 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43291 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43292 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43293 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43294 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43295 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43296 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43297 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43298 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43299 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43300 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43301 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43302 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43303 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43304 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43305 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43306 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43307 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43308 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43309 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43310 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43311 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43312 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43313 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43314 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43315 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43316 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43317 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43318 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43319 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43320 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43321 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43322 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43323 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43324 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43325 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43326 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43327 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43328 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43329 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43330 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43331 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43332 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43333 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43334 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43335 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43336 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43337 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43338 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43339 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43340 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43341 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43342 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43343 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43344 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43345 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43346 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43347 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43348 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43349 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43350 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43351 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43352 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43353 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43354 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43355 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43356 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43357 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43358 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43359 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43360 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43361 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43362 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43363 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43364 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43365 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43366 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43367 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43368 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43369 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43370 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43371 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43372 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43373 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43374 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43375 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43376 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43377 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43378 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43379 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43380 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43381 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43382 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43383 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43384 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43385 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43386 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43387 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43388 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43389 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43390 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43391 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43392 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43393 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43394 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43395 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43396 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43397 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43398 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43399 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43400 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43401 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43402 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43403 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43404 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43405 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43406 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43407 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43408 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43409 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43410 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43411 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43412 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43413 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43414 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43415 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43416 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43417 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43418 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43419 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43420 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43421 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43422 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43423 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43424 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43425 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43426 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43427 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43428 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43429 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43430 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43431 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43432 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43433 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43434 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43435 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43436 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43437 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43438 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43439 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43440 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43441 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43442 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43443 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43444 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43445 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43446 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43447 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43448 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43449 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43450 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43451 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43452 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43453 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43454 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43455 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43456 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43457 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43458 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43459 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43460 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43461 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43462 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43463 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43464 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43465 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43466 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43467 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43468 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43469 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43470 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43471 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43472 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43473 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43474 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43475 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43476 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43477 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43478 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43479 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43480 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43481 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43482 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43483 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43484 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43485 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43486 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43487 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43488 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43489 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43490 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43491 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43492 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43493 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43494 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43495 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43496 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43497 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43498 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43499 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43500 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43501 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43502 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43503 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43504 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43505 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43506 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43507 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43508 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43509 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43510 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43511 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43512 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43513 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43514 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43515 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43516 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43517 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43518 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43519 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43520 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43521 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43522 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43523 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43524 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43525 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43526 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43527 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43528 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43529 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43530 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43532 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43535 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43537 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43538 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43539 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43540 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43541 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43542 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43543 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43544 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43545 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43546 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43547 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43548 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43549 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43550 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43551 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43552 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43553 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43554 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43555 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43556 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43557 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43558 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43559 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43560 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43561 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43562 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43563 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43564 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43565 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43566 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43567 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43569 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43570 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43571 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43572 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43573 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43574 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43577 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43578 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43579 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43580 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43581 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43582 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43583 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43584 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43585 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43586 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43587 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43588 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43589 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43590 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43591 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43592 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43593 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43594 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43595 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43596 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43597 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43598 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43599 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43600 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43601 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43602 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43603 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43604 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43605 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43606 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43607 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43608 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43609 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43610 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43611 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43612 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43613 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43614 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43615 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43616 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43617 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43618 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43619 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43620 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43621 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43622 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43623 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43624 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43625 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43626 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43627 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43628 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43629 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43630 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43631 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43632 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43633 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43634 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43635 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43636 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43637 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43638 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43639 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43640 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43641 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43642 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43643 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43644 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43645 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43646 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43647 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43648 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43649 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43650 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43651 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43652 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43653 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43654 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43655 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43656 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43657 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43658 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43659 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43660 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43661 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43662 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43663 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43664 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43665 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43666 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43667 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43668 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43669 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43670 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43671 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43672 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43673 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43674 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43675 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43676 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43677 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43678 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43679 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43680 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43681 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43682 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43683 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43684 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43685 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43686 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43687 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43688 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43689 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43690 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43691 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43692 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43693 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43694 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43695 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43696 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43697 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43698 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43699 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43700 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43701 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43702 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43703 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43704 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43705 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43706 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43707 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43708 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43709 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43710 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43711 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43712 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43713 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43714 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43715 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43716 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43717 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43718 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43719 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43720 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43721 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43723 // Initialize threading, some globals and such
43727 // Although these are defined in __version__ they need to be here too so
43728 // that an assert can be done to ensure that the wxPython and the wxWindows
43730 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43731 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43732 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));