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
,bool incref
){
1442 if (_self
&& _self
!= Py_None
) {
1443 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
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
; }
1559 SWIGSTATICINLINE(int)
1560 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
1563 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, (size_t*)(0))) {
1564 if (val
) *val
= cptr
;
1568 PyErr_SetString(PyExc_TypeError
, "a char* is expected");
1574 SWIGSTATICINLINE(PyObject
*)
1575 SWIG_FromCharPtr(const char* cptr
)
1578 size_t size
= strlen(cptr
);
1579 if (size
> INT_MAX
) {
1580 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
1581 SWIG_TypeQuery("char *"), 0);
1584 return PyString_FromStringAndSize(cptr
, size
);
1586 return PyString_FromString(cptr
);
1597 // A dummy class that raises an exception if used...
1601 wxEventLoop() { wxPyRaiseNotImplemented(); }
1602 int Run() { return 0; }
1603 void Exit(int rc
= 0) {}
1604 bool Pending() const { return false; }
1605 bool Dispatch() { return false; }
1606 bool IsRunning() const { return false; }
1607 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1608 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1613 #include <wx/evtloop.h>
1619 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1620 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1621 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1622 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1623 wxWindowList
& list
= self
->GetChildren();
1624 return wxPy_ConvertList(&list
);
1626 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1628 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1633 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1640 long wxWindow_GetHandle(wxWindow
*self
){
1641 return wxPyGetWinHandle(self
);
1643 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1644 self
->AssociateHandle((WXWidget
)handle
);
1647 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1648 return wxWindow::FindWindowById(id
, parent
);
1651 wxWindow
* wxFindWindowByName( const wxString
& name
,
1652 const wxWindow
*parent
= NULL
) {
1653 return wxWindow::FindWindowByName(name
, parent
);
1656 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1657 const wxWindow
*parent
= NULL
) {
1658 return wxWindow::FindWindowByLabel(label
, parent
);
1663 #include <wx/msw/private.h> // to get wxGetWindowId
1667 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1669 WXHWND hWnd
= (WXHWND
)_hWnd
;
1670 long id
= wxGetWindowId(hWnd
);
1671 wxWindow
* win
= new wxWindow
;
1672 parent
->AddChild(win
);
1673 win
->SetEventHandler(win
);
1676 win
->SubclassWin(hWnd
);
1677 win
->AdoptAttributesFromHWND();
1678 win
->SetupColours();
1681 wxPyRaiseNotImplemented();
1687 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1688 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1689 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1691 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1693 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1694 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1695 wxMenuItemList
& list
= self
->GetMenuItems();
1696 return wxPy_ConvertList(&list
);
1698 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1699 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1700 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1702 wxPyClientData
* data
= new wxPyClientData(clientData
);
1703 return self
->Append(item
, data
);
1705 return self
->Append(item
);
1707 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1709 wxPyClientData
* data
= new wxPyClientData(clientData
);
1710 return self
->Insert(item
, pos
, data
);
1712 return self
->Insert(item
, pos
);
1714 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1715 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1717 Py_INCREF(data
->m_obj
);
1724 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1725 wxPyClientData
* data
= new wxPyClientData(clientData
);
1726 self
->SetClientObject(n
, data
);
1730 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1731 wxPyUserData
* data
= NULL
;
1733 bool blocked
= wxPyBeginBlockThreads();
1734 data
= new wxPyUserData(userData
);
1735 wxPyEndBlockThreads(blocked
);
1737 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1739 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1740 wxPyUserData
* data
= NULL
;
1742 bool blocked
= wxPyBeginBlockThreads();
1743 data
= new wxPyUserData(userData
);
1744 wxPyEndBlockThreads(blocked
);
1746 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1748 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1749 wxPyUserData
* data
= NULL
;
1751 bool blocked
= wxPyBeginBlockThreads();
1752 data
= new wxPyUserData(userData
);
1753 wxPyEndBlockThreads(blocked
);
1755 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1759 SWIGSTATICINLINE(int)
1760 SWIG_CheckDoubleInRange(double value
, double min_value
,
1761 double max_value
, const char* errmsg
)
1763 if (value
< min_value
) {
1765 PyErr_Format(PyExc_OverflowError
,
1766 "value %g is less than %s minimum %g",
1767 value
, errmsg
, min_value
);
1770 } else if (value
> max_value
) {
1772 PyErr_Format(PyExc_OverflowError
,
1773 "value %g is greater than %s maximum %g",
1774 value
, errmsg
, max_value
);
1782 SWIGSTATICINLINE(int)
1783 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1785 const char* errmsg
= val
? "float" : 0;
1787 if (SWIG_AsVal_double(obj
, &v
)) {
1788 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1798 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1804 SWIGSTATICINLINE(float)
1805 SWIG_As_float(PyObject
* obj
)
1808 if (!SWIG_AsVal_float(obj
, &v
)) {
1810 this is needed to make valgrind/purify happier. the other
1811 solution is throw an exception, but since this code should work
1814 memset((void*)&v
, 0, sizeof(float));
1820 SWIGSTATICINLINE(int)
1821 SWIG_Check_float(PyObject
* obj
)
1823 return SWIG_AsVal_float(obj
, (float*)0);
1826 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1827 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1829 Py_INCREF(data
->m_obj
);
1837 // Figure out the type of the sizer item
1839 struct wxPySizerItemInfo
{
1841 : window(NULL
), sizer(NULL
), gotSize(false),
1842 size(wxDefaultSize
), gotPos(false), pos(-1)
1853 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1855 wxPySizerItemInfo info
;
1857 wxSize
* sizePtr
= &size
;
1859 // Find out what the type of the item is
1861 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1866 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1870 // try wxSize or (w,h)
1871 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1872 info
.size
= *sizePtr
;
1873 info
.gotSize
= true;
1877 if (checkIdx
&& PyInt_Check(item
)) {
1878 info
.pos
= PyInt_AsLong(item
);
1884 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1885 // no expected type, figure out what kind of error message to generate
1886 if ( !checkSize
&& !checkIdx
)
1887 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1888 else if ( checkSize
&& !checkIdx
)
1889 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1890 else if ( !checkSize
&& checkIdx
)
1891 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1893 // can this one happen?
1894 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1900 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1901 if (!self
->GetClientObject())
1902 self
->SetClientObject(new wxPyOORClientData(_self
));
1904 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1906 wxPyUserData
* data
= NULL
;
1907 bool blocked
= wxPyBeginBlockThreads();
1908 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1909 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1910 data
= new wxPyUserData(userData
);
1911 wxPyEndBlockThreads(blocked
);
1913 // Now call the real Add method if a valid item type was found
1915 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1916 else if ( info
.sizer
)
1917 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1918 else if (info
.gotSize
)
1919 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1920 proportion
, flag
, border
, data
);
1924 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1926 wxPyUserData
* data
= NULL
;
1927 bool blocked
= wxPyBeginBlockThreads();
1928 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1929 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1930 data
= new wxPyUserData(userData
);
1931 wxPyEndBlockThreads(blocked
);
1933 // Now call the real Insert method if a valid item type was found
1935 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1936 else if ( info
.sizer
)
1937 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1938 else if (info
.gotSize
)
1939 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1940 proportion
, flag
, border
, data
);
1944 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1946 wxPyUserData
* data
= NULL
;
1947 bool blocked
= wxPyBeginBlockThreads();
1948 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1949 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1950 data
= new wxPyUserData(userData
);
1951 wxPyEndBlockThreads(blocked
);
1953 // Now call the real Prepend method if a valid item type was found
1955 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1956 else if ( info
.sizer
)
1957 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1958 else if (info
.gotSize
)
1959 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1960 proportion
, flag
, border
, data
);
1964 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1965 bool blocked
= wxPyBeginBlockThreads();
1966 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1967 wxPyEndBlockThreads(blocked
);
1969 return self
->Remove(info
.window
);
1970 else if ( info
.sizer
)
1971 return self
->Remove(info
.sizer
);
1972 else if ( info
.gotPos
)
1973 return self
->Remove(info
.pos
);
1977 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1978 bool blocked
= wxPyBeginBlockThreads();
1979 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1980 wxPyEndBlockThreads(blocked
);
1982 return self
->Detach(info
.window
);
1983 else if ( info
.sizer
)
1984 return self
->Detach(info
.sizer
);
1985 else if ( info
.gotPos
)
1986 return self
->Detach(info
.pos
);
1990 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1991 bool blocked
= wxPyBeginBlockThreads();
1992 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1993 wxPyEndBlockThreads(blocked
);
1995 return self
->GetItem(info
.window
);
1996 else if ( info
.sizer
)
1997 return self
->GetItem(info
.sizer
);
1998 else if ( info
.gotPos
)
1999 return self
->GetItem(info
.pos
);
2003 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
2004 bool blocked
= wxPyBeginBlockThreads();
2005 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
2006 wxPyEndBlockThreads(blocked
);
2008 self
->SetItemMinSize(info
.window
, size
);
2009 else if ( info
.sizer
)
2010 self
->SetItemMinSize(info
.sizer
, size
);
2011 else if ( info
.gotPos
)
2012 self
->SetItemMinSize(info
.pos
, size
);
2014 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
2015 wxSizerItemList
& list
= self
->GetChildren();
2016 return wxPy_ConvertList(&list
);
2018 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
2019 bool blocked
= wxPyBeginBlockThreads();
2020 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
2021 wxPyEndBlockThreads(blocked
);
2023 return self
->Show(info
.window
, show
, recursive
);
2024 else if ( info
.sizer
)
2025 return self
->Show(info
.sizer
, show
, recursive
);
2026 else if ( info
.gotPos
)
2027 return self
->Show(info
.pos
, show
);
2031 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
2032 bool blocked
= wxPyBeginBlockThreads();
2033 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
2034 wxPyEndBlockThreads(blocked
);
2036 return self
->IsShown(info
.window
);
2037 else if ( info
.sizer
)
2038 return self
->IsShown(info
.sizer
);
2039 else if ( info
.gotPos
)
2040 return self
->IsShown(info
.pos
);
2046 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
2047 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
2048 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2053 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2055 if (source
== Py_None
) {
2056 **obj
= wxGBPosition(-1,-1);
2059 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2062 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2064 if (source
== Py_None
) {
2065 **obj
= wxGBSpan(-1,-1);
2068 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2072 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2076 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2077 bool blocked
= wxPyBeginBlockThreads();
2078 PyObject
* tup
= PyTuple_New(2);
2079 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2080 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2081 wxPyEndBlockThreads(blocked
);
2084 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2085 self
->SetRowspan(rowspan
);
2086 self
->SetColspan(colspan
);
2088 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2089 bool blocked
= wxPyBeginBlockThreads();
2090 PyObject
* tup
= PyTuple_New(2);
2091 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2092 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2093 wxPyEndBlockThreads(blocked
);
2096 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2097 wxPyUserData
* data
= NULL
;
2099 bool blocked
= wxPyBeginBlockThreads();
2100 data
= new wxPyUserData(userData
);
2101 wxPyEndBlockThreads(blocked
);
2103 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2105 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2106 wxPyUserData
* data
= NULL
;
2108 bool blocked
= wxPyBeginBlockThreads();
2109 data
= new wxPyUserData(userData
);
2110 wxPyEndBlockThreads(blocked
);
2112 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2114 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2115 wxPyUserData
* data
= NULL
;
2117 bool blocked
= wxPyBeginBlockThreads();
2118 data
= new wxPyUserData(userData
);
2119 wxPyEndBlockThreads(blocked
);
2121 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2123 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2125 self
->GetEndPos(row
, col
);
2126 return wxGBPosition(row
, col
);
2128 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2130 wxPyUserData
* data
= NULL
;
2131 bool blocked
= wxPyBeginBlockThreads();
2132 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2133 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2134 data
= new wxPyUserData(userData
);
2135 wxPyEndBlockThreads(blocked
);
2137 // Now call the real Add method if a valid item type was found
2139 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2140 else if ( info
.sizer
)
2141 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2142 else if (info
.gotSize
)
2143 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2144 pos
, span
, flag
, border
, data
);
2152 static int _wrap_EmptyString_set(PyObject
*) {
2153 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2158 static PyObject
*_wrap_EmptyString_get() {
2163 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2165 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2172 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxObject
*arg1
= (wxObject
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2178 (char *) "self", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 result
= wxObject_GetClassName(arg1
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2204 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxObject
*arg1
= (wxObject
*) 0 ;
2207 PyObject
* obj0
= 0 ;
2209 (char *) "self", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 wxObject_Destroy(arg1
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 Py_INCREF(Py_None
); resultobj
= Py_None
;
2229 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2232 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2234 return Py_BuildValue((char *)"");
2236 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
*resultobj
;
2238 wxSize
*arg1
= (wxSize
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2241 PyObject
* obj1
= 0 ;
2243 (char *) "self",(char *) "x", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 arg2
= (int)SWIG_As_int(obj1
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2251 if (arg1
) (arg1
)->x
= arg2
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxSize
*arg1
= (wxSize
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "self", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 result
= (int) ((arg1
)->x
);
2274 resultobj
= SWIG_From_int((int)result
);
2281 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxSize
*arg1
= (wxSize
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2286 PyObject
* obj1
= 0 ;
2288 (char *) "self",(char *) "y", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 arg2
= (int)SWIG_As_int(obj1
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2296 if (arg1
) (arg1
)->y
= arg2
;
2298 Py_INCREF(Py_None
); resultobj
= Py_None
;
2305 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxSize
*arg1
= (wxSize
*) 0 ;
2309 PyObject
* obj0
= 0 ;
2311 (char *) "self", NULL
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 result
= (int) ((arg1
)->y
);
2319 resultobj
= SWIG_From_int((int)result
);
2326 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 int arg1
= (int) 0 ;
2329 int arg2
= (int) 0 ;
2331 PyObject
* obj0
= 0 ;
2332 PyObject
* obj1
= 0 ;
2334 (char *) "w",(char *) "h", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2339 arg1
= (int)SWIG_As_int(obj0
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2343 arg2
= (int)SWIG_As_int(obj1
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2360 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
;
2362 wxSize
*arg1
= (wxSize
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "self", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 Py_INCREF(Py_None
); resultobj
= Py_None
;
2385 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxSize
*arg1
= (wxSize
*) 0 ;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2394 (char *) "self",(char *) "sz", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2420 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxSize
*arg1
= (wxSize
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj1
= 0 ;
2429 (char *) "self",(char *) "sz", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2455 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 wxSize
*arg1
= (wxSize
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2462 PyObject
* obj1
= 0 ;
2464 (char *) "self",(char *) "sz", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2483 resultptr
= new wxSize((wxSize
&) result
);
2484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2492 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 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___sub__",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 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2520 resultptr
= new wxSize((wxSize
&) result
);
2521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2529 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxSize
*arg1
= (wxSize
*) 0 ;
2534 PyObject
* obj0
= 0 ;
2535 PyObject
* obj1
= 0 ;
2537 (char *) "self",(char *) "sz", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 (arg1
)->IncTo((wxSize
const &)*arg2
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2554 Py_INCREF(Py_None
); resultobj
= Py_None
;
2561 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxSize
*arg1
= (wxSize
*) 0 ;
2566 PyObject
* obj0
= 0 ;
2567 PyObject
* obj1
= 0 ;
2569 (char *) "self",(char *) "sz", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2577 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 (arg1
)->DecTo((wxSize
const &)*arg2
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 Py_INCREF(Py_None
); resultobj
= Py_None
;
2593 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxSize
*arg1
= (wxSize
*) 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2600 PyObject
* obj2
= 0 ;
2602 (char *) "self",(char *) "w",(char *) "h", NULL
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 arg2
= (int)SWIG_As_int(obj1
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2610 arg3
= (int)SWIG_As_int(obj2
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 (arg1
)->Set(arg2
,arg3
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2619 Py_INCREF(Py_None
); resultobj
= Py_None
;
2626 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
*resultobj
;
2628 wxSize
*arg1
= (wxSize
*) 0 ;
2630 PyObject
* obj0
= 0 ;
2631 PyObject
* obj1
= 0 ;
2633 (char *) "self",(char *) "w", NULL
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2639 arg2
= (int)SWIG_As_int(obj1
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 (arg1
)->SetWidth(arg2
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 Py_INCREF(Py_None
); resultobj
= Py_None
;
2655 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxSize
*arg1
= (wxSize
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2660 PyObject
* obj1
= 0 ;
2662 (char *) "self",(char *) "h", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 arg2
= (int)SWIG_As_int(obj1
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 (arg1
)->SetHeight(arg2
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2677 Py_INCREF(Py_None
); resultobj
= Py_None
;
2684 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
*resultobj
;
2686 wxSize
*arg1
= (wxSize
*) 0 ;
2688 PyObject
* obj0
= 0 ;
2690 (char *) "self", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2703 resultobj
= SWIG_From_int((int)result
);
2710 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxSize
*arg1
= (wxSize
*) 0 ;
2714 PyObject
* obj0
= 0 ;
2716 (char *) "self", NULL
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2729 resultobj
= SWIG_From_int((int)result
);
2736 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxSize
*arg1
= (wxSize
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2742 (char *) "self", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2764 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxSize
*arg1
= (wxSize
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "self",(char *) "size", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 Py_INCREF(Py_None
); resultobj
= Py_None
;
2796 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxSize
*arg1
= (wxSize
*) 0 ;
2800 PyObject
* obj0
= 0 ;
2802 (char *) "self", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= (PyObject
*)wxSize_Get(arg1
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2822 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2825 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2827 return Py_BuildValue((char *)"");
2829 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2833 PyObject
* obj0
= 0 ;
2834 PyObject
* obj1
= 0 ;
2836 (char *) "self",(char *) "x", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg2
= (double)SWIG_As_double(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2844 if (arg1
) (arg1
)->x
= arg2
;
2846 Py_INCREF(Py_None
); resultobj
= Py_None
;
2853 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2855 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2859 (char *) "self", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2865 result
= (double) ((arg1
)->x
);
2867 resultobj
= SWIG_From_double((double)result
);
2874 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2881 (char *) "self",(char *) "y", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2887 arg2
= (double)SWIG_As_double(obj1
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2889 if (arg1
) (arg1
)->y
= arg2
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "self", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 result
= (double) ((arg1
)->y
);
2912 resultobj
= SWIG_From_double((double)result
);
2919 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 double arg1
= (double) 0.0 ;
2922 double arg2
= (double) 0.0 ;
2923 wxRealPoint
*result
;
2924 PyObject
* obj0
= 0 ;
2925 PyObject
* obj1
= 0 ;
2927 (char *) "x",(char *) "y", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2932 arg1
= (double)SWIG_As_double(obj0
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2936 arg2
= (double)SWIG_As_double(obj1
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2953 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2955 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 Py_INCREF(Py_None
); resultobj
= Py_None
;
2978 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2981 wxRealPoint
*arg2
= 0 ;
2984 PyObject
* obj0
= 0 ;
2985 PyObject
* obj1
= 0 ;
2987 (char *) "self",(char *) "pt", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2995 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3013 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3016 wxRealPoint
*arg2
= 0 ;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3022 (char *) "self",(char *) "pt", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3048 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3051 wxRealPoint
*arg2
= 0 ;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "self",(char *) "pt", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3065 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3075 wxRealPoint
* resultptr
;
3076 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3085 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3088 wxRealPoint
*arg2
= 0 ;
3091 PyObject
* obj0
= 0 ;
3092 PyObject
* obj1
= 0 ;
3094 (char *) "self",(char *) "pt", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3112 wxRealPoint
* resultptr
;
3113 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3122 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3127 PyObject
* obj0
= 0 ;
3128 PyObject
* obj1
= 0 ;
3129 PyObject
* obj2
= 0 ;
3131 (char *) "self",(char *) "x",(char *) "y", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3137 arg2
= (double)SWIG_As_double(obj1
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3139 arg3
= (double)SWIG_As_double(obj2
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 wxRealPoint_Set(arg1
,arg2
,arg3
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3148 Py_INCREF(Py_None
); resultobj
= Py_None
;
3155 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3157 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 (char *) "self", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3181 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3184 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3186 return Py_BuildValue((char *)"");
3188 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxPoint
*arg1
= (wxPoint
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3193 PyObject
* obj1
= 0 ;
3195 (char *) "self",(char *) "x", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3201 arg2
= (int)SWIG_As_int(obj1
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3203 if (arg1
) (arg1
)->x
= arg2
;
3205 Py_INCREF(Py_None
); resultobj
= Py_None
;
3212 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxPoint
*arg1
= (wxPoint
*) 0 ;
3216 PyObject
* obj0
= 0 ;
3218 (char *) "self", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 result
= (int) ((arg1
)->x
);
3226 resultobj
= SWIG_From_int((int)result
);
3233 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxPoint
*arg1
= (wxPoint
*) 0 ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "self",(char *) "y", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 arg2
= (int)SWIG_As_int(obj1
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3248 if (arg1
) (arg1
)->y
= arg2
;
3250 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxPoint
*arg1
= (wxPoint
*) 0 ;
3261 PyObject
* obj0
= 0 ;
3263 (char *) "self", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 result
= (int) ((arg1
)->y
);
3271 resultobj
= SWIG_From_int((int)result
);
3278 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 int arg1
= (int) 0 ;
3281 int arg2
= (int) 0 ;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3286 (char *) "x",(char *) "y", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 arg1
= (int)SWIG_As_int(obj0
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 arg2
= (int)SWIG_As_int(obj1
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3312 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxPoint
*arg1
= (wxPoint
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3317 (char *) "self", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 Py_INCREF(Py_None
); resultobj
= Py_None
;
3337 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxPoint
*arg1
= (wxPoint
*) 0 ;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3346 (char *) "self",(char *) "pt", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3372 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxPoint
*arg1
= (wxPoint
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "pt", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3407 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxPoint
*arg1
= (wxPoint
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3416 (char *) "self",(char *) "pt", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 wxPoint
* resultptr
;
3435 resultptr
= new wxPoint((wxPoint
&) result
);
3436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3444 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxPoint
*arg1
= (wxPoint
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "self",(char *) "pt", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 wxPoint
* resultptr
;
3472 resultptr
= new wxPoint((wxPoint
&) result
);
3473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3481 static PyObject
*_wrap_Point___iadd__(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___iadd__",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___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxPoint
*arg1
= (wxPoint
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3526 (char *) "self",(char *) "pt", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3531 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3540 result
= (wxPoint
*) &_result_ref
;
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3553 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 wxPoint
*arg1
= (wxPoint
*) 0 ;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3560 PyObject
* obj2
= 0 ;
3562 (char *) "self",(char *) "x",(char *) "y", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 arg2
= (long)SWIG_As_long(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3570 arg3
= (long)SWIG_As_long(obj2
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 wxPoint_Set(arg1
,arg2
,arg3
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 Py_INCREF(Py_None
); resultobj
= Py_None
;
3586 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxPoint
*arg1
= (wxPoint
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (PyObject
*)wxPoint_Get(arg1
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3612 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3615 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3617 return Py_BuildValue((char *)"");
3619 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 int arg1
= (int) 0 ;
3622 int arg2
= (int) 0 ;
3623 int arg3
= (int) 0 ;
3624 int arg4
= (int) 0 ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3628 PyObject
* obj2
= 0 ;
3629 PyObject
* obj3
= 0 ;
3631 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3636 arg1
= (int)SWIG_As_int(obj0
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3640 arg2
= (int)SWIG_As_int(obj1
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 arg3
= (int)SWIG_As_int(obj2
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 arg4
= (int)SWIG_As_int(obj3
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3665 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3675 (char *) "topLeft",(char *) "bottomRight", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3681 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
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_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "pos",(char *) "size", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3721 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3737 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "size", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3750 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3766 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxRect
*arg1
= (wxRect
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 (char *) "self", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxRect
*arg1
= (wxRect
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)((wxRect
const *)arg1
)->GetX();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_From_int((int)result
);
3817 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxRect
*arg1
= (wxRect
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "x", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int)SWIG_As_int(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxRect
*arg1
= (wxRect
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)(arg1
)->GetY();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_From_int((int)result
);
3872 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxRect
*arg1
= (wxRect
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "y", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (int)SWIG_As_int(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxRect
*arg1
= (wxRect
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_From_int((int)result
);
3927 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxRect
*arg1
= (wxRect
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3932 PyObject
* obj1
= 0 ;
3934 (char *) "self",(char *) "w", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 arg2
= (int)SWIG_As_int(obj1
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 (arg1
)->SetWidth(arg2
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxRect
*arg1
= (wxRect
*) 0 ;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "self", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_From_int((int)result
);
3982 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 wxRect
*arg1
= (wxRect
*) 0 ;
3986 PyObject
* obj0
= 0 ;
3987 PyObject
* obj1
= 0 ;
3989 (char *) "self",(char *) "h", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3995 arg2
= (int)SWIG_As_int(obj1
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 (arg1
)->SetHeight(arg2
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxRect
*arg1
= (wxRect
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "self", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= ((wxRect
const *)arg1
)->GetPosition();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 wxPoint
* resultptr
;
4032 resultptr
= new wxPoint((wxPoint
&) result
);
4033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4041 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxRect
*arg1
= (wxRect
*) 0 ;
4046 PyObject
* obj0
= 0 ;
4047 PyObject
* obj1
= 0 ;
4049 (char *) "self",(char *) "p", NULL
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 Py_INCREF(Py_None
); resultobj
= Py_None
;
4073 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxRect
*arg1
= (wxRect
*) 0 ;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "self", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= ((wxRect
const *)arg1
)->GetSize();
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4094 resultptr
= new wxSize((wxSize
&) result
);
4095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4103 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxRect
*arg1
= (wxRect
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "s", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->SetSize((wxSize
const &)*arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxRect
*arg1
= (wxRect
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4141 (char *) "self", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 wxPoint
* resultptr
;
4156 resultptr
= new wxPoint((wxPoint
&) result
);
4157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4165 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxRect
*arg1
= (wxRect
*) 0 ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4173 (char *) "self",(char *) "p", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 Py_INCREF(Py_None
); resultobj
= Py_None
;
4197 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxRect
*arg1
= (wxRect
*) 0 ;
4201 PyObject
* obj0
= 0 ;
4203 (char *) "self", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4217 wxPoint
* resultptr
;
4218 resultptr
= new wxPoint((wxPoint
&) result
);
4219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4227 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxRect
*arg1
= (wxRect
*) 0 ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4235 (char *) "self",(char *) "p", NULL
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 Py_INCREF(Py_None
); resultobj
= Py_None
;
4259 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxRect
*arg1
= (wxRect
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4265 (char *) "self", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= SWIG_From_int((int)result
);
4285 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxRect
*arg1
= (wxRect
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4291 (char *) "self", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (int)((wxRect
const *)arg1
)->GetTop();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_From_int((int)result
);
4311 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxRect
*arg1
= (wxRect
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4317 (char *) "self", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_From_int((int)result
);
4337 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxRect
*arg1
= (wxRect
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (int)((wxRect
const *)arg1
)->GetRight();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_From_int((int)result
);
4363 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxRect
*arg1
= (wxRect
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4370 (char *) "self",(char *) "left", NULL
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4376 arg2
= (int)SWIG_As_int(obj1
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 (arg1
)->SetLeft(arg2
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxRect
*arg1
= (wxRect
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4399 (char *) "self",(char *) "right", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4405 arg2
= (int)SWIG_As_int(obj1
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 (arg1
)->SetRight(arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 Py_INCREF(Py_None
); resultobj
= Py_None
;
4421 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxRect
*arg1
= (wxRect
*) 0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 (char *) "self",(char *) "top", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4434 arg2
= (int)SWIG_As_int(obj1
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 (arg1
)->SetTop(arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 Py_INCREF(Py_None
); resultobj
= Py_None
;
4450 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxRect
*arg1
= (wxRect
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4457 (char *) "self",(char *) "bottom", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4463 arg2
= (int)SWIG_As_int(obj1
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetBottom(arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 Py_INCREF(Py_None
); resultobj
= Py_None
;
4479 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxRect
*arg1
= (wxRect
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4487 PyObject
* obj2
= 0 ;
4489 (char *) "self",(char *) "dx",(char *) "dy", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 arg2
= (int)SWIG_As_int(obj1
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4497 arg3
= (int)SWIG_As_int(obj2
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4503 result
= (wxRect
*) &_result_ref
;
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4516 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 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_Deflate",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();
4539 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4540 result
= (wxRect
*) &_result_ref
;
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4553 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxRect
*arg1
= (wxRect
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4560 PyObject
* obj2
= 0 ;
4562 (char *) "self",(char *) "dx",(char *) "dy", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4568 arg2
= (int)SWIG_As_int(obj1
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4570 arg3
= (int)SWIG_As_int(obj2
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 (arg1
)->Offset(arg2
,arg3
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4586 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxRect
*arg1
= (wxRect
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4594 (char *) "self",(char *) "pt", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->Offset((wxPoint
const &)*arg2
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 Py_INCREF(Py_None
); resultobj
= Py_None
;
4618 static PyObject
*_wrap_Rect_Intersect(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_Intersect",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
= (arg1
)->Intersect((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_Union(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_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (arg1
)->Union((wxRect
const &)*arg2
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4683 resultptr
= new wxRect((wxRect
&) result
);
4684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4692 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxRect
*arg1
= (wxRect
*) 0 ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4701 (char *) "self",(char *) "rect", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4720 resultptr
= new wxRect((wxRect
&) result
);
4721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4729 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4731 wxRect
*arg1
= (wxRect
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4736 PyObject
* obj1
= 0 ;
4738 (char *) "self",(char *) "rect", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4743 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4746 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4752 result
= (wxRect
*) &_result_ref
;
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4765 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4774 (char *) "self",(char *) "rect", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxRect
*arg1
= (wxRect
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4809 (char *) "self",(char *) "rect", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxRect
*arg1
= (wxRect
*) 0 ;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4843 PyObject
* obj2
= 0 ;
4845 (char *) "self",(char *) "x",(char *) "y", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4851 arg2
= (int)SWIG_As_int(obj1
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4853 arg3
= (int)SWIG_As_int(obj2
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4871 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxRect
*arg1
= (wxRect
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "self",(char *) "pt", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4906 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxRect
*arg1
= (wxRect
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4913 PyObject
* obj1
= 0 ;
4915 (char *) "self",(char *) "rect", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4941 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxRect
*arg1
= (wxRect
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4948 (char *) "self",(char *) "x", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 arg2
= (int)SWIG_As_int(obj1
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4956 if (arg1
) (arg1
)->x
= arg2
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxRect
*arg1
= (wxRect
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4977 result
= (int) ((arg1
)->x
);
4979 resultobj
= SWIG_From_int((int)result
);
4986 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxRect
*arg1
= (wxRect
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4993 (char *) "self",(char *) "y", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 arg2
= (int)SWIG_As_int(obj1
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5001 if (arg1
) (arg1
)->y
= arg2
;
5003 Py_INCREF(Py_None
); resultobj
= Py_None
;
5010 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxRect
*arg1
= (wxRect
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 result
= (int) ((arg1
)->y
);
5024 resultobj
= SWIG_From_int((int)result
);
5031 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRect
*arg1
= (wxRect
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5038 (char *) "self",(char *) "width", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 arg2
= (int)SWIG_As_int(obj1
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5046 if (arg1
) (arg1
)->width
= arg2
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxRect
*arg1
= (wxRect
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5061 (char *) "self", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
5065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 result
= (int) ((arg1
)->width
);
5069 resultobj
= SWIG_From_int((int)result
);
5076 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxRect
*arg1
= (wxRect
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5083 (char *) "self",(char *) "height", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 arg2
= (int)SWIG_As_int(obj1
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5091 if (arg1
) (arg1
)->height
= arg2
;
5093 Py_INCREF(Py_None
); resultobj
= Py_None
;
5100 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxRect
*arg1
= (wxRect
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 result
= (int) ((arg1
)->height
);
5114 resultobj
= SWIG_From_int((int)result
);
5121 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxRect
*arg1
= (wxRect
*) 0 ;
5124 int arg2
= (int) 0 ;
5125 int arg3
= (int) 0 ;
5126 int arg4
= (int) 0 ;
5127 int arg5
= (int) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 PyObject
* obj2
= 0 ;
5131 PyObject
* obj3
= 0 ;
5132 PyObject
* obj4
= 0 ;
5134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5141 arg2
= (int)SWIG_As_int(obj1
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 arg3
= (int)SWIG_As_int(obj2
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5149 arg4
= (int)SWIG_As_int(obj3
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5153 arg5
= (int)SWIG_As_int(obj4
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxRect
*arg1
= (wxRect
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (PyObject
*)wxRect_Get(arg1
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5196 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5199 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5201 return Py_BuildValue((char *)"");
5203 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxRect
*arg1
= (wxRect
*) 0 ;
5206 wxRect
*arg2
= (wxRect
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "r1",(char *) "r2", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 if (!wxPyCheckForApp()) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5234 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 double arg1
= (double) 0.0 ;
5237 double arg2
= (double) 0.0 ;
5239 PyObject
* obj0
= 0 ;
5240 PyObject
* obj1
= 0 ;
5242 (char *) "x",(char *) "y", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5247 arg1
= (double)SWIG_As_double(obj0
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5251 arg2
= (double)SWIG_As_double(obj1
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5268 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
*resultobj
;
5270 wxPoint2D
*arg1
= 0 ;
5273 PyObject
* obj0
= 0 ;
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5281 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5297 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5302 PyObject
* obj0
= 0 ;
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5310 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5326 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5329 int *arg2
= (int *) 0 ;
5330 int *arg3
= (int *) 0 ;
5335 PyObject
* obj0
= 0 ;
5337 (char *) "self", NULL
5340 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5341 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 Py_INCREF(Py_None
); resultobj
= Py_None
;
5353 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5354 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5355 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5356 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5363 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5366 int *arg2
= (int *) 0 ;
5367 int *arg3
= (int *) 0 ;
5372 PyObject
* obj0
= 0 ;
5374 (char *) "self", NULL
5377 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5378 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5391 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5392 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5393 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5400 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "self", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_From_double((double)result
);
5426 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5432 (char *) "self", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_From_double((double)result
);
5452 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "length", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 arg2
= (double)SWIG_As_double(obj1
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->SetVectorLength(arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 Py_INCREF(Py_None
); resultobj
= Py_None
;
5481 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5488 (char *) "self",(char *) "degrees", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 arg2
= (double)SWIG_As_double(obj1
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->SetVectorAngle(arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5513 wxPoint2D
*arg2
= 0 ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5519 (char *) "self",(char *) "pt", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5527 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_From_double((double)result
);
5543 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5546 wxPoint2D
*arg2
= 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "pt", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_From_double((double)result
);
5576 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5579 wxPoint2D
*arg2
= 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "vec", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= SWIG_From_double((double)result
);
5609 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5612 wxPoint2D
*arg2
= 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5618 (char *) "self",(char *) "vec", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_From_double((double)result
);
5642 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5648 (char *) "self", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (arg1
)->operator -();
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 wxPoint2D
* resultptr
;
5663 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5672 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5675 wxPoint2D
*arg2
= 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5681 (char *) "self",(char *) "pt", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5686 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5689 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5695 result
= (wxPoint2D
*) &_result_ref
;
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5708 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5711 wxPoint2D
*arg2
= 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "pt", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5722 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5725 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5731 result
= (wxPoint2D
*) &_result_ref
;
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5744 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5747 wxPoint2D
*arg2
= 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "pt", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5758 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5761 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5767 result
= (wxPoint2D
*) &_result_ref
;
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5780 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5783 wxPoint2D
*arg2
= 0 ;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5789 (char *) "self",(char *) "pt", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5794 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5797 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5803 result
= (wxPoint2D
*) &_result_ref
;
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5816 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5819 wxPoint2D
*arg2
= 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "pt", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5851 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5854 wxPoint2D
*arg2
= 0 ;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5860 (char *) "self",(char *) "pt", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5868 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5886 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5893 (char *) "self",(char *) "m_x", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 arg2
= (double)SWIG_As_double(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5901 if (arg1
) (arg1
)->m_x
= arg2
;
5903 Py_INCREF(Py_None
); resultobj
= Py_None
;
5910 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5922 result
= (double) ((arg1
)->m_x
);
5924 resultobj
= SWIG_From_double((double)result
);
5931 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5938 (char *) "self",(char *) "m_y", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 arg2
= (double)SWIG_As_double(obj1
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5946 if (arg1
) (arg1
)->m_y
= arg2
;
5948 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 result
= (double) ((arg1
)->m_y
);
5969 resultobj
= SWIG_From_double((double)result
);
5976 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5979 double arg2
= (double) 0 ;
5980 double arg3
= (double) 0 ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5985 (char *) "self",(char *) "x",(char *) "y", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5992 arg2
= (double)SWIG_As_double(obj1
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 arg3
= (double)SWIG_As_double(obj2
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxPoint2D_Set(arg1
,arg2
,arg3
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6019 (char *) "self", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (PyObject
*)wxPoint2D_Get(arg1
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6039 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
6041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6042 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
6044 return Py_BuildValue((char *)"");
6046 static int _wrap_DefaultPosition_set(PyObject
*) {
6047 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
6052 static PyObject
*_wrap_DefaultPosition_get() {
6055 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
6060 static int _wrap_DefaultSize_set(PyObject
*) {
6061 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
6066 static PyObject
*_wrap_DefaultSize_get() {
6069 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
6074 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 PyObject
*arg1
= (PyObject
*) 0 ;
6077 wxPyInputStream
*result
;
6078 PyObject
* obj0
= 0 ;
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6099 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "self", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 Py_INCREF(Py_None
); resultobj
= Py_None
;
6149 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "self", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 Py_INCREF(Py_None
); resultobj
= Py_None
;
6174 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6180 (char *) "self", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)(arg1
)->eof();
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6202 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6205 int arg2
= (int) -1 ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6210 (char *) "self",(char *) "size", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 arg2
= (int)SWIG_As_int(obj1
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (PyObject
*)(arg1
)->read(arg2
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6234 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6237 int arg2
= (int) -1 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6242 (char *) "self",(char *) "size", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 arg2
= (int)SWIG_As_int(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (PyObject
*)(arg1
)->readline(arg2
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6266 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6269 int arg2
= (int) -1 ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6274 (char *) "self",(char *) "sizehint", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 arg2
= (int)SWIG_As_int(obj1
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6298 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6302 int arg3
= (int) 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6305 PyObject
* obj2
= 0 ;
6307 (char *) "self",(char *) "offset",(char *) "whence", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (int)SWIG_As_int(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 arg3
= (int)SWIG_As_int(obj2
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 (arg1
)->seek(arg2
,arg3
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 Py_INCREF(Py_None
); resultobj
= Py_None
;
6333 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (int)(arg1
)->tell();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_From_int((int)result
);
6359 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (char)(arg1
)->Peek();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_From_char((char)result
);
6385 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "self", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (char)(arg1
)->GetC();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= SWIG_From_char((char)result
);
6411 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6417 (char *) "self", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (size_t)(arg1
)->LastRead();
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6437 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (bool)(arg1
)->CanRead();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6465 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6471 (char *) "self", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (bool)(arg1
)->Eof();
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6493 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6501 (char *) "self",(char *) "c", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 arg2
= (char)SWIG_As_char(obj1
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (bool)(arg1
)->Ungetch(arg2
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6525 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6529 int arg3
= (int) wxFromStart
;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 PyObject
* obj2
= 0 ;
6535 (char *) "self",(char *) "pos",(char *) "mode", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 arg2
= (long)SWIG_As_long(obj1
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 arg3
= (int)SWIG_As_int(obj2
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_From_long((long)result
);
6561 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6567 (char *) "self", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (long)(arg1
)->TellI();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= SWIG_From_long((long)result
);
6587 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6590 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6592 return Py_BuildValue((char *)"");
6594 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6597 PyObject
*arg2
= (PyObject
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6601 (char *) "self",(char *) "obj", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 wxOutputStream_write(arg1
,arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 Py_INCREF(Py_None
); resultobj
= Py_None
;
6622 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6625 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6627 return Py_BuildValue((char *)"");
6629 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6632 wxString
*arg2
= 0 ;
6633 wxString
*arg3
= 0 ;
6634 wxString
*arg4
= 0 ;
6637 wxPyInputStream
*temp1
;
6639 bool temp2
= false ;
6640 bool temp3
= false ;
6641 bool temp4
= false ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 PyObject
* obj2
= 0 ;
6646 PyObject
* obj3
= 0 ;
6647 PyObject
* obj4
= 0 ;
6649 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6654 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6655 arg1
= temp1
->m_wxis
;
6658 PyErr_Clear(); // clear the failure of the wxPyConvert above
6659 arg1
= wxPyCBInputStream_create(obj0
, false);
6661 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6668 arg2
= wxString_in_helper(obj1
);
6669 if (arg2
== NULL
) SWIG_fail
;
6673 arg3
= wxString_in_helper(obj2
);
6674 if (arg3
== NULL
) SWIG_fail
;
6678 arg4
= wxString_in_helper(obj3
);
6679 if (arg4
== NULL
) SWIG_fail
;
6682 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6683 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= wxPyMake_wxObject(result
, 1);
6733 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "self", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 Py_INCREF(Py_None
); resultobj
= Py_None
;
6758 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6761 wxInputStream
*result
;
6762 PyObject
* obj0
= 0 ;
6764 (char *) "self", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (wxInputStream
*)(arg1
)->GetStream();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 wxPyInputStream
* _ptr
= NULL
;
6781 _ptr
= new wxPyInputStream(result
);
6783 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6791 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6795 PyObject
* obj0
= 0 ;
6797 (char *) "self", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6807 result
= (wxString
*) &_result_ref
;
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6817 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6826 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 wxString
const &_result_ref
= (arg1
)->GetLocation();
6842 result
= (wxString
*) &_result_ref
;
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6861 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6865 PyObject
* obj0
= 0 ;
6867 (char *) "self", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6877 result
= (wxString
*) &_result_ref
;
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6896 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6902 (char *) "self", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= (arg1
)->GetModificationTime();
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6916 wxDateTime
* resultptr
;
6917 resultptr
= new wxDateTime((wxDateTime
&) result
);
6918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6926 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6929 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6931 return Py_BuildValue((char *)"");
6933 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6936 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6938 return Py_BuildValue((char *)"");
6940 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxPyFileSystemHandler
*result
;
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6962 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6965 PyObject
*arg2
= (PyObject
*) 0 ;
6966 PyObject
*arg3
= (PyObject
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6971 (char *) "self",(char *) "self",(char *) "_class", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 Py_INCREF(Py_None
); resultobj
= Py_None
;
6993 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6996 wxString
*arg2
= 0 ;
6998 bool temp2
= false ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7002 (char *) "self",(char *) "location", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 arg2
= wxString_in_helper(obj1
);
7010 if (arg2
== NULL
) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7040 wxFileSystem
*arg2
= 0 ;
7041 wxString
*arg3
= 0 ;
7043 bool temp3
= false ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7048 (char *) "self",(char *) "fs",(char *) "location", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7058 PyErr_SetString(PyExc_TypeError
,"null reference");
7062 arg3
= wxString_in_helper(obj2
);
7063 if (arg3
== NULL
) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= wxPyMake_wxObject(result
, 1);
7090 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7093 wxString
*arg2
= 0 ;
7094 int arg3
= (int) 0 ;
7096 bool temp2
= false ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 PyObject
* obj2
= 0 ;
7101 (char *) "self",(char *) "spec",(char *) "flags", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7108 arg2
= wxString_in_helper(obj1
);
7109 if (arg2
== NULL
) SWIG_fail
;
7113 arg3
= (int)SWIG_As_int(obj2
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7144 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7150 (char *) "self", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (arg1
)->FindNext();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7176 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7179 wxString
*arg2
= 0 ;
7181 bool temp2
= false ;
7182 PyObject
* obj0
= 0 ;
7183 PyObject
* obj1
= 0 ;
7185 (char *) "self",(char *) "location", NULL
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7192 arg2
= wxString_in_helper(obj1
);
7193 if (arg2
== NULL
) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7224 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7227 wxString
*arg2
= 0 ;
7229 bool temp2
= false ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "location", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7240 arg2
= wxString_in_helper(obj1
);
7241 if (arg2
== NULL
) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7272 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7275 wxString
*arg2
= 0 ;
7277 bool temp2
= false ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7281 (char *) "self",(char *) "location", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 arg2
= wxString_in_helper(obj1
);
7289 if (arg2
== NULL
) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7320 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7323 wxString
*arg2
= 0 ;
7325 bool temp2
= false ;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7329 (char *) "self",(char *) "location", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7336 arg2
= wxString_in_helper(obj1
);
7337 if (arg2
== NULL
) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7368 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7371 wxString
*arg2
= 0 ;
7373 bool temp2
= false ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7377 (char *) "self",(char *) "location", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7384 arg2
= wxString_in_helper(obj1
);
7385 if (arg2
== NULL
) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7416 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7419 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7421 return Py_BuildValue((char *)"");
7423 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxFileSystem
*result
;
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (wxFileSystem
*)new wxFileSystem();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= wxPyMake_wxObject(result
, 1);
7447 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7475 wxString
*arg2
= 0 ;
7476 bool arg3
= (bool) false ;
7477 bool temp2
= false ;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7480 PyObject
* obj2
= 0 ;
7482 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7489 arg2
= wxString_in_helper(obj1
);
7490 if (arg2
== NULL
) SWIG_fail
;
7494 arg3
= (bool)SWIG_As_bool(obj2
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "self", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (arg1
)->GetPath();
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7551 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7554 wxString
*arg2
= 0 ;
7556 bool temp2
= false ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "location", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 arg2
= wxString_in_helper(obj1
);
7568 if (arg2
== NULL
) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= wxPyMake_wxObject(result
, 1);
7595 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7598 wxString
*arg2
= 0 ;
7599 int arg3
= (int) 0 ;
7601 bool temp2
= false ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7604 PyObject
* obj2
= 0 ;
7606 (char *) "self",(char *) "spec",(char *) "flags", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 arg2
= wxString_in_helper(obj1
);
7614 if (arg2
== NULL
) SWIG_fail
;
7618 arg3
= (int)SWIG_As_int(obj2
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7649 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (arg1
)->FindNext();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7681 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7686 (char *) "handler", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 wxFileSystem::AddHandler(arg1
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 Py_INCREF(Py_None
); resultobj
= Py_None
;
7706 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxFileSystem::CleanUpHandlers();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxString
*arg1
= 0 ;
7731 bool temp1
= false ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "filename", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7739 arg1
= wxString_in_helper(obj0
);
7740 if (arg1
== NULL
) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7771 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxString
*arg1
= 0 ;
7775 bool temp1
= false ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "url", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7783 arg1
= wxString_in_helper(obj0
);
7784 if (arg1
== NULL
) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7815 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7818 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7820 return Py_BuildValue((char *)"");
7822 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxInternetFSHandler
*result
;
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7844 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7847 wxString
*arg2
= 0 ;
7849 bool temp2
= false ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "location", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 arg2
= wxString_in_helper(obj1
);
7861 if (arg2
== NULL
) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7888 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7891 wxFileSystem
*arg2
= 0 ;
7892 wxString
*arg3
= 0 ;
7894 bool temp3
= false ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 PyObject
* obj2
= 0 ;
7899 (char *) "self",(char *) "fs",(char *) "location", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7909 PyErr_SetString(PyExc_TypeError
,"null reference");
7913 arg3
= wxString_in_helper(obj2
);
7914 if (arg3
== NULL
) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= wxPyMake_wxObject(result
, 1);
7941 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7944 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7946 return Py_BuildValue((char *)"");
7948 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxZipFSHandler
*result
;
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7970 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7973 wxString
*arg2
= 0 ;
7975 bool temp2
= false ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7979 (char *) "self",(char *) "location", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 arg2
= wxString_in_helper(obj1
);
7987 if (arg2
== NULL
) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8014 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8017 wxFileSystem
*arg2
= 0 ;
8018 wxString
*arg3
= 0 ;
8020 bool temp3
= false ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8025 (char *) "self",(char *) "fs",(char *) "location", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8035 PyErr_SetString(PyExc_TypeError
,"null reference");
8039 arg3
= wxString_in_helper(obj2
);
8040 if (arg3
== NULL
) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= wxPyMake_wxObject(result
, 1);
8067 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8070 wxString
*arg2
= 0 ;
8071 int arg3
= (int) 0 ;
8073 bool temp2
= false ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8078 (char *) "self",(char *) "spec",(char *) "flags", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 arg2
= wxString_in_helper(obj1
);
8086 if (arg2
== NULL
) SWIG_fail
;
8090 arg3
= (int)SWIG_As_int(obj2
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8121 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (arg1
)->FindNext();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8153 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8156 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8158 return Py_BuildValue((char *)"");
8160 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxString
*arg1
= 0 ;
8165 bool temp1
= false ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8168 PyObject
* obj2
= 0 ;
8170 (char *) "filename",(char *) "image",(char *) "type", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8175 arg1
= wxString_in_helper(obj0
);
8176 if (arg1
== NULL
) SWIG_fail
;
8179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8183 PyErr_SetString(PyExc_TypeError
,"null reference");
8186 arg3
= (long)SWIG_As_long(obj2
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 Py_INCREF(Py_None
); resultobj
= Py_None
;
8210 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxString
*arg1
= 0 ;
8213 wxBitmap
*arg2
= 0 ;
8215 bool temp1
= false ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 PyObject
* obj2
= 0 ;
8220 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8225 arg1
= wxString_in_helper(obj0
);
8226 if (arg1
== NULL
) SWIG_fail
;
8229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8233 PyErr_SetString(PyExc_TypeError
,"null reference");
8236 arg3
= (long)SWIG_As_long(obj2
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxString
*arg1
= 0 ;
8263 PyObject
*arg2
= (PyObject
*) 0 ;
8264 bool temp1
= false ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8268 (char *) "filename",(char *) "data", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8273 arg1
= wxString_in_helper(obj0
);
8274 if (arg1
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxMemoryFSHandler
*result
;
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8322 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxString
*arg1
= 0 ;
8325 bool temp1
= false ;
8326 PyObject
* obj0
= 0 ;
8328 (char *) "filename", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8333 arg1
= wxString_in_helper(obj0
);
8334 if (arg1
== NULL
) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8362 wxString
*arg2
= 0 ;
8364 bool temp2
= false ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 (char *) "self",(char *) "location", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 arg2
= wxString_in_helper(obj1
);
8376 if (arg2
== NULL
) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8403 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8406 wxFileSystem
*arg2
= 0 ;
8407 wxString
*arg3
= 0 ;
8409 bool temp3
= false ;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8412 PyObject
* obj2
= 0 ;
8414 (char *) "self",(char *) "fs",(char *) "location", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8424 PyErr_SetString(PyExc_TypeError
,"null reference");
8428 arg3
= wxString_in_helper(obj2
);
8429 if (arg3
== NULL
) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= wxPyMake_wxObject(result
, 1);
8456 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8459 wxString
*arg2
= 0 ;
8460 int arg3
= (int) 0 ;
8462 bool temp2
= false ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8467 (char *) "self",(char *) "spec",(char *) "flags", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 arg2
= wxString_in_helper(obj1
);
8475 if (arg2
== NULL
) SWIG_fail
;
8479 arg3
= (int)SWIG_As_int(obj2
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8510 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8514 PyObject
* obj0
= 0 ;
8516 (char *) "self", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (arg1
)->FindNext();
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8542 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8545 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8547 return Py_BuildValue((char *)"");
8549 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "self", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (arg1
)->GetName();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8581 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "self", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= (arg1
)->GetExtension();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8613 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (long)(arg1
)->GetType();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_From_long((long)result
);
8639 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "self", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (arg1
)->GetMimeType();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8671 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8674 wxString
*arg2
= 0 ;
8676 bool temp2
= false ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8680 (char *) "self",(char *) "name", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 arg2
= wxString_in_helper(obj1
);
8688 if (arg2
== NULL
) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8715 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8718 wxString
*arg2
= 0 ;
8719 bool temp2
= false ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "name", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 arg2
= wxString_in_helper(obj1
);
8731 if (arg2
== NULL
) SWIG_fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 (arg1
)->SetName((wxString
const &)*arg2
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 Py_INCREF(Py_None
); resultobj
= Py_None
;
8756 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8759 wxString
*arg2
= 0 ;
8760 bool temp2
= false ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "extension", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8771 arg2
= wxString_in_helper(obj1
);
8772 if (arg2
== NULL
) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->SetExtension((wxString
const &)*arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "type", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 arg2
= (long)SWIG_As_long(obj1
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->SetType(arg2
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8829 wxString
*arg2
= 0 ;
8830 bool temp2
= false ;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj1
= 0 ;
8834 (char *) "self",(char *) "mimetype", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 arg2
= wxString_in_helper(obj1
);
8842 if (arg2
== NULL
) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 Py_INCREF(Py_None
); resultobj
= Py_None
;
8867 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8870 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8872 return Py_BuildValue((char *)"");
8874 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxImageHistogram
*result
;
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (wxImageHistogram
*)new wxImageHistogram();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8896 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 unsigned char arg1
;
8899 unsigned char arg2
;
8900 unsigned char arg3
;
8901 unsigned long result
;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8904 PyObject
* obj2
= 0 ;
8906 (char *) "r",(char *) "g",(char *) "b", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8910 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8912 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8914 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8930 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8933 unsigned char *arg2
= (unsigned char *) 0 ;
8934 unsigned char *arg3
= (unsigned char *) 0 ;
8935 unsigned char *arg4
= (unsigned char *) 0 ;
8936 unsigned char arg5
= (unsigned char) 1 ;
8937 unsigned char arg6
= (unsigned char) 0 ;
8938 unsigned char arg7
= (unsigned char) 0 ;
8940 unsigned char temp2
;
8942 unsigned char temp3
;
8944 unsigned char temp4
;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8948 PyObject
* obj2
= 0 ;
8949 PyObject
* obj3
= 0 ;
8951 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8954 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8955 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8956 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8969 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8982 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8983 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8984 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8985 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8986 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8987 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8994 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8997 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8999 return Py_BuildValue((char *)"");
9001 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxString
*arg1
= 0 ;
9004 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9005 int arg3
= (int) -1 ;
9007 bool temp1
= false ;
9008 PyObject
* obj0
= 0 ;
9009 PyObject
* obj1
= 0 ;
9010 PyObject
* obj2
= 0 ;
9012 (char *) "name",(char *) "type",(char *) "index", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 arg1
= wxString_in_helper(obj0
);
9018 if (arg1
== NULL
) SWIG_fail
;
9022 arg2
= (long)SWIG_As_long(obj1
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9026 arg3
= (int)SWIG_As_int(obj2
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9051 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxImage
*arg1
= (wxImage
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9056 (char *) "self", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 Py_INCREF(Py_None
); resultobj
= Py_None
;
9076 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxString
*arg1
= 0 ;
9079 wxString
*arg2
= 0 ;
9080 int arg3
= (int) -1 ;
9082 bool temp1
= false ;
9083 bool temp2
= false ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9086 PyObject
* obj2
= 0 ;
9088 (char *) "name",(char *) "mimetype",(char *) "index", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9093 arg1
= wxString_in_helper(obj0
);
9094 if (arg1
== NULL
) SWIG_fail
;
9098 arg2
= wxString_in_helper(obj1
);
9099 if (arg2
== NULL
) SWIG_fail
;
9103 arg3
= (int)SWIG_As_int(obj2
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9136 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxInputStream
*arg1
= 0 ;
9139 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9140 int arg3
= (int) -1 ;
9142 wxPyInputStream
*temp1
;
9144 PyObject
* obj0
= 0 ;
9145 PyObject
* obj1
= 0 ;
9146 PyObject
* obj2
= 0 ;
9148 (char *) "stream",(char *) "type",(char *) "index", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9153 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9154 arg1
= temp1
->m_wxis
;
9157 PyErr_Clear(); // clear the failure of the wxPyConvert above
9158 arg1
= wxPyCBInputStream_create(obj0
, false);
9160 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9167 arg2
= (long)SWIG_As_long(obj1
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 arg3
= (int)SWIG_As_int(obj2
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9196 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxInputStream
*arg1
= 0 ;
9199 wxString
*arg2
= 0 ;
9200 int arg3
= (int) -1 ;
9202 wxPyInputStream
*temp1
;
9204 bool temp2
= false ;
9205 PyObject
* obj0
= 0 ;
9206 PyObject
* obj1
= 0 ;
9207 PyObject
* obj2
= 0 ;
9209 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9214 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9215 arg1
= temp1
->m_wxis
;
9218 PyErr_Clear(); // clear the failure of the wxPyConvert above
9219 arg1
= wxPyCBInputStream_create(obj0
, false);
9221 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9228 arg2
= wxString_in_helper(obj1
);
9229 if (arg2
== NULL
) SWIG_fail
;
9233 arg3
= (int)SWIG_As_int(obj2
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9266 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 int arg1
= (int) 0 ;
9269 int arg2
= (int) 0 ;
9270 bool arg3
= (bool) true ;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9276 (char *) "width",(char *) "height",(char *) "clear", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9281 arg1
= (int)SWIG_As_int(obj0
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 arg2
= (int)SWIG_As_int(obj1
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 arg3
= (bool)SWIG_As_bool(obj2
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9306 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxBitmap
*arg1
= 0 ;
9310 PyObject
* obj0
= 0 ;
9312 (char *) "bitmap", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9320 PyErr_SetString(PyExc_TypeError
,"null reference");
9324 if (!wxPyCheckForApp()) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9338 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9342 unsigned char *arg3
= (unsigned char *) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9348 (char *) "width",(char *) "height",(char *) "data", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9352 arg1
= (int)SWIG_As_int(obj0
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9354 arg2
= (int)SWIG_As_int(obj1
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9372 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9376 unsigned char *arg3
= (unsigned char *) 0 ;
9377 unsigned char *arg4
= (unsigned char *) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 PyObject
* obj2
= 0 ;
9382 PyObject
* obj3
= 0 ;
9384 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9388 arg1
= (int)SWIG_As_int(obj0
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9390 arg2
= (int)SWIG_As_int(obj1
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9394 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
9395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9410 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxImage
*arg1
= (wxImage
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 PyObject
* obj2
= 0 ;
9419 (char *) "self",(char *) "width",(char *) "height", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9425 arg2
= (int)SWIG_As_int(obj1
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9427 arg3
= (int)SWIG_As_int(obj2
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->Create(arg2
,arg3
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxImage
*arg1
= (wxImage
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 Py_INCREF(Py_None
); resultobj
= Py_None
;
9468 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxImage
*arg1
= (wxImage
*) 0 ;
9473 SwigValueWrapper
< wxImage
> result
;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9478 (char *) "self",(char *) "width",(char *) "height", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 arg2
= (int)SWIG_As_int(obj1
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg3
= (int)SWIG_As_int(obj2
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (arg1
)->Scale(arg2
,arg3
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 wxImage
* resultptr
;
9497 resultptr
= new wxImage((wxImage
&) result
);
9498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9506 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxImage
*arg1
= (wxImage
*) 0 ;
9511 SwigValueWrapper
< wxImage
> result
;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9516 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 arg2
= (int)SWIG_As_int(obj1
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9524 arg3
= (int)SWIG_As_int(obj2
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9534 wxImage
* resultptr
;
9535 resultptr
= new wxImage((wxImage
&) result
);
9536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9544 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxImage
*arg1
= (wxImage
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 PyObject
* obj2
= 0 ;
9554 (char *) "self",(char *) "width",(char *) "height", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 arg2
= (int)SWIG_As_int(obj1
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9562 arg3
= (int)SWIG_As_int(obj2
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9568 result
= (wxImage
*) &_result_ref
;
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9581 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
;
9583 wxImage
*arg1
= (wxImage
*) 0 ;
9586 unsigned char arg4
;
9587 unsigned char arg5
;
9588 unsigned char arg6
;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9591 PyObject
* obj2
= 0 ;
9592 PyObject
* obj3
= 0 ;
9593 PyObject
* obj4
= 0 ;
9594 PyObject
* obj5
= 0 ;
9596 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
9606 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9608 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9610 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxImage
*arg1
= (wxImage
*) 0 ;
9631 unsigned char result
;
9632 PyObject
* obj0
= 0 ;
9633 PyObject
* obj1
= 0 ;
9634 PyObject
* obj2
= 0 ;
9636 (char *) "self",(char *) "x",(char *) "y", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 arg2
= (int)SWIG_As_int(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9644 arg3
= (int)SWIG_As_int(obj2
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9660 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxImage
*arg1
= (wxImage
*) 0 ;
9665 unsigned char result
;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9668 PyObject
* obj2
= 0 ;
9670 (char *) "self",(char *) "x",(char *) "y", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9676 arg2
= (int)SWIG_As_int(obj1
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9678 arg3
= (int)SWIG_As_int(obj2
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9694 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxImage
*arg1
= (wxImage
*) 0 ;
9699 unsigned char result
;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9702 PyObject
* obj2
= 0 ;
9704 (char *) "self",(char *) "x",(char *) "y", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 arg2
= (int)SWIG_As_int(obj1
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9712 arg3
= (int)SWIG_As_int(obj2
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9728 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxImage
*arg1
= (wxImage
*) 0 ;
9733 unsigned char arg4
;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 PyObject
* obj2
= 0 ;
9737 PyObject
* obj3
= 0 ;
9739 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 arg2
= (int)SWIG_As_int(obj1
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9747 arg3
= (int)SWIG_As_int(obj2
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9749 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 Py_INCREF(Py_None
); resultobj
= Py_None
;
9765 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxImage
*arg1
= (wxImage
*) 0 ;
9770 unsigned char result
;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 PyObject
* obj2
= 0 ;
9775 (char *) "self",(char *) "x",(char *) "y", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 arg2
= (int)SWIG_As_int(obj1
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9783 arg3
= (int)SWIG_As_int(obj2
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9799 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxImage
*arg1
= (wxImage
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9805 (char *) "self", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)(arg1
)->HasAlpha();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9827 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxImage
*arg1
= (wxImage
*) 0 ;
9830 byte
*arg2
= (byte
*) 0 ;
9831 byte
*arg3
= (byte
*) 0 ;
9832 byte
*arg4
= (byte
*) 0 ;
9833 byte arg5
= (byte
) 0 ;
9834 byte arg6
= (byte
) 0 ;
9835 byte arg7
= (byte
) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 PyObject
* obj2
= 0 ;
9846 PyObject
* obj3
= 0 ;
9848 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9851 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9852 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9853 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9866 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9880 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9881 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9882 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9883 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9884 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9891 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxImage
*arg1
= (wxImage
*) 0 ;
9894 byte arg2
= (byte
) 128 ;
9896 PyObject
* obj0
= 0 ;
9897 PyObject
* obj1
= 0 ;
9899 (char *) "self",(char *) "threshold", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9906 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9925 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxImage
*arg1
= (wxImage
*) 0 ;
9928 unsigned char arg2
;
9929 unsigned char arg3
;
9930 unsigned char arg4
;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 PyObject
* obj2
= 0 ;
9935 PyObject
* obj3
= 0 ;
9937 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9945 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9947 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9965 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxImage
*arg1
= (wxImage
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9975 PyObject
* obj2
= 0 ;
9976 PyObject
* obj3
= 0 ;
9977 PyObject
* obj4
= 0 ;
9979 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9989 PyErr_SetString(PyExc_TypeError
,"null reference");
9992 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9994 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9996 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxString
*arg1
= 0 ;
10018 bool temp1
= false ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "name", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
10026 arg1
= wxString_in_helper(obj0
);
10027 if (arg1
== NULL
) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10054 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxString
*arg1
= 0 ;
10057 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10059 bool temp1
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "name",(char *) "type", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10068 arg1
= wxString_in_helper(obj0
);
10069 if (arg1
== NULL
) SWIG_fail
;
10073 arg2
= (long)SWIG_As_long(obj1
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_From_int((int)result
);
10098 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxImage
*arg1
= (wxImage
*) 0 ;
10101 wxString
*arg2
= 0 ;
10102 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10103 int arg4
= (int) -1 ;
10105 bool temp2
= false ;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 PyObject
* obj2
= 0 ;
10109 PyObject
* obj3
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 arg2
= wxString_in_helper(obj1
);
10119 if (arg2
== NULL
) SWIG_fail
;
10123 arg3
= (long)SWIG_As_long(obj2
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 arg4
= (int)SWIG_As_int(obj3
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10154 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxImage
*arg1
= (wxImage
*) 0 ;
10157 wxString
*arg2
= 0 ;
10158 wxString
*arg3
= 0 ;
10159 int arg4
= (int) -1 ;
10161 bool temp2
= false ;
10162 bool temp3
= false ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 PyObject
* obj2
= 0 ;
10166 PyObject
* obj3
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 arg2
= wxString_in_helper(obj1
);
10176 if (arg2
== NULL
) SWIG_fail
;
10180 arg3
= wxString_in_helper(obj2
);
10181 if (arg3
== NULL
) SWIG_fail
;
10185 arg4
= (int)SWIG_As_int(obj3
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10220 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxImage
*arg1
= (wxImage
*) 0 ;
10223 wxString
*arg2
= 0 ;
10226 bool temp2
= false ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self",(char *) "name",(char *) "type", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10238 arg2
= wxString_in_helper(obj1
);
10239 if (arg2
== NULL
) SWIG_fail
;
10242 arg3
= (int)SWIG_As_int(obj2
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxImage
*arg1
= (wxImage
*) 0 ;
10271 wxString
*arg2
= 0 ;
10272 wxString
*arg3
= 0 ;
10274 bool temp2
= false ;
10275 bool temp3
= false ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj2
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 arg2
= wxString_in_helper(obj1
);
10288 if (arg2
== NULL
) SWIG_fail
;
10292 arg3
= wxString_in_helper(obj2
);
10293 if (arg3
== NULL
) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10328 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxInputStream
*arg1
= 0 ;
10332 wxPyInputStream
*temp1
;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "stream", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10341 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10342 arg1
= temp1
->m_wxis
;
10345 PyErr_Clear(); // clear the failure of the wxPyConvert above
10346 arg1
= wxPyCBInputStream_create(obj0
, false);
10347 if (arg1
== NULL
) {
10348 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (bool)wxImage::CanRead(*arg1
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxImage
*arg1
= (wxImage
*) 0 ;
10381 wxInputStream
*arg2
= 0 ;
10382 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10383 int arg4
= (int) -1 ;
10385 wxPyInputStream
*temp2
;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 PyObject
* obj2
= 0 ;
10390 PyObject
* obj3
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10400 arg2
= temp2
->m_wxis
;
10403 PyErr_Clear(); // clear the failure of the wxPyConvert above
10404 arg2
= wxPyCBInputStream_create(obj1
, false);
10405 if (arg2
== NULL
) {
10406 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10413 arg3
= (long)SWIG_As_long(obj2
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 arg4
= (int)SWIG_As_int(obj3
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10444 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxImage
*arg1
= (wxImage
*) 0 ;
10447 wxInputStream
*arg2
= 0 ;
10448 wxString
*arg3
= 0 ;
10449 int arg4
= (int) -1 ;
10451 wxPyInputStream
*temp2
;
10453 bool temp3
= false ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 PyObject
* obj3
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10467 arg2
= temp2
->m_wxis
;
10470 PyErr_Clear(); // clear the failure of the wxPyConvert above
10471 arg2
= wxPyCBInputStream_create(obj1
, false);
10472 if (arg2
== NULL
) {
10473 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10480 arg3
= wxString_in_helper(obj2
);
10481 if (arg3
== NULL
) SWIG_fail
;
10485 arg4
= (int)SWIG_As_int(obj3
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10520 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxImage
*arg1
= (wxImage
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (bool)(arg1
)->Ok();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10548 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxImage
*arg1
= (wxImage
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (int)(arg1
)->GetWidth();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_From_int((int)result
);
10574 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxImage
*arg1
= (wxImage
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= (int)(arg1
)->GetHeight();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= SWIG_From_int((int)result
);
10600 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxImage
*arg1
= (wxImage
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= wxImage_GetSize(arg1
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 wxSize
* resultptr
;
10621 resultptr
= new wxSize((wxSize
&) result
);
10622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10630 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxImage
*arg1
= (wxImage
*) 0 ;
10634 SwigValueWrapper
< wxImage
> result
;
10636 PyObject
* obj0
= 0 ;
10637 PyObject
* obj1
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self",(char *) "rect", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 wxImage
* resultptr
;
10658 resultptr
= new wxImage((wxImage
&) result
);
10659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10667 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxImage
*arg1
= (wxImage
*) 0 ;
10670 SwigValueWrapper
< wxImage
> result
;
10671 PyObject
* obj0
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (arg1
)->Copy();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10687 wxImage
* resultptr
;
10688 resultptr
= new wxImage((wxImage
&) result
);
10689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10697 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxImage
*arg1
= (wxImage
*) 0 ;
10700 wxImage
*arg2
= 0 ;
10703 PyObject
* obj0
= 0 ;
10704 PyObject
* obj1
= 0 ;
10705 PyObject
* obj2
= 0 ;
10706 PyObject
* obj3
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10717 if (arg2
== NULL
) {
10718 PyErr_SetString(PyExc_TypeError
,"null reference");
10721 arg3
= (int)SWIG_As_int(obj2
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10723 arg4
= (int)SWIG_As_int(obj3
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 Py_INCREF(Py_None
); resultobj
= Py_None
;
10739 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxImage
*arg1
= (wxImage
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (PyObject
*)wxImage_GetData(arg1
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= result
;
10765 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxImage
*arg1
= (wxImage
*) 0 ;
10768 PyObject
*arg2
= (PyObject
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "data", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 wxImage_SetData(arg1
,arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxImage
*arg1
= (wxImage
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= result
;
10819 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxImage
*arg1
= (wxImage
*) 0 ;
10822 PyObject
*arg2
= (PyObject
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "data", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 wxImage_SetDataBuffer(arg1
,arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxImage
*arg1
= (wxImage
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= result
;
10873 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxImage
*arg1
= (wxImage
*) 0 ;
10876 PyObject
*arg2
= (PyObject
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "data", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 wxImage_SetAlphaData(arg1
,arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 Py_INCREF(Py_None
); resultobj
= Py_None
;
10901 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxImage
*arg1
= (wxImage
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= result
;
10927 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxImage
*arg1
= (wxImage
*) 0 ;
10930 PyObject
*arg2
= (PyObject
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "data", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 wxImage_SetAlphaBuffer(arg1
,arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 Py_INCREF(Py_None
); resultobj
= Py_None
;
10955 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxImage
*arg1
= (wxImage
*) 0 ;
10958 unsigned char arg2
;
10959 unsigned char arg3
;
10960 unsigned char arg4
;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 PyObject
* obj2
= 0 ;
10964 PyObject
* obj3
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10974 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10976 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 Py_INCREF(Py_None
); resultobj
= Py_None
;
10992 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxImage
*arg1
= (wxImage
*) 0 ;
10995 unsigned char result
;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (unsigned char)(arg1
)->GetMaskRed();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11018 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxImage
*arg1
= (wxImage
*) 0 ;
11021 unsigned char result
;
11022 PyObject
* obj0
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (unsigned char)(arg1
)->GetMaskGreen();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11044 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxImage
*arg1
= (wxImage
*) 0 ;
11047 unsigned char result
;
11048 PyObject
* obj0
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (unsigned char)(arg1
)->GetMaskBlue();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
11070 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxImage
*arg1
= (wxImage
*) 0 ;
11073 bool arg2
= (bool) true ;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "mask", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 arg2
= (bool)SWIG_As_bool(obj1
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 (arg1
)->SetMask(arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 Py_INCREF(Py_None
); resultobj
= Py_None
;
11101 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxImage
*arg1
= (wxImage
*) 0 ;
11105 PyObject
* obj0
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)(arg1
)->HasMask();
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxImage
*arg1
= (wxImage
*) 0 ;
11133 wxPoint
*arg3
= 0 ;
11134 bool arg4
= (bool) true ;
11135 wxPoint
*arg5
= (wxPoint
*) NULL
;
11136 SwigValueWrapper
< wxImage
> result
;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 PyObject
* obj2
= 0 ;
11141 PyObject
* obj3
= 0 ;
11142 PyObject
* obj4
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11150 arg2
= (double)SWIG_As_double(obj1
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11157 arg4
= (bool)SWIG_As_bool(obj3
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11172 wxImage
* resultptr
;
11173 resultptr
= new wxImage((wxImage
&) result
);
11174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11182 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxImage
*arg1
= (wxImage
*) 0 ;
11185 bool arg2
= (bool) true ;
11186 SwigValueWrapper
< wxImage
> result
;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "clockwise", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11197 arg2
= (bool)SWIG_As_bool(obj1
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (arg1
)->Rotate90(arg2
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 wxImage
* resultptr
;
11209 resultptr
= new wxImage((wxImage
&) result
);
11210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11218 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxImage
*arg1
= (wxImage
*) 0 ;
11221 bool arg2
= (bool) true ;
11222 SwigValueWrapper
< wxImage
> result
;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "horizontally", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11233 arg2
= (bool)SWIG_As_bool(obj1
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (arg1
)->Mirror(arg2
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11244 wxImage
* resultptr
;
11245 resultptr
= new wxImage((wxImage
&) result
);
11246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11254 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxImage
*arg1
= (wxImage
*) 0 ;
11257 unsigned char arg2
;
11258 unsigned char arg3
;
11259 unsigned char arg4
;
11260 unsigned char arg5
;
11261 unsigned char arg6
;
11262 unsigned char arg7
;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 PyObject
* obj2
= 0 ;
11266 PyObject
* obj3
= 0 ;
11267 PyObject
* obj4
= 0 ;
11268 PyObject
* obj5
= 0 ;
11269 PyObject
* obj6
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11279 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11281 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11283 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11285 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11287 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxImage
*arg1
= (wxImage
*) 0 ;
11306 unsigned char arg2
;
11307 unsigned char arg3
;
11308 unsigned char arg4
;
11309 SwigValueWrapper
< wxImage
> result
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 PyObject
* obj2
= 0 ;
11313 PyObject
* obj3
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11323 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11325 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11335 wxImage
* resultptr
;
11336 resultptr
= new wxImage((wxImage
&) result
);
11337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11345 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxImage
*arg1
= (wxImage
*) 0 ;
11348 wxString
*arg2
= 0 ;
11349 wxString
*arg3
= 0 ;
11350 bool temp2
= false ;
11351 bool temp3
= false ;
11352 PyObject
* obj0
= 0 ;
11353 PyObject
* obj1
= 0 ;
11354 PyObject
* obj2
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "name",(char *) "value", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11363 arg2
= wxString_in_helper(obj1
);
11364 if (arg2
== NULL
) SWIG_fail
;
11368 arg3
= wxString_in_helper(obj2
);
11369 if (arg3
== NULL
) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 Py_INCREF(Py_None
); resultobj
= Py_None
;
11402 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxImage
*arg1
= (wxImage
*) 0 ;
11405 wxString
*arg2
= 0 ;
11407 bool temp2
= false ;
11408 PyObject
* obj0
= 0 ;
11409 PyObject
* obj1
= 0 ;
11410 PyObject
* obj2
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self",(char *) "name",(char *) "value", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg2
= wxString_in_helper(obj1
);
11420 if (arg2
== NULL
) SWIG_fail
;
11423 arg3
= (int)SWIG_As_int(obj2
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11447 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxImage
*arg1
= (wxImage
*) 0 ;
11450 wxString
*arg2
= 0 ;
11452 bool temp2
= false ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "name", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11463 arg2
= wxString_in_helper(obj1
);
11464 if (arg2
== NULL
) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11495 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxImage
*arg1
= (wxImage
*) 0 ;
11498 wxString
*arg2
= 0 ;
11500 bool temp2
= false ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self",(char *) "name", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 arg2
= wxString_in_helper(obj1
);
11512 if (arg2
== NULL
) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_int((int)result
);
11537 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxImage
*arg1
= (wxImage
*) 0 ;
11540 wxString
*arg2
= 0 ;
11542 bool temp2
= false ;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "name", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11553 arg2
= wxString_in_helper(obj1
);
11554 if (arg2
== NULL
) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11581 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxImage
*arg1
= (wxImage
*) 0 ;
11584 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11585 unsigned long result
;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self",(char *) "stopafter", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11613 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxImage
*arg1
= (wxImage
*) 0 ;
11616 wxImageHistogram
*arg2
= 0 ;
11617 unsigned long result
;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self",(char *) "h", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11630 if (arg2
== NULL
) {
11631 PyErr_SetString(PyExc_TypeError
,"null reference");
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11648 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11651 PyObject
* obj0
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "handler", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 wxImage::AddHandler(arg1
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "handler", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 wxImage::InsertHandler(arg1
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxString
*arg1
= 0 ;
11702 bool temp1
= false ;
11703 PyObject
* obj0
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "name", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11710 arg1
= wxString_in_helper(obj0
);
11711 if (arg1
== NULL
) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11738 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11741 char *kwnames
[] = {
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= wxImage::GetImageExtWildcard();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11766 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxImage
*arg1
= (wxImage
*) 0 ;
11769 int arg2
= (int) -1 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self",(char *) "depth", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11781 arg2
= (int)SWIG_As_int(obj1
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 if (!wxPyCheckForApp()) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 wxBitmap
* resultptr
;
11794 resultptr
= new wxBitmap((wxBitmap
&) result
);
11795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11803 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxImage
*arg1
= (wxImage
*) 0 ;
11806 unsigned char arg2
;
11807 unsigned char arg3
;
11808 unsigned char arg4
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 PyObject
* obj2
= 0 ;
11813 PyObject
* obj3
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11821 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11823 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11825 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 if (!wxPyCheckForApp()) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 wxBitmap
* resultptr
;
11837 resultptr
= new wxBitmap((wxBitmap
&) result
);
11838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11846 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11849 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11851 return Py_BuildValue((char *)"");
11853 static int _wrap_NullImage_set(PyObject
*) {
11854 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11859 static PyObject
*_wrap_NullImage_get() {
11862 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11867 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11868 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11873 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11878 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11880 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11887 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11888 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11893 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11898 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11900 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11907 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11908 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11913 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11918 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11920 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11927 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11928 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11933 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11938 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11940 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11947 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11948 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11953 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11958 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11960 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11967 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxBMPHandler
*result
;
11970 char *kwnames
[] = {
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (wxBMPHandler
*)new wxBMPHandler();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11989 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11992 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11994 return Py_BuildValue((char *)"");
11996 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxICOHandler
*result
;
11999 char *kwnames
[] = {
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxICOHandler
*)new wxICOHandler();
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
12018 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
12020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12021 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
12023 return Py_BuildValue((char *)"");
12025 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxCURHandler
*result
;
12028 char *kwnames
[] = {
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxCURHandler
*)new wxCURHandler();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
12047 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
12049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12050 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
12052 return Py_BuildValue((char *)"");
12054 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxANIHandler
*result
;
12057 char *kwnames
[] = {
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxANIHandler
*)new wxANIHandler();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
12076 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
12078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12079 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
12081 return Py_BuildValue((char *)"");
12083 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxPNGHandler
*result
;
12086 char *kwnames
[] = {
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (wxPNGHandler
*)new wxPNGHandler();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
12105 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
12107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12108 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
12110 return Py_BuildValue((char *)"");
12112 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxGIFHandler
*result
;
12115 char *kwnames
[] = {
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (wxGIFHandler
*)new wxGIFHandler();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12134 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12137 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12139 return Py_BuildValue((char *)"");
12141 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxPCXHandler
*result
;
12144 char *kwnames
[] = {
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (wxPCXHandler
*)new wxPCXHandler();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12163 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12166 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12168 return Py_BuildValue((char *)"");
12170 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxJPEGHandler
*result
;
12173 char *kwnames
[] = {
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12192 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12195 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12197 return Py_BuildValue((char *)"");
12199 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxPNMHandler
*result
;
12202 char *kwnames
[] = {
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (wxPNMHandler
*)new wxPNMHandler();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12221 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12224 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12226 return Py_BuildValue((char *)"");
12228 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxXPMHandler
*result
;
12231 char *kwnames
[] = {
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (wxXPMHandler
*)new wxXPMHandler();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12250 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12253 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12255 return Py_BuildValue((char *)"");
12257 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxTIFFHandler
*result
;
12260 char *kwnames
[] = {
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12279 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12282 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12284 return Py_BuildValue((char *)"");
12286 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxImage
*arg1
= 0 ;
12289 wxImage
*arg2
= 0 ;
12290 int arg3
= (int) 236 ;
12291 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 PyObject
* obj2
= 0 ;
12296 PyObject
* obj3
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12305 if (arg1
== NULL
) {
12306 PyErr_SetString(PyExc_TypeError
,"null reference");
12309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12312 if (arg2
== NULL
) {
12313 PyErr_SetString(PyExc_TypeError
,"null reference");
12317 arg3
= (int)SWIG_As_int(obj2
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12321 arg4
= (int)SWIG_As_int(obj3
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12340 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12343 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12345 return Py_BuildValue((char *)"");
12347 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxEvtHandler
*result
;
12350 char *kwnames
[] = {
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 result
= (wxEvtHandler
*)new wxEvtHandler();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12369 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12372 wxEvtHandler
*result
;
12373 PyObject
* obj0
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= wxPyMake_wxObject(result
, 0);
12397 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12400 wxEvtHandler
*result
;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= wxPyMake_wxObject(result
, 0);
12425 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12428 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self",(char *) "handler", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 (arg1
)->SetNextHandler(arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 Py_INCREF(Py_None
); resultobj
= Py_None
;
12454 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12457 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self",(char *) "handler", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 (arg1
)->SetPreviousHandler(arg2
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 Py_INCREF(Py_None
); resultobj
= Py_None
;
12483 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self",(char *) "enabled", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 arg2
= (bool)SWIG_As_bool(obj1
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 (arg1
)->SetEvtHandlerEnabled(arg2
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 Py_INCREF(Py_None
); resultobj
= Py_None
;
12540 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12543 wxEvent
*arg2
= 0 ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self",(char *) "event", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12557 if (arg2
== NULL
) {
12558 PyErr_SetString(PyExc_TypeError
,"null reference");
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12577 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12580 wxEvent
*arg2
= 0 ;
12581 PyObject
* obj0
= 0 ;
12582 PyObject
* obj1
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "event", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12593 if (arg2
== NULL
) {
12594 PyErr_SetString(PyExc_TypeError
,"null reference");
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->AddPendingEvent(*arg2
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->ProcessPendingEvents();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12642 PyObject
*arg5
= (PyObject
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 PyObject
* obj2
= 0 ;
12646 PyObject
* obj3
= 0 ;
12647 PyObject
* obj4
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 arg2
= (int)SWIG_As_int(obj1
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12657 arg3
= (int)SWIG_As_int(obj2
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12659 arg4
= (int)SWIG_As_int(obj3
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 Py_INCREF(Py_None
); resultobj
= Py_None
;
12676 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12680 int arg3
= (int) -1 ;
12681 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 PyObject
* obj2
= 0 ;
12686 PyObject
* obj3
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 arg2
= (int)SWIG_As_int(obj1
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 arg3
= (int)SWIG_As_int(obj2
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12701 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12720 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12723 PyObject
*arg2
= (PyObject
*) 0 ;
12724 bool arg3
= (bool) true ;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 PyObject
* obj2
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self",(char *) "_self",(char *) "incref", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 arg3
= (bool)SWIG_As_bool(obj2
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 Py_INCREF(Py_None
); resultobj
= Py_None
;
12754 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12757 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12759 return Py_BuildValue((char *)"");
12761 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxEventType result
;
12764 char *kwnames
[] = {
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxEventType
)wxNewEventType();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_From_int((int)result
);
12783 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxEvent
*arg1
= (wxEvent
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxEvent
*arg1
= (wxEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "typ", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 (arg1
)->SetEventType(arg2
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxEvent
*arg1
= (wxEvent
*) 0 ;
12840 wxEventType result
;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_From_int((int)result
);
12863 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxEvent
*arg1
= (wxEvent
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= wxPyMake_wxObject(result
, 0);
12891 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxEvent
*arg1
= (wxEvent
*) 0 ;
12894 wxObject
*arg2
= (wxObject
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self",(char *) "obj", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->SetEventObject(arg2
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxEvent
*arg1
= (wxEvent
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_From_long((long)result
);
12946 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxEvent
*arg1
= (wxEvent
*) 0 ;
12949 long arg2
= (long) 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self",(char *) "ts", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 arg2
= (long)SWIG_As_long(obj1
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 (arg1
)->SetTimestamp(arg2
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 Py_INCREF(Py_None
); resultobj
= Py_None
;
12977 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxEvent
*arg1
= (wxEvent
*) 0 ;
12981 PyObject
* obj0
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (int)((wxEvent
const *)arg1
)->GetId();
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= SWIG_From_int((int)result
);
13003 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxEvent
*arg1
= (wxEvent
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self",(char *) "Id", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
13014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13016 arg2
= (int)SWIG_As_int(obj1
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->SetId(arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxEvent
*arg1
= (wxEvent
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13060 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxEvent
*arg1
= (wxEvent
*) 0 ;
13063 bool arg2
= (bool) true ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "skip", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13074 arg2
= (bool)SWIG_As_bool(obj1
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 (arg1
)->Skip(arg2
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 Py_INCREF(Py_None
); resultobj
= Py_None
;
13091 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxEvent
*arg1
= (wxEvent
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
13101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13119 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxEvent
*arg1
= (wxEvent
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
13129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13147 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxEvent
*arg1
= (wxEvent
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (int)(arg1
)->StopPropagation();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_From_int((int)result
);
13173 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxEvent
*arg1
= (wxEvent
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "propagationLevel", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 arg2
= (int)SWIG_As_int(obj1
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 (arg1
)->ResumePropagation(arg2
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13202 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxEvent
*arg1
= (wxEvent
*) 0 ;
13206 PyObject
* obj0
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "self", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (wxEvent
*)(arg1
)->Clone();
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13228 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13231 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13233 return Py_BuildValue((char *)"");
13235 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxEvent
*arg1
= 0 ;
13238 wxPropagationDisabler
*result
;
13239 PyObject
* obj0
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "event", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13248 if (arg1
== NULL
) {
13249 PyErr_SetString(PyExc_TypeError
,"null reference");
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13266 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "self", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 Py_INCREF(Py_None
); resultobj
= Py_None
;
13291 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13294 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13296 return Py_BuildValue((char *)"");
13298 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxEvent
*arg1
= 0 ;
13301 wxPropagateOnce
*result
;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "event", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13311 if (arg1
== NULL
) {
13312 PyErr_SetString(PyExc_TypeError
,"null reference");
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13329 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13357 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13359 return Py_BuildValue((char *)"");
13361 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13364 int arg2
= (int) 0 ;
13365 wxCommandEvent
*result
;
13366 PyObject
* obj0
= 0 ;
13367 PyObject
* obj1
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "commandType",(char *) "winid", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13374 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 arg2
= (int)SWIG_As_int(obj1
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13395 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_From_int((int)result
);
13421 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13424 wxString
*arg2
= 0 ;
13425 bool temp2
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "s", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetString((wxString
const &)*arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13462 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13494 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13522 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13550 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self",(char *) "extraLong", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13563 arg2
= (long)SWIG_As_long(obj1
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 (arg1
)->SetExtraLong(arg2
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 Py_INCREF(Py_None
); resultobj
= Py_None
;
13579 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= SWIG_From_long((long)result
);
13605 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "self",(char *) "i", NULL
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 arg2
= (int)SWIG_As_int(obj1
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetInt(arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_From_long((long)result
);
13660 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13686 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13689 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13691 return Py_BuildValue((char *)"");
13693 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13696 int arg2
= (int) 0 ;
13697 wxNotifyEvent
*result
;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "commandType",(char *) "winid", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13706 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 arg2
= (int)SWIG_As_int(obj1
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13727 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 Py_INCREF(Py_None
); resultobj
= Py_None
;
13777 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (bool)(arg1
)->IsAllowed();
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13805 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13808 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13810 return Py_BuildValue((char *)"");
13812 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13815 int arg2
= (int) 0 ;
13816 int arg3
= (int) 0 ;
13817 int arg4
= (int) 0 ;
13818 wxScrollEvent
*result
;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 PyObject
* obj2
= 0 ;
13822 PyObject
* obj3
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13829 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13833 arg2
= (int)SWIG_As_int(obj1
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 arg3
= (int)SWIG_As_int(obj2
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 arg4
= (int)SWIG_As_int(obj3
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13858 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_From_int((int)result
);
13884 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_From_int((int)result
);
13910 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self",(char *) "orient", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13923 arg2
= (int)SWIG_As_int(obj1
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 (arg1
)->SetOrientation(arg2
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 Py_INCREF(Py_None
); resultobj
= Py_None
;
13939 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self",(char *) "pos", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 arg2
= (int)SWIG_As_int(obj1
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->SetPosition(arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 Py_INCREF(Py_None
); resultobj
= Py_None
;
13968 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13971 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13973 return Py_BuildValue((char *)"");
13975 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13978 int arg2
= (int) 0 ;
13979 int arg3
= (int) 0 ;
13980 wxScrollWinEvent
*result
;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 PyObject
* obj2
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13990 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 arg2
= (int)SWIG_As_int(obj1
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 arg3
= (int)SWIG_As_int(obj2
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
14015 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_From_int((int)result
);
14041 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_From_int((int)result
);
14067 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self",(char *) "orient", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14080 arg2
= (int)SWIG_As_int(obj1
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 (arg1
)->SetOrientation(arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "pos", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14109 arg2
= (int)SWIG_As_int(obj1
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->SetPosition(arg2
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
14127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14128 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
14130 return Py_BuildValue((char *)"");
14132 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14135 wxMouseEvent
*result
;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "mouseType", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14143 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= wxPyMake_wxObject(result
, 1);
14162 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14190 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14193 int arg2
= (int) wxMOUSE_BTN_ANY
;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "but", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 arg2
= (int)SWIG_As_int(obj1
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14224 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14227 int arg2
= (int) wxMOUSE_BTN_ANY
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self",(char *) "but", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 arg2
= (int)SWIG_As_int(obj1
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14258 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14261 int arg2
= (int) wxMOUSE_BTN_ANY
;
14263 PyObject
* obj0
= 0 ;
14264 PyObject
* obj1
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "but", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 arg2
= (int)SWIG_As_int(obj1
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14292 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 PyObject
* obj1
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self",(char *) "but", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 arg2
= (int)SWIG_As_int(obj1
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14324 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "but", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 arg2
= (int)SWIG_As_int(obj1
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14356 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_From_int((int)result
);
14382 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14410 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
;
14412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14438 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14466 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14494 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14522 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14550 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14578 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14606 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14634 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14662 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14690 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14718 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14774 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (bool)(arg1
)->LeftIsDown();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14802 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (bool)(arg1
)->MiddleIsDown();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14830 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)(arg1
)->RightIsDown();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14858 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14942 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14970 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (arg1
)->GetPosition();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14990 wxPoint
* resultptr
;
14991 resultptr
= new wxPoint((wxPoint
&) result
);
14992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15000 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15003 long *arg2
= (long *) 0 ;
15004 long *arg3
= (long *) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15015 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 (arg1
)->GetPosition(arg2
,arg3
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 Py_INCREF(Py_None
); resultobj
= Py_None
;
15027 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15028 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
15029 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15030 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15037 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "dc", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15054 if (arg2
== NULL
) {
15055 PyErr_SetString(PyExc_TypeError
,"null reference");
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 wxPoint
* resultptr
;
15067 resultptr
= new wxPoint((wxPoint
&) result
);
15068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15076 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_From_int((int)result
);
15102 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_From_int((int)result
);
15128 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_From_int((int)result
);
15154 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_From_int((int)result
);
15180 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_From_int((int)result
);
15206 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15234 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "m_x", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 arg2
= (int)SWIG_As_int(obj1
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15249 if (arg1
) (arg1
)->m_x
= arg2
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 result
= (int) ((arg1
)->m_x
);
15272 resultobj
= SWIG_From_int((int)result
);
15279 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self",(char *) "m_y", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 arg2
= (int)SWIG_As_int(obj1
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15294 if (arg1
) (arg1
)->m_y
= arg2
;
15296 Py_INCREF(Py_None
); resultobj
= Py_None
;
15303 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 result
= (int) ((arg1
)->m_y
);
15317 resultobj
= SWIG_From_int((int)result
);
15324 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 PyObject
* obj1
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self",(char *) "m_leftDown", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15337 arg2
= (bool)SWIG_As_bool(obj1
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15339 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15341 Py_INCREF(Py_None
); resultobj
= Py_None
;
15348 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15360 result
= (bool) ((arg1
)->m_leftDown
);
15363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15371 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "m_middleDown", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 arg2
= (bool)SWIG_As_bool(obj1
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15386 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15388 Py_INCREF(Py_None
); resultobj
= Py_None
;
15395 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15407 result
= (bool) ((arg1
)->m_middleDown
);
15410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15418 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self",(char *) "m_rightDown", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15431 arg2
= (bool)SWIG_As_bool(obj1
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15433 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15454 result
= (bool) ((arg1
)->m_rightDown
);
15457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15465 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "m_controlDown", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15478 arg2
= (bool)SWIG_As_bool(obj1
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15480 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15482 Py_INCREF(Py_None
); resultobj
= Py_None
;
15489 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 result
= (bool) ((arg1
)->m_controlDown
);
15504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15512 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self",(char *) "m_shiftDown", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 arg2
= (bool)SWIG_As_bool(obj1
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15527 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 result
= (bool) ((arg1
)->m_shiftDown
);
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15563 PyObject
* obj0
= 0 ;
15564 PyObject
* obj1
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self",(char *) "m_altDown", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15572 arg2
= (bool)SWIG_As_bool(obj1
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15574 if (arg1
) (arg1
)->m_altDown
= arg2
;
15576 Py_INCREF(Py_None
); resultobj
= Py_None
;
15583 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15595 result
= (bool) ((arg1
)->m_altDown
);
15598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15606 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "m_metaDown", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 arg2
= (bool)SWIG_As_bool(obj1
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15621 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 result
= (bool) ((arg1
)->m_metaDown
);
15645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15653 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "m_wheelRotation", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 arg2
= (int)SWIG_As_int(obj1
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15668 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 result
= (int) ((arg1
)->m_wheelRotation
);
15691 resultobj
= SWIG_From_int((int)result
);
15698 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "self",(char *) "m_wheelDelta", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15711 arg2
= (int)SWIG_As_int(obj1
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15713 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15715 Py_INCREF(Py_None
); resultobj
= Py_None
;
15722 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 result
= (int) ((arg1
)->m_wheelDelta
);
15736 resultobj
= SWIG_From_int((int)result
);
15743 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "m_linesPerAction", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 arg2
= (int)SWIG_As_int(obj1
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15758 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 result
= (int) ((arg1
)->m_linesPerAction
);
15781 resultobj
= SWIG_From_int((int)result
);
15788 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15791 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15793 return Py_BuildValue((char *)"");
15795 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 int arg1
= (int) 0 ;
15798 int arg2
= (int) 0 ;
15799 wxSetCursorEvent
*result
;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "x",(char *) "y", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15808 arg1
= (int)SWIG_As_int(obj0
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15812 arg2
= (int)SWIG_As_int(obj1
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15829 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= SWIG_From_int((int)result
);
15855 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15859 PyObject
* obj0
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= SWIG_From_int((int)result
);
15881 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15884 wxCursor
*arg2
= 0 ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self",(char *) "cursor", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15897 if (arg2
== NULL
) {
15898 PyErr_SetString(PyExc_TypeError
,"null reference");
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 Py_INCREF(Py_None
); resultobj
= Py_None
;
15915 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15931 result
= (wxCursor
*) &_result_ref
;
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15938 wxCursor
* resultptr
= new wxCursor(*result
);
15939 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15947 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15975 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15978 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15980 return Py_BuildValue((char *)"");
15982 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15985 wxKeyEvent
*result
;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "keyType", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15993 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
16010 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16094 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16122 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16150 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "self", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",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
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_From_int((int)result
);
16204 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_From_int((int)result
);
16230 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16233 unsigned int result
;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16256 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16259 unsigned int result
;
16260 PyObject
* obj0
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16282 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (arg1
)->GetPosition();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 wxPoint
* resultptr
;
16303 resultptr
= new wxPoint((wxPoint
&) result
);
16304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16312 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16315 long *arg2
= (long *) 0 ;
16316 long *arg3
= (long *) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16327 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 (arg1
)->GetPosition(arg2
,arg3
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16340 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16341 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16342 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16349 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_From_int((int)result
);
16375 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_From_int((int)result
);
16401 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "m_x", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 arg2
= (int)SWIG_As_int(obj1
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16416 if (arg1
) (arg1
)->m_x
= arg2
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 result
= (int) ((arg1
)->m_x
);
16439 resultobj
= SWIG_From_int((int)result
);
16446 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self",(char *) "m_y", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 arg2
= (int)SWIG_As_int(obj1
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16461 if (arg1
) (arg1
)->m_y
= arg2
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16470 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 result
= (int) ((arg1
)->m_y
);
16484 resultobj
= SWIG_From_int((int)result
);
16491 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "m_keyCode", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 arg2
= (long)SWIG_As_long(obj1
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16506 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 result
= (long) ((arg1
)->m_keyCode
);
16529 resultobj
= SWIG_From_long((long)result
);
16536 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self",(char *) "m_controlDown", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 arg2
= (bool)SWIG_As_bool(obj1
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16551 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 result
= (bool) ((arg1
)->m_controlDown
);
16575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16583 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "m_shiftDown", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16596 arg2
= (bool)SWIG_As_bool(obj1
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16598 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16600 Py_INCREF(Py_None
); resultobj
= Py_None
;
16607 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16619 result
= (bool) ((arg1
)->m_shiftDown
);
16622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16630 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "m_altDown", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16643 arg2
= (bool)SWIG_As_bool(obj1
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16645 if (arg1
) (arg1
)->m_altDown
= arg2
;
16647 Py_INCREF(Py_None
); resultobj
= Py_None
;
16654 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 result
= (bool) ((arg1
)->m_altDown
);
16669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16677 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self",(char *) "m_metaDown", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16690 arg2
= (bool)SWIG_As_bool(obj1
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16692 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16694 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16705 PyObject
* obj0
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 result
= (bool) ((arg1
)->m_metaDown
);
16716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self",(char *) "m_scanCode", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16737 arg2
= (bool)SWIG_As_bool(obj1
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16739 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16741 Py_INCREF(Py_None
); resultobj
= Py_None
;
16748 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 result
= (bool) ((arg1
)->m_scanCode
);
16763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16771 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16774 unsigned int arg2
;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self",(char *) "m_rawCode", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16784 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16786 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16788 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16798 unsigned int result
;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 result
= (unsigned int) ((arg1
)->m_rawCode
);
16809 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16816 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16819 unsigned int arg2
;
16820 PyObject
* obj0
= 0 ;
16821 PyObject
* obj1
= 0 ;
16822 char *kwnames
[] = {
16823 (char *) "self",(char *) "m_rawFlags", NULL
16826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16829 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16831 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16840 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16843 unsigned int result
;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16854 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16861 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16864 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16866 return Py_BuildValue((char *)"");
16868 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
;
16870 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16871 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16872 int arg2
= (int) 0 ;
16873 wxSizeEvent
*result
;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "sz",(char *) "winid", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16885 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16889 arg2
= (int)SWIG_As_int(obj1
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16906 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 wxSize
* resultptr
;
16927 resultptr
= new wxSize((wxSize
&) result
);
16928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16936 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 wxRect
* resultptr
;
16957 resultptr
= new wxRect((wxRect
&) result
);
16958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16966 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 PyObject
* obj1
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self",(char *) "rect", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16980 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16981 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 (arg1
)->SetRect(arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 Py_INCREF(Py_None
); resultobj
= Py_None
;
16997 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self",(char *) "size", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
17012 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 wxSizeEvent_SetSize(arg1
,arg2
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17028 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17031 wxSize
*arg2
= (wxSize
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self",(char *) "m_size", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
17042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 if (arg1
) (arg1
)->m_size
= *arg2
;
17045 Py_INCREF(Py_None
); resultobj
= Py_None
;
17052 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 result
= (wxSize
*)& ((arg1
)->m_size
);
17066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17073 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17076 wxRect
*arg2
= (wxRect
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self",(char *) "m_rect", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17088 if (arg1
) (arg1
)->m_rect
= *arg2
;
17090 Py_INCREF(Py_None
); resultobj
= Py_None
;
17097 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17109 result
= (wxRect
*)& ((arg1
)->m_rect
);
17111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17118 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17121 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
17123 return Py_BuildValue((char *)"");
17125 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
17128 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
17129 int arg2
= (int) 0 ;
17130 wxMoveEvent
*result
;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "pos",(char *) "winid", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17142 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17146 arg2
= (int)SWIG_As_int(obj1
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17163 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 wxPoint
* resultptr
;
17184 resultptr
= new wxPoint((wxPoint
&) result
);
17185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17193 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 wxRect
* resultptr
;
17214 resultptr
= new wxRect((wxRect
&) result
);
17215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17223 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 PyObject
* obj1
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "rect", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17238 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 (arg1
)->SetRect(arg2
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 Py_INCREF(Py_None
); resultobj
= Py_None
;
17254 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "pos", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17269 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 wxMoveEvent_SetPosition(arg1
,arg2
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 Py_INCREF(Py_None
); resultobj
= Py_None
;
17285 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17288 wxPoint
*arg2
= (wxPoint
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "m_pos", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17300 if (arg1
) (arg1
)->m_pos
= *arg2
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17321 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17330 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17333 wxRect
*arg2
= (wxRect
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "m_rect", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17345 if (arg1
) (arg1
)->m_rect
= *arg2
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 result
= (wxRect
*)& ((arg1
)->m_rect
);
17368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17375 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17378 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17380 return Py_BuildValue((char *)"");
17382 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 int arg1
= (int) 0 ;
17385 wxPaintEvent
*result
;
17386 PyObject
* obj0
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "Id", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17393 arg1
= (int)SWIG_As_int(obj0
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17410 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17413 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17415 return Py_BuildValue((char *)"");
17417 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 int arg1
= (int) 0 ;
17420 wxNcPaintEvent
*result
;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "winid", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17428 arg1
= (int)SWIG_As_int(obj0
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17445 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17448 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17450 return Py_BuildValue((char *)"");
17452 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 int arg1
= (int) 0 ;
17455 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17456 wxEraseEvent
*result
;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "Id",(char *) "dc", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 arg1
= (int)SWIG_As_int(obj0
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17486 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= wxPyMake_wxObject(result
, 0);
17514 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17517 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17519 return Py_BuildValue((char *)"");
17521 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17524 int arg2
= (int) 0 ;
17525 wxFocusEvent
*result
;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "type",(char *) "winid", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17534 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 arg2
= (int)SWIG_As_int(obj1
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17555 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= wxPyMake_wxObject(result
, 0);
17583 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17586 wxWindow
*arg2
= (wxWindow
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 PyObject
* obj1
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self",(char *) "win", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetWindow(arg2
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17615 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17617 return Py_BuildValue((char *)"");
17619 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxWindow
*arg1
= (wxWindow
*) NULL
;
17622 wxChildFocusEvent
*result
;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "win", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17647 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= wxPyMake_wxObject(result
, 0);
17675 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17678 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17680 return Py_BuildValue((char *)"");
17682 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17685 bool arg2
= (bool) true ;
17686 int arg3
= (int) 0 ;
17687 wxActivateEvent
*result
;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 PyObject
* obj2
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "type",(char *) "active",(char *) "Id", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17697 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 arg2
= (bool)SWIG_As_bool(obj1
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 arg3
= (int)SWIG_As_int(obj2
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17722 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17750 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17753 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17755 return Py_BuildValue((char *)"");
17757 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 int arg1
= (int) 0 ;
17760 wxInitDialogEvent
*result
;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "Id", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17768 arg1
= (int)SWIG_As_int(obj0
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17785 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17788 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17790 return Py_BuildValue((char *)"");
17792 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17795 int arg2
= (int) 0 ;
17796 wxMenu
*arg3
= (wxMenu
*) NULL
;
17797 wxMenuEvent
*result
;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 PyObject
* obj2
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "type",(char *) "winid",(char *) "menu", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17807 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 arg2
= (int)SWIG_As_int(obj1
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17815 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17832 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= SWIG_From_int((int)result
);
17858 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17886 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= wxPyMake_wxObject(result
, 0);
17914 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17917 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17919 return Py_BuildValue((char *)"");
17921 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17924 int arg2
= (int) 0 ;
17925 wxCloseEvent
*result
;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "type",(char *) "winid", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17934 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 arg2
= (int)SWIG_As_int(obj1
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17955 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "logOff", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 arg2
= (bool)SWIG_As_bool(obj1
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->SetLoggingOff(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18012 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18015 bool arg2
= (bool) true ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "veto", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18026 arg2
= (bool)SWIG_As_bool(obj1
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 (arg1
)->Veto(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self",(char *) "canVeto", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18056 arg2
= (bool)SWIG_As_bool(obj1
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 (arg1
)->SetCanVeto(arg2
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 Py_INCREF(Py_None
); resultobj
= Py_None
;
18072 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18076 PyObject
* obj0
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
18082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18100 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18128 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
18130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18131 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
18133 return Py_BuildValue((char *)"");
18135 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 int arg1
= (int) 0 ;
18138 bool arg2
= (bool) false ;
18139 wxShowEvent
*result
;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "winid",(char *) "show", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18148 arg1
= (int)SWIG_As_int(obj0
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 arg2
= (bool)SWIG_As_bool(obj1
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18169 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "show", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 arg2
= (bool)SWIG_As_bool(obj1
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetShow(arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18226 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18229 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18231 return Py_BuildValue((char *)"");
18233 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 int arg1
= (int) 0 ;
18236 bool arg2
= (bool) true ;
18237 wxIconizeEvent
*result
;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "id",(char *) "iconized", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 arg1
= (int)SWIG_As_int(obj0
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 arg2
= (bool)SWIG_As_bool(obj1
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18267 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (bool)(arg1
)->Iconized();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18295 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18298 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18300 return Py_BuildValue((char *)"");
18302 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 int arg1
= (int) 0 ;
18305 wxMaximizeEvent
*result
;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "id", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18313 arg1
= (int)SWIG_As_int(obj0
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18330 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18333 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18335 return Py_BuildValue((char *)"");
18337 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (arg1
)->GetPosition();
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18357 wxPoint
* resultptr
;
18358 resultptr
= new wxPoint((wxPoint
&) result
);
18359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18367 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (int)(arg1
)->GetNumberOfFiles();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= SWIG_From_int((int)result
);
18393 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= result
;
18419 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18422 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18424 return Py_BuildValue((char *)"");
18426 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 int arg1
= (int) 0 ;
18429 wxUpdateUIEvent
*result
;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "commandId", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18437 arg1
= (int)SWIG_As_int(obj0
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18454 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18482 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18542 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18570 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18598 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18626 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self",(char *) "check", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18639 arg2
= (bool)SWIG_As_bool(obj1
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->Check(arg2
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self",(char *) "enable", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 arg2
= (bool)SWIG_As_bool(obj1
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 (arg1
)->Enable(arg2
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 Py_INCREF(Py_None
); resultobj
= Py_None
;
18684 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18687 wxString
*arg2
= 0 ;
18688 bool temp2
= false ;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj1
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self",(char *) "text", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18699 arg2
= wxString_in_helper(obj1
);
18700 if (arg2
== NULL
) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 (arg1
)->SetText((wxString
const &)*arg2
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 Py_INCREF(Py_None
); resultobj
= Py_None
;
18725 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18728 PyObject
* obj0
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "updateInterval", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18734 arg1
= (long)SWIG_As_long(obj0
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 Py_INCREF(Py_None
); resultobj
= Py_None
;
18750 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18753 char *kwnames
[] = {
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_From_long((long)result
);
18772 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxWindow
*arg1
= (wxWindow
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "win", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18800 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 char *kwnames
[] = {
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 wxUpdateUIEvent::ResetUpdateTime();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "mode", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18830 arg1
= (int)SWIG_As_int(obj0
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 Py_INCREF(Py_None
); resultobj
= Py_None
;
18846 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18849 char *kwnames
[] = {
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (int)wxUpdateUIEvent::GetMode();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_From_int((int)result
);
18868 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18871 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18873 return Py_BuildValue((char *)"");
18875 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxSysColourChangedEvent
*result
;
18878 char *kwnames
[] = {
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18897 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18900 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18902 return Py_BuildValue((char *)"");
18904 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 int arg1
= (int) 0 ;
18907 wxWindow
*arg2
= (wxWindow
*) NULL
;
18908 wxMouseCaptureChangedEvent
*result
;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "winid",(char *) "gainedCapture", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 arg1
= (int)SWIG_As_int(obj0
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18938 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= wxPyMake_wxObject(result
, 0);
18966 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18969 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18971 return Py_BuildValue((char *)"");
18973 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxDisplayChangedEvent
*result
;
18976 char *kwnames
[] = {
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18995 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18998 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
19000 return Py_BuildValue((char *)"");
19002 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 int arg1
= (int) 0 ;
19005 wxPaletteChangedEvent
*result
;
19006 PyObject
* obj0
= 0 ;
19007 char *kwnames
[] = {
19008 (char *) "id", NULL
19011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
19013 arg1
= (int)SWIG_As_int(obj0
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
19030 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19033 wxWindow
*arg2
= (wxWindow
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "win", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 (arg1
)->SetChangedWindow(arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= wxPyMake_wxObject(result
, 0);
19087 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
19089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19090 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
19092 return Py_BuildValue((char *)"");
19094 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 int arg1
= (int) 0 ;
19097 wxQueryNewPaletteEvent
*result
;
19098 PyObject
* obj0
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "winid", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
19105 arg1
= (int)SWIG_As_int(obj0
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
19122 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self",(char *) "realized", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19135 arg2
= (bool)SWIG_As_bool(obj1
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetPaletteRealized(arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19179 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19182 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19184 return Py_BuildValue((char *)"");
19186 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxNavigationKeyEvent
*result
;
19189 char *kwnames
[] = {
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19208 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19236 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "forward", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 arg2
= (bool)SWIG_As_bool(obj1
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->SetDirection(arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19269 PyObject
* obj0
= 0 ;
19270 char *kwnames
[] = {
19271 (char *) "self", NULL
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19293 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "ischange", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19306 arg2
= (bool)SWIG_As_bool(obj1
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 (arg1
)->SetWindowChange(arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "flags", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= (long)SWIG_As_long(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->SetFlags(arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= wxPyMake_wxObject(result
, 0);
19379 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19382 wxWindow
*arg2
= (wxWindow
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "win", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 (arg1
)->SetCurrentFocus(arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 Py_INCREF(Py_None
); resultobj
= Py_None
;
19408 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19411 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19413 return Py_BuildValue((char *)"");
19415 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxWindow
*arg1
= (wxWindow
*) NULL
;
19418 wxWindowCreateEvent
*result
;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "win", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19443 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= wxPyMake_wxObject(result
, 0);
19471 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19474 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19476 return Py_BuildValue((char *)"");
19478 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxWindow
*arg1
= (wxWindow
*) NULL
;
19481 wxWindowDestroyEvent
*result
;
19482 PyObject
* obj0
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "win", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19506 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
;
19508 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= wxPyMake_wxObject(result
, 0);
19534 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19537 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19539 return Py_BuildValue((char *)"");
19541 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19544 int arg2
= (int) 0 ;
19545 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19546 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19547 wxContextMenuEvent
*result
;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 PyObject
* obj2
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "type",(char *) "winid",(char *) "pt", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19558 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 arg2
= (int)SWIG_As_int(obj1
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19585 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19601 result
= (wxPoint
*) &_result_ref
;
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19614 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19617 wxPoint
*arg2
= 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self",(char *) "pos", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 Py_INCREF(Py_None
); resultobj
= Py_None
;
19646 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19649 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19651 return Py_BuildValue((char *)"");
19653 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxIdleEvent
*result
;
19656 char *kwnames
[] = {
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (wxIdleEvent
*)new wxIdleEvent();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19675 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19678 bool arg2
= (bool) true ;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self",(char *) "needMore", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 arg2
= (bool)SWIG_As_bool(obj1
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->RequestMore(arg2
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19710 PyObject
* obj0
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19734 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "mode", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19743 arg1
= (int)SWIG_As_int(obj0
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 Py_INCREF(Py_None
); resultobj
= Py_None
;
19759 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19762 char *kwnames
[] = {
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (int)wxIdleEvent::GetMode();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_From_int((int)result
);
19781 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxWindow
*arg1
= (wxWindow
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "win", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)wxIdleEvent::CanSend(arg1
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19812 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19814 return Py_BuildValue((char *)"");
19816 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 int arg1
= (int) 0 ;
19819 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "winid",(char *) "commandType", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19829 arg1
= (int)SWIG_As_int(obj0
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19850 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
;
19852 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 Py_INCREF(Py_None
); resultobj
= Py_None
;
19875 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19878 PyObject
*arg2
= (PyObject
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self",(char *) "self", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->SetSelf(arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19903 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (PyObject
*)(arg1
)->GetSelf();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= result
;
19929 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19932 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19934 return Py_BuildValue((char *)"");
19936 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19939 int arg2
= (int) 0 ;
19940 wxPyCommandEvent
*result
;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "commandType",(char *) "id", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19949 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 arg2
= (int)SWIG_As_int(obj1
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19970 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19988 Py_INCREF(Py_None
); resultobj
= Py_None
;
19995 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19998 PyObject
*arg2
= (PyObject
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "self", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 (arg1
)->SetSelf(arg2
);
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 Py_INCREF(Py_None
); resultobj
= Py_None
;
20023 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 char *kwnames
[] = {
20029 (char *) "self", NULL
20032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
20033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
20034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (PyObject
*)(arg1
)->GetSelf();
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
;
20049 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
20051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20052 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
20054 return Py_BuildValue((char *)"");
20056 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20059 char *kwnames
[] = {
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (wxPyApp
*)new_wxPyApp();
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
20078 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 Py_INCREF(Py_None
); resultobj
= Py_None
;
20103 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20106 PyObject
*arg2
= (PyObject
*) 0 ;
20107 PyObject
*arg3
= (PyObject
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 PyObject
* obj2
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self",(char *) "self",(char *) "_class", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 Py_INCREF(Py_None
); resultobj
= Py_None
;
20134 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20166 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20169 wxString
*arg2
= 0 ;
20170 bool temp2
= false ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self",(char *) "name", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 arg2
= wxString_in_helper(obj1
);
20182 if (arg2
== NULL
) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 (arg1
)->SetAppName((wxString
const &)*arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20239 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20242 wxString
*arg2
= 0 ;
20243 bool temp2
= false ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self",(char *) "name", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20254 arg2
= wxString_in_helper(obj1
);
20255 if (arg2
== NULL
) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->SetClassName((wxString
const &)*arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20296 result
= (wxString
*) &_result_ref
;
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20306 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20315 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20318 wxString
*arg2
= 0 ;
20319 bool temp2
= false ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self",(char *) "name", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 arg2
= wxString_in_helper(obj1
);
20331 if (arg2
== NULL
) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20356 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20359 wxAppTraits
*result
;
20360 PyObject
* obj0
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20382 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->ProcessPendingEvents();
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20410 bool arg2
= (bool) false ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "onlyIfNeeded", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20422 arg2
= (bool)SWIG_As_bool(obj1
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (bool)(arg1
)->Yield(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20441 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 (arg1
)->WakeUpIdle();
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 Py_INCREF(Py_None
); resultobj
= Py_None
;
20466 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20469 char *kwnames
[] = {
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (bool)wxPyApp::IsMainLoopRunning();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20490 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (int)(arg1
)->MainLoop();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_From_int((int)result
);
20516 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->ExitMainLoop();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 Py_INCREF(Py_None
); resultobj
= Py_None
;
20566 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (bool)(arg1
)->Pending();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20594 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (bool)(arg1
)->Dispatch();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20622 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20624 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 char *kwnames
[] = {
20628 (char *) "self", NULL
20631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 result
= (bool)(arg1
)->ProcessIdle();
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20650 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20653 wxWindow
*arg2
= (wxWindow
*) 0 ;
20654 wxIdleEvent
*arg3
= 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self",(char *) "win",(char *) "event", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20671 if (arg3
== NULL
) {
20672 PyErr_SetString(PyExc_TypeError
,"null reference");
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20691 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20719 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20722 wxWindow
*arg2
= (wxWindow
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self",(char *) "win", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->SetTopWindow(arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= wxPyMake_wxObject(result
, 0);
20776 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self",(char *) "flag", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 arg2
= (bool)SWIG_As_bool(obj1
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->SetExitOnFrameDelete(arg2
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 Py_INCREF(Py_None
); resultobj
= Py_None
;
20805 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20833 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "flag", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 arg2
= (bool)SWIG_As_bool(obj1
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 (arg1
)->SetUseBestVisual(arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 Py_INCREF(Py_None
); resultobj
= Py_None
;
20862 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20866 PyObject
* obj0
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20890 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "mode", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20903 arg2
= (int)SWIG_As_int(obj1
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 (arg1
)->SetPrintMode(arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 Py_INCREF(Py_None
); resultobj
= Py_None
;
20919 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_From_int((int)result
);
20945 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self",(char *) "mode", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 arg2
= (int)SWIG_As_int(obj1
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 (arg1
)->SetAssertMode(arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 Py_INCREF(Py_None
); resultobj
= Py_None
;
20974 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (int)(arg1
)->GetAssertMode();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_From_int((int)result
);
21000 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21003 char *kwnames
[] = {
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21024 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21027 char *kwnames
[] = {
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (long)wxPyApp::GetMacAboutMenuItemId();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_From_long((long)result
);
21046 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21049 char *kwnames
[] = {
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_From_long((long)result
);
21068 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21071 char *kwnames
[] = {
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= (long)wxPyApp::GetMacExitMenuItemId();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= SWIG_From_long((long)result
);
21090 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21093 char *kwnames
[] = {
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= wxPyApp::GetMacHelpMenuTitleName();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21118 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21121 PyObject
* obj0
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "val", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
21127 arg1
= (bool)SWIG_As_bool(obj0
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "val", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21152 arg1
= (long)SWIG_As_long(obj0
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 wxPyApp::SetMacAboutMenuItemId(arg1
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 Py_INCREF(Py_None
); resultobj
= Py_None
;
21168 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "val", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21177 arg1
= (long)SWIG_As_long(obj0
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 Py_INCREF(Py_None
); resultobj
= Py_None
;
21193 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
;
21196 PyObject
* obj0
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "val", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21202 arg1
= (long)SWIG_As_long(obj0
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 wxPyApp::SetMacExitMenuItemId(arg1
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 Py_INCREF(Py_None
); resultobj
= Py_None
;
21218 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxString
*arg1
= 0 ;
21221 bool temp1
= false ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "val", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21229 arg1
= wxString_in_helper(obj0
);
21230 if (arg1
== NULL
) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 Py_INCREF(Py_None
); resultobj
= Py_None
;
21255 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21257 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 (arg1
)->_BootstrapApp();
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21273 Py_INCREF(Py_None
); resultobj
= Py_None
;
21280 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21283 char *kwnames
[] = {
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (int)PyApp_GetComCtl32Version();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_From_int((int)result
);
21302 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21305 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21307 return Py_BuildValue((char *)"");
21309 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 char *kwnames
[] = {
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 Py_INCREF(Py_None
); resultobj
= Py_None
;
21330 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21333 char *kwnames
[] = {
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (bool)wxYield();
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21354 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21357 char *kwnames
[] = {
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (bool)wxYieldIfNeeded();
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21378 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxWindow
*arg1
= (wxWindow
*) NULL
;
21381 bool arg2
= (bool) false ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "win",(char *) "onlyIfNeeded", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21395 arg2
= (bool)SWIG_As_bool(obj1
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (bool)wxSafeYield(arg1
,arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 char *kwnames
[] = {
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 Py_INCREF(Py_None
); resultobj
= Py_None
;
21435 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21438 wxEvent
*arg2
= 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "dest",(char *) "event", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21451 if (arg2
== NULL
) {
21452 PyErr_SetString(PyExc_TypeError
,"null reference");
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 wxPostEvent(arg1
,*arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 Py_INCREF(Py_None
); resultobj
= Py_None
;
21469 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 char *kwnames
[] = {
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 Py_INCREF(Py_None
); resultobj
= Py_None
;
21490 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
;
21493 char *kwnames
[] = {
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (wxPyApp
*)wxPyGetApp();
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= wxPyMake_wxObject(result
, 0);
21514 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21517 PyObject
* obj0
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "encoding", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
21523 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 wxSetDefaultPyEncoding((char const *)arg1
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21541 char *kwnames
[] = {
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (char *)wxGetDefaultPyEncoding();
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_FromCharPtr(result
);
21560 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxEventLoop
*result
;
21563 char *kwnames
[] = {
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (wxEventLoop
*)new wxEventLoop();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21582 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 Py_INCREF(Py_None
); resultobj
= Py_None
;
21607 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (int)(arg1
)->Run();
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_From_int((int)result
);
21633 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21636 int arg2
= (int) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self",(char *) "rc", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21647 arg2
= (int)SWIG_As_int(obj1
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 (arg1
)->Exit(arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 Py_INCREF(Py_None
); resultobj
= Py_None
;
21664 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21692 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (bool)(arg1
)->Dispatch();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21720 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21748 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxEventLoop
*result
;
21751 char *kwnames
[] = {
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21770 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "loop", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 wxEventLoop::SetActive(arg1
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 Py_INCREF(Py_None
); resultobj
= Py_None
;
21795 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21798 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21800 return Py_BuildValue((char *)"");
21802 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 int arg1
= (int) 0 ;
21805 int arg2
= (int) 0 ;
21806 int arg3
= (int) 0 ;
21807 wxAcceleratorEntry
*result
;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21817 arg1
= (int)SWIG_As_int(obj0
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 arg2
= (int)SWIG_As_int(obj1
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21825 arg3
= (int)SWIG_As_int(obj2
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21842 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 PyObject
* obj3
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 arg2
= (int)SWIG_As_int(obj1
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21886 arg3
= (int)SWIG_As_int(obj2
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21888 arg4
= (int)SWIG_As_int(obj3
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->Set(arg2
,arg3
,arg4
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 Py_INCREF(Py_None
); resultobj
= Py_None
;
21904 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (int)(arg1
)->GetFlags();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= SWIG_From_int((int)result
);
21930 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (int)(arg1
)->GetKeyCode();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= SWIG_From_int((int)result
);
21956 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= (int)(arg1
)->GetCommand();
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_From_int((int)result
);
21982 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21985 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21987 return Py_BuildValue((char *)"");
21989 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21992 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21993 wxAcceleratorTable
*result
;
21994 PyObject
* obj0
= 0 ;
21995 char *kwnames
[] = {
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
22001 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
22002 if (arg2
) arg1
= PyList_Size(obj0
);
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
22025 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 Py_INCREF(Py_None
); resultobj
= Py_None
;
22050 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22078 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
22080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22081 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
22083 return Py_BuildValue((char *)"");
22085 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
22086 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
22091 static PyObject
*_wrap_NullAcceleratorTable_get() {
22094 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
22099 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxString
*arg1
= 0 ;
22102 wxAcceleratorEntry
*result
;
22103 bool temp1
= false ;
22104 PyObject
* obj0
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "label", NULL
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
22111 arg1
= wxString_in_helper(obj0
);
22112 if (arg1
== NULL
) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
22137 static int _wrap_PanelNameStr_set(PyObject
*) {
22138 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
22143 static PyObject
*_wrap_PanelNameStr_get() {
22148 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22150 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22157 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
;
22159 wxVisualAttributes
*result
;
22160 char *kwnames
[] = {
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
22179 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 delete_wxVisualAttributes(arg1
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 Py_INCREF(Py_None
); resultobj
= Py_None
;
22204 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22207 wxFont
*arg2
= (wxFont
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 PyObject
* obj1
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "font", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22219 if (arg1
) (arg1
)->font
= *arg2
;
22221 Py_INCREF(Py_None
); resultobj
= Py_None
;
22228 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 result
= (wxFont
*)& ((arg1
)->font
);
22242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22249 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22252 wxColour
*arg2
= (wxColour
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "colFg", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 if (arg1
) (arg1
)->colFg
= *arg2
;
22266 Py_INCREF(Py_None
); resultobj
= Py_None
;
22273 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 result
= (wxColour
*)& ((arg1
)->colFg
);
22287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22294 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22297 wxColour
*arg2
= (wxColour
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 PyObject
* obj1
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "colBg", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 if (arg1
) (arg1
)->colBg
= *arg2
;
22311 Py_INCREF(Py_None
); resultobj
= Py_None
;
22318 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 result
= (wxColour
*)& ((arg1
)->colBg
);
22332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22339 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22342 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22344 return Py_BuildValue((char *)"");
22346 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxWindow
*arg1
= (wxWindow
*) 0 ;
22349 int arg2
= (int) (int)-1 ;
22350 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22351 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22352 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22353 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22354 long arg5
= (long) 0 ;
22355 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22356 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22360 bool temp6
= false ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 PyObject
* obj3
= 0 ;
22365 PyObject
* obj4
= 0 ;
22366 PyObject
* obj5
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 arg2
= (int)SWIG_As_int(obj1
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22391 arg5
= (long)SWIG_As_long(obj4
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22396 arg6
= wxString_in_helper(obj5
);
22397 if (arg6
== NULL
) SWIG_fail
;
22402 if (!wxPyCheckForApp()) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22424 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22427 char *kwnames
[] = {
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22433 if (!wxPyCheckForApp()) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (wxWindow
*)new wxWindow();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22447 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxWindow
*arg1
= (wxWindow
*) 0 ;
22450 wxWindow
*arg2
= (wxWindow
*) 0 ;
22451 int arg3
= (int) (int)-1 ;
22452 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22453 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22454 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22455 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22456 long arg6
= (long) 0 ;
22457 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22458 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22462 bool temp7
= false ;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 PyObject
* obj2
= 0 ;
22466 PyObject
* obj3
= 0 ;
22467 PyObject
* obj4
= 0 ;
22468 PyObject
* obj5
= 0 ;
22469 PyObject
* obj6
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 arg3
= (int)SWIG_As_int(obj2
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22486 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22492 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22496 arg6
= (long)SWIG_As_long(obj5
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22501 arg7
= wxString_in_helper(obj6
);
22502 if (arg7
== NULL
) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22530 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
;
22532 wxWindow
*arg1
= (wxWindow
*) 0 ;
22533 bool arg2
= (bool) false ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self",(char *) "force", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22545 arg2
= (bool)SWIG_As_bool(obj1
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= (bool)(arg1
)->Close(arg2
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22564 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxWindow
*arg1
= (wxWindow
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (bool)(arg1
)->Destroy();
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22592 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22593 PyObject
*resultobj
;
22594 wxWindow
*arg1
= (wxWindow
*) 0 ;
22596 PyObject
* obj0
= 0 ;
22597 char *kwnames
[] = {
22598 (char *) "self", NULL
22601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 result
= (bool)(arg1
)->DestroyChildren();
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22620 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxWindow
*arg1
= (wxWindow
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22648 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxWindow
*arg1
= (wxWindow
*) 0 ;
22651 wxString
*arg2
= 0 ;
22652 bool temp2
= false ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self",(char *) "title", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 arg2
= wxString_in_helper(obj1
);
22664 if (arg2
== NULL
) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->SetTitle((wxString
const &)*arg2
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22689 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxWindow
*arg1
= (wxWindow
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= ((wxWindow
const *)arg1
)->GetTitle();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22721 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 wxString
*arg2
= 0 ;
22725 bool temp2
= false ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "label", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22736 arg2
= wxString_in_helper(obj1
);
22737 if (arg2
== NULL
) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 (arg1
)->SetLabel((wxString
const &)*arg2
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 Py_INCREF(Py_None
); resultobj
= Py_None
;
22762 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxWindow
*arg1
= (wxWindow
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 result
= ((wxWindow
const *)arg1
)->GetLabel();
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22794 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxWindow
*arg1
= (wxWindow
*) 0 ;
22797 wxString
*arg2
= 0 ;
22798 bool temp2
= false ;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self",(char *) "name", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 arg2
= wxString_in_helper(obj1
);
22810 if (arg2
== NULL
) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 (arg1
)->SetName((wxString
const &)*arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxWindow
*arg1
= (wxWindow
*) 0 ;
22839 PyObject
* obj0
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= ((wxWindow
const *)arg1
)->GetName();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22867 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxWindow
*arg1
= (wxWindow
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self",(char *) "variant", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22880 arg2
= (int)SWIG_As_int(obj1
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 Py_INCREF(Py_None
); resultobj
= Py_None
;
22896 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxWindow
*arg1
= (wxWindow
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= SWIG_From_int((int)result
);
22922 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxWindow
*arg1
= (wxWindow
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "winid", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 arg2
= (int)SWIG_As_int(obj1
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 (arg1
)->SetId(arg2
);
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 Py_INCREF(Py_None
); resultobj
= Py_None
;
22951 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxWindow
*arg1
= (wxWindow
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (int)((wxWindow
const *)arg1
)->GetId();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_From_int((int)result
);
22977 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22980 char *kwnames
[] = {
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (int)wxWindow::NewControlId();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_From_int((int)result
);
22999 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "winid", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
23009 arg1
= (int)SWIG_As_int(obj0
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= (int)wxWindow::NextControlId(arg1
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_From_int((int)result
);
23025 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23029 PyObject
* obj0
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "winid", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
23035 arg1
= (int)SWIG_As_int(obj0
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (int)wxWindow::PrevControlId(arg1
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_From_int((int)result
);
23051 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 PyObject
* obj1
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self",(char *) "size", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 (arg1
)->SetSize((wxSize
const &)*arg2
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23083 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxWindow
*arg1
= (wxWindow
*) 0 ;
23090 int arg6
= (int) wxSIZE_AUTO
;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 PyObject
* obj2
= 0 ;
23094 PyObject
* obj3
= 0 ;
23095 PyObject
* obj4
= 0 ;
23096 PyObject
* obj5
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23104 arg2
= (int)SWIG_As_int(obj1
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23106 arg3
= (int)SWIG_As_int(obj2
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23108 arg4
= (int)SWIG_As_int(obj3
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23110 arg5
= (int)SWIG_As_int(obj4
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 arg6
= (int)SWIG_As_int(obj5
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 Py_INCREF(Py_None
); resultobj
= Py_None
;
23130 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxWindow
*arg1
= (wxWindow
*) 0 ;
23134 int arg3
= (int) wxSIZE_AUTO
;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 PyObject
* obj2
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23151 arg3
= (int)SWIG_As_int(obj2
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 Py_INCREF(Py_None
); resultobj
= Py_None
;
23168 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxWindow
*arg1
= (wxWindow
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 PyObject
* obj2
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self",(char *) "width",(char *) "height", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23183 arg2
= (int)SWIG_As_int(obj1
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23185 arg3
= (int)SWIG_As_int(obj2
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 (arg1
)->SetSize(arg2
,arg3
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 Py_INCREF(Py_None
); resultobj
= Py_None
;
23201 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxWindow
*arg1
= (wxWindow
*) 0 ;
23204 wxPoint
*arg2
= 0 ;
23205 int arg3
= (int) wxSIZE_USE_EXISTING
;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 PyObject
* obj2
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self",(char *) "pt",(char *) "flags", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23222 arg3
= (int)SWIG_As_int(obj2
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 Py_INCREF(Py_None
); resultobj
= Py_None
;
23239 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxWindow
*arg1
= (wxWindow
*) 0 ;
23244 int arg4
= (int) wxSIZE_USE_EXISTING
;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 PyObject
* obj2
= 0 ;
23248 PyObject
* obj3
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 arg2
= (int)SWIG_As_int(obj1
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23258 arg3
= (int)SWIG_As_int(obj2
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 arg4
= (int)SWIG_As_int(obj3
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 (arg1
)->Move(arg2
,arg3
,arg4
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 Py_INCREF(Py_None
); resultobj
= Py_None
;
23278 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxWindow
*arg1
= (wxWindow
*) 0 ;
23281 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23282 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "size", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23296 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 Py_INCREF(Py_None
); resultobj
= Py_None
;
23313 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxWindow
*arg1
= (wxWindow
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxWindow
*arg1
= (wxWindow
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxWindow
*arg1
= (wxWindow
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "size", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 Py_INCREF(Py_None
); resultobj
= Py_None
;
23395 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxWindow
*arg1
= (wxWindow
*) 0 ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 PyObject
* obj2
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "width",(char *) "height", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 arg2
= (int)SWIG_As_int(obj1
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23412 arg3
= (int)SWIG_As_int(obj2
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 (arg1
)->SetClientSize(arg2
,arg3
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxWindow
*arg1
= (wxWindow
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self",(char *) "rect", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 Py_INCREF(Py_None
); resultobj
= Py_None
;
23460 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxWindow
*arg1
= (wxWindow
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (arg1
)->GetPosition();
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23480 wxPoint
* resultptr
;
23481 resultptr
= new wxPoint((wxPoint
&) result
);
23482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23490 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxWindow
*arg1
= (wxWindow
*) 0 ;
23493 int *arg2
= (int *) 0 ;
23494 int *arg3
= (int *) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self", NULL
23504 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23505 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->GetPosition(arg2
,arg3
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 Py_INCREF(Py_None
); resultobj
= Py_None
;
23517 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23518 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23519 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23520 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23527 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23529 wxWindow
*arg1
= (wxWindow
*) 0 ;
23531 PyObject
* obj0
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= ((wxWindow
const *)arg1
)->GetSize();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23547 wxSize
* resultptr
;
23548 resultptr
= new wxSize((wxSize
&) result
);
23549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23557 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxWindow
*arg1
= (wxWindow
*) 0 ;
23560 int *arg2
= (int *) 0 ;
23561 int *arg3
= (int *) 0 ;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23572 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 Py_INCREF(Py_None
); resultobj
= Py_None
;
23584 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23585 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23586 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23587 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23594 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxWindow
*arg1
= (wxWindow
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= ((wxWindow
const *)arg1
)->GetRect();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 wxRect
* resultptr
;
23615 resultptr
= new wxRect((wxRect
&) result
);
23616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23624 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxWindow
*arg1
= (wxWindow
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 wxSize
* resultptr
;
23645 resultptr
= new wxSize((wxSize
&) result
);
23646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23654 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxWindow
*arg1
= (wxWindow
*) 0 ;
23657 int *arg2
= (int *) 0 ;
23658 int *arg3
= (int *) 0 ;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23669 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23682 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23683 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23684 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23691 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxWindow
*arg1
= (wxWindow
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",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 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 wxPoint
* resultptr
;
23712 resultptr
= new wxPoint((wxPoint
&) result
);
23713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23721 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxWindow
*arg1
= (wxWindow
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 wxRect
* resultptr
;
23742 resultptr
= new wxRect((wxRect
&) result
);
23743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23751 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 wxSize
* resultptr
;
23772 resultptr
= new wxSize((wxSize
&) result
);
23773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23781 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxWindow
*arg1
= (wxWindow
*) 0 ;
23784 int *arg2
= (int *) 0 ;
23785 int *arg3
= (int *) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23796 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23809 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23810 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23811 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23818 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxWindow
*arg1
= (wxWindow
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->InvalidateBestSize();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxWindow
*arg1
= (wxWindow
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 wxSize
* resultptr
;
23864 resultptr
= new wxSize((wxSize
&) result
);
23865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23873 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxWindow
*arg1
= (wxWindow
*) 0 ;
23877 PyObject
* obj0
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 wxSize
* resultptr
;
23894 resultptr
= new wxSize((wxSize
&) result
);
23895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23903 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxWindow
*arg1
= (wxWindow
*) 0 ;
23906 int arg2
= (int) wxBOTH
;
23907 PyObject
* obj0
= 0 ;
23908 PyObject
* obj1
= 0 ;
23909 char *kwnames
[] = {
23910 (char *) "self",(char *) "direction", NULL
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23917 arg2
= (int)SWIG_As_int(obj1
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 (arg1
)->Center(arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 Py_INCREF(Py_None
); resultobj
= Py_None
;
23934 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxWindow
*arg1
= (wxWindow
*) 0 ;
23937 int arg2
= (int) wxBOTH
;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self",(char *) "dir", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23948 arg2
= (int)SWIG_As_int(obj1
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->CenterOnScreen(arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxWindow
*arg1
= (wxWindow
*) 0 ;
23968 int arg2
= (int) wxBOTH
;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "dir", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 arg2
= (int)SWIG_As_int(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 (arg1
)->CenterOnParent(arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 Py_INCREF(Py_None
); resultobj
= Py_None
;
23996 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxWindow
*arg1
= (wxWindow
*) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 Py_INCREF(Py_None
); resultobj
= Py_None
;
24021 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxWindow
*arg1
= (wxWindow
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->FitInside();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 Py_INCREF(Py_None
); resultobj
= Py_None
;
24046 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxWindow
*arg1
= (wxWindow
*) 0 ;
24051 int arg4
= (int) -1 ;
24052 int arg5
= (int) -1 ;
24053 int arg6
= (int) -1 ;
24054 int arg7
= (int) -1 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 PyObject
* obj2
= 0 ;
24058 PyObject
* obj3
= 0 ;
24059 PyObject
* obj4
= 0 ;
24060 PyObject
* obj5
= 0 ;
24061 PyObject
* obj6
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24069 arg2
= (int)SWIG_As_int(obj1
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24071 arg3
= (int)SWIG_As_int(obj2
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 arg4
= (int)SWIG_As_int(obj3
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 arg5
= (int)SWIG_As_int(obj4
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 arg6
= (int)SWIG_As_int(obj5
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24086 arg7
= (int)SWIG_As_int(obj6
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 Py_INCREF(Py_None
); resultobj
= Py_None
;
24103 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxWindow
*arg1
= (wxWindow
*) 0 ;
24107 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24108 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 PyObject
* obj3
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24132 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24138 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 Py_INCREF(Py_None
); resultobj
= Py_None
;
24155 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxWindow
*arg1
= (wxWindow
*) 0 ;
24160 int arg4
= (int) -1 ;
24161 int arg5
= (int) -1 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 PyObject
* obj2
= 0 ;
24165 PyObject
* obj3
= 0 ;
24166 PyObject
* obj4
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 arg2
= (int)SWIG_As_int(obj1
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24176 arg3
= (int)SWIG_As_int(obj2
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 arg4
= (int)SWIG_As_int(obj3
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 arg5
= (int)SWIG_As_int(obj4
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 Py_INCREF(Py_None
); resultobj
= Py_None
;
24200 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxWindow
*arg1
= (wxWindow
*) 0 ;
24204 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24205 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24208 PyObject
* obj0
= 0 ;
24209 PyObject
* obj1
= 0 ;
24210 PyObject
* obj2
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24225 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 Py_INCREF(Py_None
); resultobj
= Py_None
;
24242 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxWindow
*arg1
= (wxWindow
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 wxSize
* resultptr
;
24263 resultptr
= new wxSize((wxSize
&) result
);
24264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24272 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxWindow
*arg1
= (wxWindow
*) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 wxSize
* resultptr
;
24293 resultptr
= new wxSize((wxSize
&) result
);
24294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24302 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxWindow
*arg1
= (wxWindow
*) 0 ;
24307 PyObject
* obj0
= 0 ;
24308 PyObject
* obj1
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self",(char *) "minSize", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 Py_INCREF(Py_None
); resultobj
= Py_None
;
24334 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxWindow
*arg1
= (wxWindow
*) 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "maxSize", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 Py_INCREF(Py_None
); resultobj
= Py_None
;
24366 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxWindow
*arg1
= (wxWindow
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_From_int((int)result
);
24392 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24394 wxWindow
*arg1
= (wxWindow
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= SWIG_From_int((int)result
);
24418 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxWindow
*arg1
= (wxWindow
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_From_int((int)result
);
24444 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxWindow
*arg1
= (wxWindow
*) 0 ;
24448 PyObject
* obj0
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_From_int((int)result
);
24470 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxWindow
*arg1
= (wxWindow
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "size", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxWindow
*arg1
= (wxWindow
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 PyObject
* obj2
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self",(char *) "w",(char *) "h", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24517 arg2
= (int)SWIG_As_int(obj1
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24519 arg3
= (int)SWIG_As_int(obj2
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->SetVirtualSize(arg2
,arg3
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxWindow
*arg1
= (wxWindow
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 wxSize
* resultptr
;
24556 resultptr
= new wxSize((wxSize
&) result
);
24557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24565 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxWindow
*arg1
= (wxWindow
*) 0 ;
24568 int *arg2
= (int *) 0 ;
24569 int *arg3
= (int *) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self", NULL
24579 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24580 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 Py_INCREF(Py_None
); resultobj
= Py_None
;
24592 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24593 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24594 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24595 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24602 static PyObject
*_wrap_Window_GetBestVirtualSize(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_GetBestVirtualSize",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
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 wxSize
* resultptr
;
24623 resultptr
= new wxSize((wxSize
&) result
);
24624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24632 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 bool arg2
= (bool) true ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "show", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 arg2
= (bool)SWIG_As_bool(obj1
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (bool)(arg1
)->Show(arg2
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24666 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxWindow
*arg1
= (wxWindow
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "self", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 result
= (bool)(arg1
)->Hide();
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24694 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxWindow
*arg1
= (wxWindow
*) 0 ;
24697 bool arg2
= (bool) true ;
24699 PyObject
* obj0
= 0 ;
24700 PyObject
* obj1
= 0 ;
24701 char *kwnames
[] = {
24702 (char *) "self",(char *) "enable", NULL
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24709 arg2
= (bool)SWIG_As_bool(obj1
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (bool)(arg1
)->Enable(arg2
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24728 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24729 PyObject
*resultobj
;
24730 wxWindow
*arg1
= (wxWindow
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= (bool)(arg1
)->Disable();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24756 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxWindow
*arg1
= (wxWindow
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24784 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxWindow
*arg1
= (wxWindow
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24812 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxWindow
*arg1
= (wxWindow
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self",(char *) "style", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24825 arg2
= (long)SWIG_As_long(obj1
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->SetWindowStyleFlag(arg2
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxWindow
*arg1
= (wxWindow
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_From_long((long)result
);
24867 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxWindow
*arg1
= (wxWindow
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self",(char *) "flag", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 arg2
= (int)SWIG_As_int(obj1
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24899 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxWindow
*arg1
= (wxWindow
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24927 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxWindow
*arg1
= (wxWindow
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "exStyle", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 arg2
= (long)SWIG_As_long(obj1
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->SetExtraStyle(arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxWindow
*arg1
= (wxWindow
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_From_long((long)result
);
24982 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxWindow
*arg1
= (wxWindow
*) 0 ;
24985 bool arg2
= (bool) true ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "modal", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 arg2
= (bool)SWIG_As_bool(obj1
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 (arg1
)->MakeModal(arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 Py_INCREF(Py_None
); resultobj
= Py_None
;
25013 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "enableTheme", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25026 arg2
= (bool)SWIG_As_bool(obj1
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 (arg1
)->SetThemeEnabled(arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 Py_INCREF(Py_None
); resultobj
= Py_None
;
25042 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxWindow
*arg1
= (wxWindow
*) 0 ;
25046 PyObject
* obj0
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
25052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25070 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxWindow
*arg1
= (wxWindow
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 (arg1
)->SetFocus();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 Py_INCREF(Py_None
); resultobj
= Py_None
;
25095 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxWindow
*arg1
= (wxWindow
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->SetFocusFromKbd();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 Py_INCREF(Py_None
); resultobj
= Py_None
;
25120 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25123 char *kwnames
[] = {
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
25129 if (!wxPyCheckForApp()) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (wxWindow
*)wxWindow::FindFocus();
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= wxPyMake_wxObject(result
, 0);
25145 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxWindow
*arg1
= (wxWindow
*) 0 ;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25173 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxWindow
*arg1
= (wxWindow
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25201 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= wxPyMake_wxObject(result
, 0);
25229 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
;
25231 wxWindow
*arg1
= (wxWindow
*) 0 ;
25232 wxWindow
*arg2
= (wxWindow
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "child", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= wxPyMake_wxObject(result
, 0);
25261 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxWindow
*arg1
= (wxWindow
*) 0 ;
25264 wxWindow
*arg2
= (wxWindow
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "win", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 (arg1
)->SetTmpDefaultItem(arg2
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 Py_INCREF(Py_None
); resultobj
= Py_None
;
25290 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
;
25292 wxWindow
*arg1
= (wxWindow
*) 0 ;
25293 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self",(char *) "flags", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 arg2
= (int)SWIG_As_int(obj1
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 result
= (bool)(arg1
)->Navigate(arg2
);
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25324 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25326 wxWindow
*arg1
= (wxWindow
*) 0 ;
25327 wxWindow
*arg2
= (wxWindow
*) 0 ;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self",(char *) "win", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->MoveAfterInTabOrder(arg2
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 Py_INCREF(Py_None
); resultobj
= Py_None
;
25353 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxWindow
*arg1
= (wxWindow
*) 0 ;
25356 wxWindow
*arg2
= (wxWindow
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "win", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->MoveBeforeInTabOrder(arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxWindow
*arg1
= (wxWindow
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= result
;
25408 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxWindow
*arg1
= (wxWindow
*) 0 ;
25412 PyObject
* obj0
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= wxPyMake_wxObject(result
, 0);
25436 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxWindow
*arg1
= (wxWindow
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= wxPyMake_wxObject(result
, 0);
25464 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxWindow
*arg1
= (wxWindow
*) 0 ;
25468 PyObject
* obj0
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25492 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxWindow
*arg1
= (wxWindow
*) 0 ;
25495 wxWindow
*arg2
= (wxWindow
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "newParent", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (bool)(arg1
)->Reparent(arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25524 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxWindow
*arg1
= (wxWindow
*) 0 ;
25527 wxWindow
*arg2
= (wxWindow
*) 0 ;
25528 PyObject
* obj0
= 0 ;
25529 PyObject
* obj1
= 0 ;
25530 char *kwnames
[] = {
25531 (char *) "self",(char *) "child", NULL
25534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 (arg1
)->AddChild(arg2
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 Py_INCREF(Py_None
); resultobj
= Py_None
;
25553 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxWindow
*arg1
= (wxWindow
*) 0 ;
25556 wxWindow
*arg2
= (wxWindow
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self",(char *) "child", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 (arg1
)->RemoveChild(arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 Py_INCREF(Py_None
); resultobj
= Py_None
;
25582 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxWindow
*arg1
= (wxWindow
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "winid", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25596 arg2
= (long)SWIG_As_long(obj1
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= wxPyMake_wxObject(result
, 0);
25614 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25617 wxString
*arg2
= 0 ;
25619 bool temp2
= false ;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self",(char *) "name", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 arg2
= wxString_in_helper(obj1
);
25631 if (arg2
== NULL
) SWIG_fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= wxPyMake_wxObject(result
, 0);
25658 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxWindow
*arg1
= (wxWindow
*) 0 ;
25661 wxEvtHandler
*result
;
25662 PyObject
* obj0
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= wxPyMake_wxObject(result
, 0);
25686 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxWindow
*arg1
= (wxWindow
*) 0 ;
25689 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "handler", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 (arg1
)->SetEventHandler(arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 Py_INCREF(Py_None
); resultobj
= Py_None
;
25715 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxWindow
*arg1
= (wxWindow
*) 0 ;
25718 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "handler", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->PushEventHandler(arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxWindow
*arg1
= (wxWindow
*) 0 ;
25747 bool arg2
= (bool) false ;
25748 wxEvtHandler
*result
;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self",(char *) "deleteHandler", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 arg2
= (bool)SWIG_As_bool(obj1
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= wxPyMake_wxObject(result
, 0);
25778 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 wxWindow
*arg1
= (wxWindow
*) 0 ;
25781 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "handler", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25810 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25813 wxValidator
*arg2
= 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "self",(char *) "validator", NULL
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25826 if (arg2
== NULL
) {
25827 PyErr_SetString(PyExc_TypeError
,"null reference");
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 Py_INCREF(Py_None
); resultobj
= Py_None
;
25844 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25847 wxValidator
*result
;
25848 PyObject
* obj0
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (wxValidator
*)(arg1
)->GetValidator();
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= wxPyMake_wxObject(result
, 0);
25872 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxWindow
*arg1
= (wxWindow
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (bool)(arg1
)->Validate();
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25900 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxWindow
*arg1
= (wxWindow
*) 0 ;
25904 PyObject
* obj0
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (bool)(arg1
)->TransferDataToWindow();
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25928 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (bool)(arg1
)->TransferDataFromWindow();
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25956 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxWindow
*arg1
= (wxWindow
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 (arg1
)->InitDialog();
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25974 Py_INCREF(Py_None
); resultobj
= Py_None
;
25981 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
;
25983 wxWindow
*arg1
= (wxWindow
*) 0 ;
25984 wxAcceleratorTable
*arg2
= 0 ;
25985 PyObject
* obj0
= 0 ;
25986 PyObject
* obj1
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self",(char *) "accel", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25997 if (arg2
== NULL
) {
25998 PyErr_SetString(PyExc_TypeError
,"null reference");
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 Py_INCREF(Py_None
); resultobj
= Py_None
;
26015 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxWindow
*arg1
= (wxWindow
*) 0 ;
26018 wxAcceleratorTable
*result
;
26019 PyObject
* obj0
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
26041 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 PyObject
* obj2
= 0 ;
26051 PyObject
* obj3
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 arg2
= (int)SWIG_As_int(obj1
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26061 arg3
= (int)SWIG_As_int(obj2
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26063 arg4
= (int)SWIG_As_int(obj3
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26081 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxWindow
*arg1
= (wxWindow
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "hotkeyId", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26095 arg2
= (int)SWIG_As_int(obj1
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26099 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26113 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxWindow
*arg1
= (wxWindow
*) 0 ;
26116 wxPoint
*arg2
= 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self",(char *) "pt", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 wxPoint
* resultptr
;
26141 resultptr
= new wxPoint((wxPoint
&) result
);
26142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26150 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxWindow
*arg1
= (wxWindow
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self",(char *) "sz", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26177 wxSize
* resultptr
;
26178 resultptr
= new wxSize((wxSize
&) result
);
26179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26187 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxWindow
*arg1
= (wxWindow
*) 0 ;
26190 wxPoint
*arg2
= 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "pt", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 wxPoint
* resultptr
;
26215 resultptr
= new wxPoint((wxPoint
&) result
);
26216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26224 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxWindow
*arg1
= (wxWindow
*) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "sz", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26251 wxSize
* resultptr
;
26252 resultptr
= new wxSize((wxSize
&) result
);
26253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26261 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxWindow
*arg1
= (wxWindow
*) 0 ;
26264 wxPoint
*arg2
= 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "pt", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26288 wxPoint
* resultptr
;
26289 resultptr
= new wxPoint((wxPoint
&) result
);
26290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26298 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "sz", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26325 wxSize
* resultptr
;
26326 resultptr
= new wxSize((wxSize
&) result
);
26327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26335 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26337 wxWindow
*arg1
= (wxWindow
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 PyObject
* obj2
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "x",(char *) "y", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26350 arg2
= (int)SWIG_As_int(obj1
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26352 arg3
= (int)SWIG_As_int(obj2
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 (arg1
)->WarpPointer(arg2
,arg3
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxWindow
*arg1
= (wxWindow
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 (arg1
)->CaptureMouse();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 Py_INCREF(Py_None
); resultobj
= Py_None
;
26393 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxWindow
*arg1
= (wxWindow
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->ReleaseMouse();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 Py_INCREF(Py_None
); resultobj
= Py_None
;
26418 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26421 char *kwnames
[] = {
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26427 if (!wxPyCheckForApp()) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (wxWindow
*)wxWindow::GetCapture();
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= wxPyMake_wxObject(result
, 0);
26443 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxWindow
*arg1
= (wxWindow
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26471 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxWindow
*arg1
= (wxWindow
*) 0 ;
26474 bool arg2
= (bool) true ;
26475 wxRect
*arg3
= (wxRect
*) NULL
;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 PyObject
* obj2
= 0 ;
26479 char *kwnames
[] = {
26480 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26487 arg2
= (bool)SWIG_As_bool(obj1
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 Py_INCREF(Py_None
); resultobj
= Py_None
;
26508 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
;
26510 wxWindow
*arg1
= (wxWindow
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "rect", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 Py_INCREF(Py_None
); resultobj
= Py_None
;
26540 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxWindow
*arg1
= (wxWindow
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 Py_INCREF(Py_None
); resultobj
= Py_None
;
26565 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 (arg1
)->ClearBackground();
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 Py_INCREF(Py_None
); resultobj
= Py_None
;
26590 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxWindow
*arg1
= (wxWindow
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 char *kwnames
[] = {
26595 (char *) "self", NULL
26598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 Py_INCREF(Py_None
); resultobj
= Py_None
;
26615 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxWindow
*arg1
= (wxWindow
*) 0 ;
26618 PyObject
* obj0
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 Py_INCREF(Py_None
); resultobj
= Py_None
;
26640 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxWindow
*arg1
= (wxWindow
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self",(char *) "dc", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26656 if (arg2
== NULL
) {
26657 PyErr_SetString(PyExc_TypeError
,"null reference");
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->PrepareDC(*arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 Py_INCREF(Py_None
); resultobj
= Py_None
;
26674 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxWindow
*arg1
= (wxWindow
*) 0 ;
26678 PyObject
* obj0
= 0 ;
26679 char *kwnames
[] = {
26680 (char *) "self", NULL
26683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26690 result
= (wxRegion
*) &_result_ref
;
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26703 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxWindow
*arg1
= (wxWindow
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 wxRect
* resultptr
;
26724 resultptr
= new wxRect((wxRect
&) result
);
26725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26733 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxWindow
*arg1
= (wxWindow
*) 0 ;
26738 int arg4
= (int) 1 ;
26739 int arg5
= (int) 1 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 PyObject
* obj2
= 0 ;
26744 PyObject
* obj3
= 0 ;
26745 PyObject
* obj4
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 arg2
= (int)SWIG_As_int(obj1
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26755 arg3
= (int)SWIG_As_int(obj2
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 arg4
= (int)SWIG_As_int(obj3
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26762 arg5
= (int)SWIG_As_int(obj4
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26781 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxWindow
*arg1
= (wxWindow
*) 0 ;
26784 wxPoint
*arg2
= 0 ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self",(char *) "pt", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26816 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxWindow
*arg1
= (wxWindow
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self",(char *) "rect", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26851 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxWindow
*arg1
= (wxWindow
*) 0 ;
26854 wxVisualAttributes result
;
26855 PyObject
* obj0
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 wxVisualAttributes
* resultptr
;
26872 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26881 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26884 wxVisualAttributes result
;
26885 PyObject
* obj0
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "variant", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26892 arg1
= (int)SWIG_As_int(obj0
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 if (!wxPyCheckForApp()) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26904 wxVisualAttributes
* resultptr
;
26905 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26914 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxWindow
*arg1
= (wxWindow
*) 0 ;
26917 wxColour
*arg2
= 0 ;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "colour", NULL
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26949 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxWindow
*arg1
= (wxWindow
*) 0 ;
26952 wxColour
*arg2
= 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "colour", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 Py_INCREF(Py_None
); resultobj
= Py_None
;
26981 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxWindow
*arg1
= (wxWindow
*) 0 ;
26984 wxColour
*arg2
= 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self",(char *) "colour", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27016 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxWindow
*arg1
= (wxWindow
*) 0 ;
27019 wxColour
*arg2
= 0 ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "colour", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 Py_INCREF(Py_None
); resultobj
= Py_None
;
27048 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxWindow
*arg1
= (wxWindow
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 char *kwnames
[] = {
27054 (char *) "self", NULL
27057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
27058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 wxColour
* resultptr
;
27069 resultptr
= new wxColour((wxColour
&) result
);
27070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27078 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
;
27080 wxWindow
*arg1
= (wxWindow
*) 0 ;
27082 PyObject
* obj0
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27092 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27098 wxColour
* resultptr
;
27099 resultptr
= new wxColour((wxColour
&) result
);
27100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27108 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
;
27110 wxWindow
*arg1
= (wxWindow
*) 0 ;
27113 PyObject
* obj0
= 0 ;
27114 PyObject
* obj1
= 0 ;
27115 char *kwnames
[] = {
27116 (char *) "self",(char *) "style", NULL
27119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27122 arg2
= (int)SWIG_As_int(obj1
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27140 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
27150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_From_int((int)result
);
27166 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxWindow
*arg1
= (wxWindow
*) 0 ;
27169 wxCursor
*arg2
= 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "cursor", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
27178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27183 if (arg2
== NULL
) {
27184 PyErr_SetString(PyExc_TypeError
,"null reference");
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27203 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27204 PyObject
*resultobj
;
27205 wxWindow
*arg1
= (wxWindow
*) 0 ;
27207 PyObject
* obj0
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 result
= (arg1
)->GetCursor();
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 wxCursor
* resultptr
;
27224 resultptr
= new wxCursor((wxCursor
&) result
);
27225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27233 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxWindow
*arg1
= (wxWindow
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "font", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27250 if (arg2
== NULL
) {
27251 PyErr_SetString(PyExc_TypeError
,"null reference");
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27270 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
;
27272 wxWindow
*arg1
= (wxWindow
*) 0 ;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "font", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27286 if (arg2
== NULL
) {
27287 PyErr_SetString(PyExc_TypeError
,"null reference");
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 Py_INCREF(Py_None
); resultobj
= Py_None
;
27304 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
;
27306 wxWindow
*arg1
= (wxWindow
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (arg1
)->GetFont();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27324 wxFont
* resultptr
;
27325 resultptr
= new wxFont((wxFont
&) result
);
27326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27334 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxWindow
*arg1
= (wxWindow
*) 0 ;
27337 wxCaret
*arg2
= (wxCaret
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "caret", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 (arg1
)->SetCaret(arg2
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 Py_INCREF(Py_None
); resultobj
= Py_None
;
27363 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxWindow
*arg1
= (wxWindow
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27389 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxWindow
*arg1
= (wxWindow
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= SWIG_From_int((int)result
);
27415 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxWindow
*arg1
= (wxWindow
*) 0 ;
27419 PyObject
* obj0
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27431 wxPyEndAllowThreads(__tstate
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= SWIG_From_int((int)result
);
27441 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
;
27443 wxWindow
*arg1
= (wxWindow
*) 0 ;
27444 wxString
*arg2
= 0 ;
27445 int *arg3
= (int *) 0 ;
27446 int *arg4
= (int *) 0 ;
27447 bool temp2
= false ;
27452 PyObject
* obj0
= 0 ;
27453 PyObject
* obj1
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self",(char *) "string", NULL
27458 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27459 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27464 arg2
= wxString_in_helper(obj1
);
27465 if (arg2
== NULL
) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 Py_INCREF(Py_None
); resultobj
= Py_None
;
27476 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27477 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27478 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27479 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27494 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
;
27496 wxWindow
*arg1
= (wxWindow
*) 0 ;
27497 wxString
*arg2
= 0 ;
27498 int *arg3
= (int *) 0 ;
27499 int *arg4
= (int *) 0 ;
27500 int *arg5
= (int *) 0 ;
27501 int *arg6
= (int *) 0 ;
27502 wxFont
*arg7
= (wxFont
*) NULL
;
27503 bool temp2
= false ;
27512 PyObject
* obj0
= 0 ;
27513 PyObject
* obj1
= 0 ;
27514 PyObject
* obj2
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "string",(char *) "font", NULL
27519 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27520 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27521 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27522 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 arg2
= wxString_in_helper(obj1
);
27528 if (arg2
== NULL
) SWIG_fail
;
27532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 Py_INCREF(Py_None
); resultobj
= Py_None
;
27543 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27544 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27545 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27546 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27547 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27548 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27549 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27550 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27565 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxWindow
*arg1
= (wxWindow
*) 0 ;
27568 int *arg2
= (int *) 0 ;
27569 int *arg3
= (int *) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 PyObject
* obj2
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self",(char *) "x",(char *) "y", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27586 temp2
= SWIG_As_int(obj1
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 res2
= SWIG_NEWOBJ
;
27593 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27594 temp3
= SWIG_As_int(obj2
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 res3
= SWIG_NEWOBJ
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 Py_INCREF(Py_None
); resultobj
= Py_None
;
27608 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27609 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27610 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27611 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27618 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxWindow
*arg1
= (wxWindow
*) 0 ;
27621 int *arg2
= (int *) 0 ;
27622 int *arg3
= (int *) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 PyObject
* obj1
= 0 ;
27629 PyObject
* obj2
= 0 ;
27630 char *kwnames
[] = {
27631 (char *) "self",(char *) "x",(char *) "y", NULL
27634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27638 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27639 temp2
= SWIG_As_int(obj1
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 res2
= SWIG_NEWOBJ
;
27646 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27647 temp3
= SWIG_As_int(obj2
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 res3
= SWIG_NEWOBJ
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 Py_INCREF(Py_None
); resultobj
= Py_None
;
27661 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27662 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27663 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27664 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27671 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxWindow
*arg1
= (wxWindow
*) 0 ;
27674 wxPoint
*arg2
= 0 ;
27677 PyObject
* obj0
= 0 ;
27678 PyObject
* obj1
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self",(char *) "pt", NULL
27683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 wxPoint
* resultptr
;
27699 resultptr
= new wxPoint((wxPoint
&) result
);
27700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27708 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxWindow
*arg1
= (wxWindow
*) 0 ;
27711 wxPoint
*arg2
= 0 ;
27714 PyObject
* obj0
= 0 ;
27715 PyObject
* obj1
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self",(char *) "pt", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27735 wxPoint
* resultptr
;
27736 resultptr
= new wxPoint((wxPoint
&) result
);
27737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27745 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxWindow
*arg1
= (wxWindow
*) 0 ;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 PyObject
* obj2
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "x",(char *) "y", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27761 arg2
= (int)SWIG_As_int(obj1
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27763 arg3
= (int)SWIG_As_int(obj2
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= SWIG_From_int((int)result
);
27779 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxWindow
*arg1
= (wxWindow
*) 0 ;
27782 wxPoint
*arg2
= 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self",(char *) "pt", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_From_int((int)result
);
27812 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27813 PyObject
*resultobj
;
27814 wxWindow
*arg1
= (wxWindow
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27820 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 arg2
= (long)SWIG_As_long(obj1
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_From_int((int)result
);
27839 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27840 PyObject
*resultobj
;
27841 wxWindow
*arg1
= (wxWindow
*) 0 ;
27843 PyObject
* obj0
= 0 ;
27845 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_From_int((int)result
);
27862 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27867 argc
= PyObject_Length(args
);
27868 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27869 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27875 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27883 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27890 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27898 _v
= SWIG_Check_long(argv
[1]);
27900 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27905 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27910 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxWindow
*arg1
= (wxWindow
*) 0 ;
27913 long arg2
= (long) wxUPDATE_UI_NONE
;
27914 PyObject
* obj0
= 0 ;
27915 PyObject
* obj1
= 0 ;
27916 char *kwnames
[] = {
27917 (char *) "self",(char *) "flags", NULL
27920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27924 arg2
= (long)SWIG_As_long(obj1
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 (arg1
)->UpdateWindowUI(arg2
);
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27934 Py_INCREF(Py_None
); resultobj
= Py_None
;
27941 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxWindow
*arg1
= (wxWindow
*) 0 ;
27944 wxMenu
*arg2
= (wxMenu
*) 0 ;
27945 int arg3
= (int) -1 ;
27946 int arg4
= (int) -1 ;
27948 PyObject
* obj0
= 0 ;
27949 PyObject
* obj1
= 0 ;
27950 PyObject
* obj2
= 0 ;
27951 PyObject
* obj3
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 arg3
= (int)SWIG_As_int(obj2
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 arg4
= (int)SWIG_As_int(obj3
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27985 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxWindow
*arg1
= (wxWindow
*) 0 ;
27988 wxMenu
*arg2
= (wxMenu
*) 0 ;
27989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 PyObject
* obj2
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "menu",(char *) "pos", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28027 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxWindow
*arg1
= (wxWindow
*) 0 ;
28031 PyObject
* obj0
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 result
= (long)wxWindow_GetHandle(arg1
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_From_long((long)result
);
28053 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxWindow
*arg1
= (wxWindow
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self",(char *) "handle", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 arg2
= (long)SWIG_As_long(obj1
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 wxWindow_AssociateHandle(arg1
,arg2
);
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28075 Py_INCREF(Py_None
); resultobj
= Py_None
;
28082 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
;
28084 wxWindow
*arg1
= (wxWindow
*) 0 ;
28085 PyObject
* obj0
= 0 ;
28086 char *kwnames
[] = {
28087 (char *) "self", NULL
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
28091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 (arg1
)->DissociateHandle();
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 Py_INCREF(Py_None
); resultobj
= Py_None
;
28107 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
;
28109 wxWindow
*arg1
= (wxWindow
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "orient", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28121 arg2
= (int)SWIG_As_int(obj1
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28139 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxWindow
*arg1
= (wxWindow
*) 0 ;
28146 bool arg6
= (bool) true ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 PyObject
* obj2
= 0 ;
28150 PyObject
* obj3
= 0 ;
28151 PyObject
* obj4
= 0 ;
28152 PyObject
* obj5
= 0 ;
28153 char *kwnames
[] = {
28154 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28160 arg2
= (int)SWIG_As_int(obj1
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28162 arg3
= (int)SWIG_As_int(obj2
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28164 arg4
= (int)SWIG_As_int(obj3
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28166 arg5
= (int)SWIG_As_int(obj4
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 arg6
= (bool)SWIG_As_bool(obj5
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28174 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28179 Py_INCREF(Py_None
); resultobj
= Py_None
;
28186 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28187 PyObject
*resultobj
;
28188 wxWindow
*arg1
= (wxWindow
*) 0 ;
28191 bool arg4
= (bool) true ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 PyObject
* obj2
= 0 ;
28195 PyObject
* obj3
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28203 arg2
= (int)SWIG_As_int(obj1
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28205 arg3
= (int)SWIG_As_int(obj2
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 arg4
= (bool)SWIG_As_bool(obj3
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 Py_INCREF(Py_None
); resultobj
= Py_None
;
28225 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxWindow
*arg1
= (wxWindow
*) 0 ;
28230 PyObject
* obj0
= 0 ;
28231 PyObject
* obj1
= 0 ;
28232 char *kwnames
[] = {
28233 (char *) "self",(char *) "orientation", NULL
28236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28239 arg2
= (int)SWIG_As_int(obj1
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= SWIG_From_int((int)result
);
28255 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxWindow
*arg1
= (wxWindow
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 PyObject
* obj1
= 0 ;
28262 char *kwnames
[] = {
28263 (char *) "self",(char *) "orientation", NULL
28266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 arg2
= (int)SWIG_As_int(obj1
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= SWIG_From_int((int)result
);
28285 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxWindow
*arg1
= (wxWindow
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self",(char *) "orientation", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28299 arg2
= (int)SWIG_As_int(obj1
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_From_int((int)result
);
28315 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
;
28317 wxWindow
*arg1
= (wxWindow
*) 0 ;
28320 wxRect
*arg4
= (wxRect
*) NULL
;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 PyObject
* obj2
= 0 ;
28324 PyObject
* obj3
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28332 arg2
= (int)SWIG_As_int(obj1
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28334 arg3
= (int)SWIG_As_int(obj2
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 Py_INCREF(Py_None
); resultobj
= Py_None
;
28354 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxWindow
*arg1
= (wxWindow
*) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 PyObject
* obj1
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self",(char *) "lines", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28368 arg2
= (int)SWIG_As_int(obj1
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 result
= (bool)(arg1
)->ScrollLines(arg2
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28386 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxWindow
*arg1
= (wxWindow
*) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 PyObject
* obj1
= 0 ;
28393 char *kwnames
[] = {
28394 (char *) "self",(char *) "pages", NULL
28397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 arg2
= (int)SWIG_As_int(obj1
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 result
= (bool)(arg1
)->ScrollPages(arg2
);
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28418 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxWindow
*arg1
= (wxWindow
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (bool)(arg1
)->LineUp();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28446 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28448 wxWindow
*arg1
= (wxWindow
*) 0 ;
28450 PyObject
* obj0
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (bool)(arg1
)->LineDown();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28474 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxWindow
*arg1
= (wxWindow
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (bool)(arg1
)->PageUp();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28502 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxWindow
*arg1
= (wxWindow
*) 0 ;
28506 PyObject
* obj0
= 0 ;
28507 char *kwnames
[] = {
28508 (char *) "self", NULL
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)(arg1
)->PageDown();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28530 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxWindow
*arg1
= (wxWindow
*) 0 ;
28533 wxString
*arg2
= 0 ;
28534 bool temp2
= false ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self",(char *) "text", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28545 arg2
= wxString_in_helper(obj1
);
28546 if (arg2
== NULL
) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 Py_INCREF(Py_None
); resultobj
= Py_None
;
28571 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxWindow
*arg1
= (wxWindow
*) 0 ;
28574 wxString
*arg2
= 0 ;
28575 bool temp2
= false ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "text", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28586 arg2
= wxString_in_helper(obj1
);
28587 if (arg2
== NULL
) SWIG_fail
;
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 Py_INCREF(Py_None
); resultobj
= Py_None
;
28612 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxWindow
*arg1
= (wxWindow
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 char *kwnames
[] = {
28618 (char *) "self", NULL
28621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28644 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
;
28646 wxWindow
*arg1
= (wxWindow
*) 0 ;
28647 wxString
*arg2
= 0 ;
28648 bool temp2
= false ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self",(char *) "tip", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28659 arg2
= wxString_in_helper(obj1
);
28660 if (arg2
== NULL
) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 Py_INCREF(Py_None
); resultobj
= Py_None
;
28685 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxWindow
*arg1
= (wxWindow
*) 0 ;
28688 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self",(char *) "tip", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 (arg1
)->SetToolTip(arg2
);
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 Py_INCREF(Py_None
); resultobj
= Py_None
;
28714 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxWindow
*arg1
= (wxWindow
*) 0 ;
28718 PyObject
* obj0
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "self", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= wxPyMake_wxObject(result
, 0);
28742 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
;
28744 wxWindow
*arg1
= (wxWindow
*) 0 ;
28745 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28746 PyObject
* obj0
= 0 ;
28747 PyObject
* obj1
= 0 ;
28748 char *kwnames
[] = {
28749 (char *) "self",(char *) "dropTarget", NULL
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28756 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 (arg1
)->SetDropTarget(arg2
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 Py_INCREF(Py_None
); resultobj
= Py_None
;
28771 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
;
28773 wxWindow
*arg1
= (wxWindow
*) 0 ;
28774 wxPyDropTarget
*result
;
28775 PyObject
* obj0
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28797 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxWindow
*arg1
= (wxWindow
*) 0 ;
28800 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28801 PyObject
* obj0
= 0 ;
28802 PyObject
* obj1
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self",(char *) "constraints", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 (arg1
)->SetConstraints(arg2
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 Py_INCREF(Py_None
); resultobj
= Py_None
;
28826 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxWindow
*arg1
= (wxWindow
*) 0 ;
28829 wxLayoutConstraints
*result
;
28830 PyObject
* obj0
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28852 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxWindow
*arg1
= (wxWindow
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "autoLayout", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28865 arg2
= (bool)SWIG_As_bool(obj1
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 (arg1
)->SetAutoLayout(arg2
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 Py_INCREF(Py_None
); resultobj
= Py_None
;
28881 static PyObject
*_wrap_Window_GetAutoLayout(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_GetAutoLayout",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
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28909 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxWindow
*arg1
= (wxWindow
*) 0 ;
28913 PyObject
* obj0
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= (bool)(arg1
)->Layout();
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28937 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxWindow
*arg1
= (wxWindow
*) 0 ;
28940 wxSizer
*arg2
= (wxSizer
*) 0 ;
28941 bool arg3
= (bool) true ;
28942 PyObject
* obj0
= 0 ;
28943 PyObject
* obj1
= 0 ;
28944 PyObject
* obj2
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28955 arg3
= (bool)SWIG_As_bool(obj2
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 (arg1
)->SetSizer(arg2
,arg3
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 Py_INCREF(Py_None
); resultobj
= Py_None
;
28972 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28973 PyObject
*resultobj
;
28974 wxWindow
*arg1
= (wxWindow
*) 0 ;
28975 wxSizer
*arg2
= (wxSizer
*) 0 ;
28976 bool arg3
= (bool) true ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 PyObject
* obj2
= 0 ;
28980 char *kwnames
[] = {
28981 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 arg3
= (bool)SWIG_As_bool(obj2
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 Py_INCREF(Py_None
); resultobj
= Py_None
;
29007 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
;
29009 wxWindow
*arg1
= (wxWindow
*) 0 ;
29011 PyObject
* obj0
= 0 ;
29012 char *kwnames
[] = {
29013 (char *) "self", NULL
29016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
29017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= wxPyMake_wxSizer(result
, 0);
29035 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxWindow
*arg1
= (wxWindow
*) 0 ;
29038 wxSizer
*arg2
= (wxSizer
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self",(char *) "sizer", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
29046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
29049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 (arg1
)->SetContainingSizer(arg2
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 Py_INCREF(Py_None
); resultobj
= Py_None
;
29064 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxWindow
*arg1
= (wxWindow
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
29074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29084 resultobj
= wxPyMake_wxSizer(result
, 0);
29092 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxWindow
*arg1
= (wxWindow
*) 0 ;
29095 PyObject
* obj0
= 0 ;
29096 char *kwnames
[] = {
29097 (char *) "self", NULL
29100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
29101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 (arg1
)->InheritAttributes();
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 Py_INCREF(Py_None
); resultobj
= Py_None
;
29117 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
;
29119 wxWindow
*arg1
= (wxWindow
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29145 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29148 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29150 return Py_BuildValue((char *)"");
29152 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
;
29155 wxWindow
*arg2
= (wxWindow
*) NULL
;
29157 PyObject
* obj0
= 0 ;
29158 PyObject
* obj1
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "id",(char *) "parent", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29164 arg1
= (long)SWIG_As_long(obj0
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29171 if (!wxPyCheckForApp()) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= wxPyMake_wxObject(result
, 0);
29187 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxString
*arg1
= 0 ;
29190 wxWindow
*arg2
= (wxWindow
*) NULL
;
29192 bool temp1
= false ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 char *kwnames
[] = {
29196 (char *) "name",(char *) "parent", NULL
29199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29201 arg1
= wxString_in_helper(obj0
);
29202 if (arg1
== NULL
) SWIG_fail
;
29206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29210 if (!wxPyCheckForApp()) SWIG_fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29212 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= wxPyMake_wxObject(result
, 0);
29234 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
;
29236 wxString
*arg1
= 0 ;
29237 wxWindow
*arg2
= (wxWindow
*) NULL
;
29239 bool temp1
= false ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "label",(char *) "parent", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29248 arg1
= wxString_in_helper(obj0
);
29249 if (arg1
== NULL
) SWIG_fail
;
29253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29257 if (!wxPyCheckForApp()) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= wxPyMake_wxObject(result
, 0);
29281 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxWindow
*arg1
= (wxWindow
*) 0 ;
29284 unsigned long arg2
;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "parent",(char *) "_hWnd", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29295 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= wxPyMake_wxObject(result
, 0);
29313 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxValidator
*result
;
29316 char *kwnames
[] = {
29320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 result
= (wxValidator
*)new wxValidator();
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29335 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
;
29337 wxValidator
*arg1
= (wxValidator
*) 0 ;
29338 wxValidator
*result
;
29339 PyObject
* obj0
= 0 ;
29340 char *kwnames
[] = {
29341 (char *) "self", NULL
29344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (wxValidator
*)(arg1
)->Clone();
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= wxPyMake_wxObject(result
, 0);
29363 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxValidator
*arg1
= (wxValidator
*) 0 ;
29366 wxWindow
*arg2
= (wxWindow
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char *kwnames
[] = {
29371 (char *) "self",(char *) "parent", NULL
29374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 result
= (bool)(arg1
)->Validate(arg2
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29395 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
;
29397 wxValidator
*arg1
= (wxValidator
*) 0 ;
29399 PyObject
* obj0
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "self", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (bool)(arg1
)->TransferToWindow();
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29423 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxValidator
*arg1
= (wxValidator
*) 0 ;
29427 PyObject
* obj0
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (bool)(arg1
)->TransferFromWindow();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxValidator
*arg1
= (wxValidator
*) 0 ;
29455 PyObject
* obj0
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "self", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (wxWindow
*)(arg1
)->GetWindow();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= wxPyMake_wxObject(result
, 0);
29479 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
;
29481 wxValidator
*arg1
= (wxValidator
*) 0 ;
29482 wxWindow
*arg2
= (wxWindow
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 PyObject
* obj1
= 0 ;
29485 char *kwnames
[] = {
29486 (char *) "self",(char *) "window", NULL
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 (arg1
)->SetWindow(arg2
);
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29501 Py_INCREF(Py_None
); resultobj
= Py_None
;
29508 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29511 char *kwnames
[] = {
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29518 result
= (bool)wxValidator::IsSilent();
29520 wxPyEndAllowThreads(__tstate
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29532 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 int arg1
= (int) true ;
29535 PyObject
* obj0
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "doIt", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29542 arg1
= (int)SWIG_As_int(obj0
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 wxValidator::SetBellOnError(arg1
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 Py_INCREF(Py_None
); resultobj
= Py_None
;
29559 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29562 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29564 return Py_BuildValue((char *)"");
29566 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
;
29568 wxPyValidator
*result
;
29569 char *kwnames
[] = {
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (wxPyValidator
*)new wxPyValidator();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29588 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
;
29590 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29591 PyObject
*arg2
= (PyObject
*) 0 ;
29592 PyObject
*arg3
= (PyObject
*) 0 ;
29593 int arg4
= (int) true ;
29594 PyObject
* obj0
= 0 ;
29595 PyObject
* obj1
= 0 ;
29596 PyObject
* obj2
= 0 ;
29597 PyObject
* obj3
= 0 ;
29598 char *kwnames
[] = {
29599 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29608 arg4
= (int)SWIG_As_int(obj3
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 Py_INCREF(Py_None
); resultobj
= Py_None
;
29625 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29628 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29630 return Py_BuildValue((char *)"");
29632 static int _wrap_DefaultValidator_set(PyObject
*) {
29633 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29638 static PyObject
*_wrap_DefaultValidator_get() {
29641 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29646 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
;
29648 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29649 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29650 long arg2
= (long) 0 ;
29652 bool temp1
= false ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "title",(char *) "style", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29662 arg1
= wxString_in_helper(obj0
);
29663 if (arg1
== NULL
) SWIG_fail
;
29668 arg2
= (long)SWIG_As_long(obj1
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29672 if (!wxPyCheckForApp()) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29694 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
;
29696 wxMenu
*arg1
= (wxMenu
*) 0 ;
29698 wxString
*arg3
= 0 ;
29699 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29700 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29701 int arg5
= (int) wxITEM_NORMAL
;
29702 wxMenuItem
*result
;
29703 bool temp3
= false ;
29704 bool temp4
= false ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 PyObject
* obj2
= 0 ;
29708 PyObject
* obj3
= 0 ;
29709 PyObject
* obj4
= 0 ;
29710 char *kwnames
[] = {
29711 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29717 arg2
= (int)SWIG_As_int(obj1
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29720 arg3
= wxString_in_helper(obj2
);
29721 if (arg3
== NULL
) SWIG_fail
;
29726 arg4
= wxString_in_helper(obj3
);
29727 if (arg4
== NULL
) SWIG_fail
;
29732 arg5
= (int)SWIG_As_int(obj4
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= wxPyMake_wxObject(result
, 0);
29767 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxMenu
*arg1
= (wxMenu
*) 0 ;
29770 wxMenuItem
*result
;
29771 PyObject
* obj0
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= wxPyMake_wxObject(result
, 0);
29795 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
;
29797 wxMenu
*arg1
= (wxMenu
*) 0 ;
29799 wxString
*arg3
= 0 ;
29800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29802 wxMenuItem
*result
;
29803 bool temp3
= false ;
29804 bool temp4
= false ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 PyObject
* obj2
= 0 ;
29808 PyObject
* obj3
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29816 arg2
= (int)SWIG_As_int(obj1
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 arg3
= wxString_in_helper(obj2
);
29820 if (arg3
== NULL
) SWIG_fail
;
29825 arg4
= wxString_in_helper(obj3
);
29826 if (arg4
== NULL
) SWIG_fail
;
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= wxPyMake_wxObject(result
, 0);
29862 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxMenu
*arg1
= (wxMenu
*) 0 ;
29866 wxString
*arg3
= 0 ;
29867 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29869 wxMenuItem
*result
;
29870 bool temp3
= false ;
29871 bool temp4
= false ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 PyObject
* obj3
= 0 ;
29876 char *kwnames
[] = {
29877 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29883 arg2
= (int)SWIG_As_int(obj1
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 arg3
= wxString_in_helper(obj2
);
29887 if (arg3
== NULL
) SWIG_fail
;
29892 arg4
= wxString_in_helper(obj3
);
29893 if (arg4
== NULL
) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= wxPyMake_wxObject(result
, 0);
29929 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
;
29931 wxMenu
*arg1
= (wxMenu
*) 0 ;
29933 wxString
*arg3
= 0 ;
29934 wxMenu
*arg4
= (wxMenu
*) 0 ;
29935 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29936 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29937 wxMenuItem
*result
;
29938 bool temp3
= false ;
29939 bool temp5
= false ;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 PyObject
* obj2
= 0 ;
29943 PyObject
* obj3
= 0 ;
29944 PyObject
* obj4
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 arg2
= (int)SWIG_As_int(obj1
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29955 arg3
= wxString_in_helper(obj2
);
29956 if (arg3
== NULL
) SWIG_fail
;
29959 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29963 arg5
= wxString_in_helper(obj4
);
29964 if (arg5
== NULL
) SWIG_fail
;
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= wxPyMake_wxObject(result
, 0);
30000 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
;
30002 wxMenu
*arg1
= (wxMenu
*) 0 ;
30003 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30004 wxMenuItem
*result
;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 char *kwnames
[] = {
30008 (char *) "self",(char *) "item", NULL
30011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= wxPyMake_wxObject(result
, 0);
30032 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxMenu
*arg1
= (wxMenu
*) 0 ;
30035 PyObject
* obj0
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "self", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
30041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 Py_INCREF(Py_None
); resultobj
= Py_None
;
30057 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
;
30059 wxMenu
*arg1
= (wxMenu
*) 0 ;
30061 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
30062 wxMenuItem
*result
;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 PyObject
* obj2
= 0 ;
30066 char *kwnames
[] = {
30067 (char *) "self",(char *) "pos",(char *) "item", NULL
30070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30073 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30075 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
30076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= wxPyMake_wxObject(result
, 0);
30093 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxMenu
*arg1
= (wxMenu
*) 0 ;
30098 wxString
*arg4
= 0 ;
30099 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30100 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30101 int arg6
= (int) wxITEM_NORMAL
;
30102 wxMenuItem
*result
;
30103 bool temp4
= false ;
30104 bool temp5
= false ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 PyObject
* obj2
= 0 ;
30108 PyObject
* obj3
= 0 ;
30109 PyObject
* obj4
= 0 ;
30110 PyObject
* obj5
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30118 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30120 arg3
= (int)SWIG_As_int(obj2
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 arg4
= wxString_in_helper(obj3
);
30124 if (arg4
== NULL
) SWIG_fail
;
30129 arg5
= wxString_in_helper(obj4
);
30130 if (arg5
== NULL
) SWIG_fail
;
30135 arg6
= (int)SWIG_As_int(obj5
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30146 resultobj
= wxPyMake_wxObject(result
, 0);
30170 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxMenu
*arg1
= (wxMenu
*) 0 ;
30174 wxMenuItem
*result
;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "pos", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= wxPyMake_wxObject(result
, 0);
30202 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
;
30204 wxMenu
*arg1
= (wxMenu
*) 0 ;
30207 wxString
*arg4
= 0 ;
30208 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30209 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30210 wxMenuItem
*result
;
30211 bool temp4
= false ;
30212 bool temp5
= false ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 PyObject
* obj2
= 0 ;
30216 PyObject
* obj3
= 0 ;
30217 PyObject
* obj4
= 0 ;
30218 char *kwnames
[] = {
30219 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30225 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30227 arg3
= (int)SWIG_As_int(obj2
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 arg4
= wxString_in_helper(obj3
);
30231 if (arg4
== NULL
) SWIG_fail
;
30236 arg5
= wxString_in_helper(obj4
);
30237 if (arg5
== NULL
) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= wxPyMake_wxObject(result
, 0);
30273 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
;
30275 wxMenu
*arg1
= (wxMenu
*) 0 ;
30278 wxString
*arg4
= 0 ;
30279 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30280 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30281 wxMenuItem
*result
;
30282 bool temp4
= false ;
30283 bool temp5
= false ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 PyObject
* obj3
= 0 ;
30288 PyObject
* obj4
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30296 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30298 arg3
= (int)SWIG_As_int(obj2
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 arg4
= wxString_in_helper(obj3
);
30302 if (arg4
== NULL
) SWIG_fail
;
30307 arg5
= wxString_in_helper(obj4
);
30308 if (arg5
== NULL
) SWIG_fail
;
30313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30314 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30320 resultobj
= wxPyMake_wxObject(result
, 0);
30344 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
;
30346 wxMenu
*arg1
= (wxMenu
*) 0 ;
30349 wxString
*arg4
= 0 ;
30350 wxMenu
*arg5
= (wxMenu
*) 0 ;
30351 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30352 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30353 wxMenuItem
*result
;
30354 bool temp4
= false ;
30355 bool temp6
= false ;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 PyObject
* obj2
= 0 ;
30359 PyObject
* obj3
= 0 ;
30360 PyObject
* obj4
= 0 ;
30361 PyObject
* obj5
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30371 arg3
= (int)SWIG_As_int(obj2
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30374 arg4
= wxString_in_helper(obj3
);
30375 if (arg4
== NULL
) SWIG_fail
;
30378 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30382 arg6
= wxString_in_helper(obj5
);
30383 if (arg6
== NULL
) SWIG_fail
;
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= wxPyMake_wxObject(result
, 0);
30419 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxMenu
*arg1
= (wxMenu
*) 0 ;
30422 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30423 wxMenuItem
*result
;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char *kwnames
[] = {
30427 (char *) "self",(char *) "item", NULL
30430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= wxPyMake_wxObject(result
, 0);
30451 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxMenu
*arg1
= (wxMenu
*) 0 ;
30455 wxString
*arg3
= 0 ;
30456 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30457 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30458 int arg5
= (int) wxITEM_NORMAL
;
30459 wxMenuItem
*result
;
30460 bool temp3
= false ;
30461 bool temp4
= false ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 PyObject
* obj2
= 0 ;
30465 PyObject
* obj3
= 0 ;
30466 PyObject
* obj4
= 0 ;
30467 char *kwnames
[] = {
30468 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30474 arg2
= (int)SWIG_As_int(obj1
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 arg3
= wxString_in_helper(obj2
);
30478 if (arg3
== NULL
) SWIG_fail
;
30483 arg4
= wxString_in_helper(obj3
);
30484 if (arg4
== NULL
) SWIG_fail
;
30489 arg5
= (int)SWIG_As_int(obj4
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= wxPyMake_wxObject(result
, 0);
30524 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
;
30526 wxMenu
*arg1
= (wxMenu
*) 0 ;
30527 wxMenuItem
*result
;
30528 PyObject
* obj0
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "self", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= wxPyMake_wxObject(result
, 0);
30552 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxMenu
*arg1
= (wxMenu
*) 0 ;
30556 wxString
*arg3
= 0 ;
30557 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30558 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30559 wxMenuItem
*result
;
30560 bool temp3
= false ;
30561 bool temp4
= false ;
30562 PyObject
* obj0
= 0 ;
30563 PyObject
* obj1
= 0 ;
30564 PyObject
* obj2
= 0 ;
30565 PyObject
* obj3
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 arg2
= (int)SWIG_As_int(obj1
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 arg3
= wxString_in_helper(obj2
);
30577 if (arg3
== NULL
) SWIG_fail
;
30582 arg4
= wxString_in_helper(obj3
);
30583 if (arg4
== NULL
) SWIG_fail
;
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= wxPyMake_wxObject(result
, 0);
30619 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxMenu
*arg1
= (wxMenu
*) 0 ;
30623 wxString
*arg3
= 0 ;
30624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30626 wxMenuItem
*result
;
30627 bool temp3
= false ;
30628 bool temp4
= false ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 PyObject
* obj2
= 0 ;
30632 PyObject
* obj3
= 0 ;
30633 char *kwnames
[] = {
30634 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30640 arg2
= (int)SWIG_As_int(obj1
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 arg3
= wxString_in_helper(obj2
);
30644 if (arg3
== NULL
) SWIG_fail
;
30649 arg4
= wxString_in_helper(obj3
);
30650 if (arg4
== NULL
) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= wxPyMake_wxObject(result
, 0);
30686 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
;
30688 wxMenu
*arg1
= (wxMenu
*) 0 ;
30690 wxString
*arg3
= 0 ;
30691 wxMenu
*arg4
= (wxMenu
*) 0 ;
30692 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30693 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30694 wxMenuItem
*result
;
30695 bool temp3
= false ;
30696 bool temp5
= false ;
30697 PyObject
* obj0
= 0 ;
30698 PyObject
* obj1
= 0 ;
30699 PyObject
* obj2
= 0 ;
30700 PyObject
* obj3
= 0 ;
30701 PyObject
* obj4
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg3
= wxString_in_helper(obj2
);
30713 if (arg3
== NULL
) SWIG_fail
;
30716 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30720 arg5
= wxString_in_helper(obj4
);
30721 if (arg5
== NULL
) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= wxPyMake_wxObject(result
, 0);
30757 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30759 wxMenu
*arg1
= (wxMenu
*) 0 ;
30761 wxMenuItem
*result
;
30762 PyObject
* obj0
= 0 ;
30763 PyObject
* obj1
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self",(char *) "id", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30771 arg2
= (int)SWIG_As_int(obj1
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= wxPyMake_wxObject(result
, 0);
30789 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxMenu
*arg1
= (wxMenu
*) 0 ;
30792 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30793 wxMenuItem
*result
;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 char *kwnames
[] = {
30797 (char *) "self",(char *) "item", NULL
30800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= wxPyMake_wxObject(result
, 0);
30821 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxMenu
*arg1
= (wxMenu
*) 0 ;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 char *kwnames
[] = {
30829 (char *) "self",(char *) "id", NULL
30832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30835 arg2
= (int)SWIG_As_int(obj1
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 result
= (bool)(arg1
)->Delete(arg2
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30853 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
;
30855 wxMenu
*arg1
= (wxMenu
*) 0 ;
30856 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 char *kwnames
[] = {
30861 (char *) "self",(char *) "item", NULL
30864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 result
= (bool)(arg1
)->Delete(arg2
);
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30885 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30886 PyObject
*resultobj
;
30887 wxMenu
*arg1
= (wxMenu
*) 0 ;
30888 PyObject
* obj0
= 0 ;
30889 char *kwnames
[] = {
30890 (char *) "self", NULL
30893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 wxMenu_Destroy(arg1
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 Py_INCREF(Py_None
); resultobj
= Py_None
;
30910 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 wxMenu
*arg1
= (wxMenu
*) 0 ;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 char *kwnames
[] = {
30918 (char *) "self",(char *) "id", NULL
30921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30924 arg2
= (int)SWIG_As_int(obj1
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (bool)(arg1
)->Destroy(arg2
);
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30942 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
;
30944 wxMenu
*arg1
= (wxMenu
*) 0 ;
30945 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 char *kwnames
[] = {
30950 (char *) "self",(char *) "item", NULL
30953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 result
= (bool)(arg1
)->Destroy(arg2
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30974 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
;
30976 wxMenu
*arg1
= (wxMenu
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31000 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
;
31002 wxMenu
*arg1
= (wxMenu
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 char *kwnames
[] = {
31006 (char *) "self", NULL
31009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
31010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= result
;
31026 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
;
31028 wxMenu
*arg1
= (wxMenu
*) 0 ;
31029 wxString
*arg2
= 0 ;
31031 bool temp2
= false ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 char *kwnames
[] = {
31035 (char *) "self",(char *) "item", NULL
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31042 arg2
= wxString_in_helper(obj1
);
31043 if (arg2
== NULL
) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_From_int((int)result
);
31068 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
;
31070 wxMenu
*arg1
= (wxMenu
*) 0 ;
31072 wxMenuItem
*result
;
31073 PyObject
* obj0
= 0 ;
31074 PyObject
* obj1
= 0 ;
31075 char *kwnames
[] = {
31076 (char *) "self",(char *) "id", NULL
31079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31082 arg2
= (int)SWIG_As_int(obj1
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= wxPyMake_wxObject(result
, 0);
31100 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxMenu
*arg1
= (wxMenu
*) 0 ;
31104 wxMenuItem
*result
;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self",(char *) "position", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
31112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31114 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31118 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
31120 wxPyEndAllowThreads(__tstate
);
31121 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= wxPyMake_wxObject(result
, 0);
31132 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31133 PyObject
*resultobj
;
31134 wxMenu
*arg1
= (wxMenu
*) 0 ;
31137 PyObject
* obj0
= 0 ;
31138 PyObject
* obj1
= 0 ;
31139 PyObject
* obj2
= 0 ;
31140 char *kwnames
[] = {
31141 (char *) "self",(char *) "id",(char *) "enable", NULL
31144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31147 arg2
= (int)SWIG_As_int(obj1
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31149 arg3
= (bool)SWIG_As_bool(obj2
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31153 (arg1
)->Enable(arg2
,arg3
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31158 Py_INCREF(Py_None
); resultobj
= Py_None
;
31165 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
;
31167 wxMenu
*arg1
= (wxMenu
*) 0 ;
31170 PyObject
* obj0
= 0 ;
31171 PyObject
* obj1
= 0 ;
31172 char *kwnames
[] = {
31173 (char *) "self",(char *) "id", NULL
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31179 arg2
= (int)SWIG_As_int(obj1
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31197 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
;
31199 wxMenu
*arg1
= (wxMenu
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 PyObject
* obj2
= 0 ;
31205 char *kwnames
[] = {
31206 (char *) "self",(char *) "id",(char *) "check", NULL
31209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31212 arg2
= (int)SWIG_As_int(obj1
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31214 arg3
= (bool)SWIG_As_bool(obj2
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 (arg1
)->Check(arg2
,arg3
);
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 Py_INCREF(Py_None
); resultobj
= Py_None
;
31230 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
;
31232 wxMenu
*arg1
= (wxMenu
*) 0 ;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 char *kwnames
[] = {
31238 (char *) "self",(char *) "id", NULL
31241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31244 arg2
= (int)SWIG_As_int(obj1
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31262 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxMenu
*arg1
= (wxMenu
*) 0 ;
31266 wxString
*arg3
= 0 ;
31267 bool temp3
= false ;
31268 PyObject
* obj0
= 0 ;
31269 PyObject
* obj1
= 0 ;
31270 PyObject
* obj2
= 0 ;
31271 char *kwnames
[] = {
31272 (char *) "self",(char *) "id",(char *) "label", NULL
31275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31278 arg2
= (int)SWIG_As_int(obj1
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 arg3
= wxString_in_helper(obj2
);
31282 if (arg3
== NULL
) SWIG_fail
;
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 Py_INCREF(Py_None
); resultobj
= Py_None
;
31307 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxMenu
*arg1
= (wxMenu
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "self",(char *) "id", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31321 arg2
= (int)SWIG_As_int(obj1
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31343 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
;
31345 wxMenu
*arg1
= (wxMenu
*) 0 ;
31347 wxString
*arg3
= 0 ;
31348 bool temp3
= false ;
31349 PyObject
* obj0
= 0 ;
31350 PyObject
* obj1
= 0 ;
31351 PyObject
* obj2
= 0 ;
31352 char *kwnames
[] = {
31353 (char *) "self",(char *) "id",(char *) "helpString", NULL
31356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31359 arg2
= (int)SWIG_As_int(obj1
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31362 arg3
= wxString_in_helper(obj2
);
31363 if (arg3
== NULL
) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 Py_INCREF(Py_None
); resultobj
= Py_None
;
31388 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
;
31390 wxMenu
*arg1
= (wxMenu
*) 0 ;
31393 PyObject
* obj0
= 0 ;
31394 PyObject
* obj1
= 0 ;
31395 char *kwnames
[] = {
31396 (char *) "self",(char *) "id", NULL
31399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31402 arg2
= (int)SWIG_As_int(obj1
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31424 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
;
31426 wxMenu
*arg1
= (wxMenu
*) 0 ;
31427 wxString
*arg2
= 0 ;
31428 bool temp2
= false ;
31429 PyObject
* obj0
= 0 ;
31430 PyObject
* obj1
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self",(char *) "title", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31439 arg2
= wxString_in_helper(obj1
);
31440 if (arg2
== NULL
) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 (arg1
)->SetTitle((wxString
const &)*arg2
);
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31450 Py_INCREF(Py_None
); resultobj
= Py_None
;
31465 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
;
31467 wxMenu
*arg1
= (wxMenu
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 result
= ((wxMenu
const *)arg1
)->GetTitle();
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31497 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxMenu
*arg1
= (wxMenu
*) 0 ;
31500 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "handler", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 (arg1
)->SetEventHandler(arg2
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31519 Py_INCREF(Py_None
); resultobj
= Py_None
;
31526 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
;
31528 wxMenu
*arg1
= (wxMenu
*) 0 ;
31529 wxEvtHandler
*result
;
31530 PyObject
* obj0
= 0 ;
31531 char *kwnames
[] = {
31532 (char *) "self", NULL
31535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31542 wxPyEndAllowThreads(__tstate
);
31543 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= wxPyMake_wxObject(result
, 0);
31554 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxMenu
*arg1
= (wxMenu
*) 0 ;
31557 wxWindow
*arg2
= (wxWindow
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self",(char *) "win", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 (arg1
)->SetInvokingWindow(arg2
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31576 Py_INCREF(Py_None
); resultobj
= Py_None
;
31583 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31584 PyObject
*resultobj
;
31585 wxMenu
*arg1
= (wxMenu
*) 0 ;
31587 PyObject
* obj0
= 0 ;
31588 char *kwnames
[] = {
31589 (char *) "self", NULL
31592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31599 wxPyEndAllowThreads(__tstate
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= wxPyMake_wxObject(result
, 0);
31611 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31612 PyObject
*resultobj
;
31613 wxMenu
*arg1
= (wxMenu
*) 0 ;
31615 PyObject
* obj0
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "self", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= SWIG_From_long((long)result
);
31637 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31638 PyObject
*resultobj
;
31639 wxMenu
*arg1
= (wxMenu
*) 0 ;
31640 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31641 PyObject
* obj0
= 0 ;
31642 PyObject
* obj1
= 0 ;
31643 char *kwnames
[] = {
31644 (char *) "self",(char *) "source", NULL
31647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 (arg1
)->UpdateUI(arg2
);
31658 wxPyEndAllowThreads(__tstate
);
31659 if (PyErr_Occurred()) SWIG_fail
;
31661 Py_INCREF(Py_None
); resultobj
= Py_None
;
31668 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31669 PyObject
*resultobj
;
31670 wxMenu
*arg1
= (wxMenu
*) 0 ;
31672 PyObject
* obj0
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= wxPyMake_wxObject(result
, 0);
31696 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
;
31698 wxMenu
*arg1
= (wxMenu
*) 0 ;
31699 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31700 PyObject
* obj0
= 0 ;
31701 PyObject
* obj1
= 0 ;
31702 char *kwnames
[] = {
31703 (char *) "self",(char *) "menubar", NULL
31706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 (arg1
)->Attach(arg2
);
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31718 Py_INCREF(Py_None
); resultobj
= Py_None
;
31725 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31726 PyObject
*resultobj
;
31727 wxMenu
*arg1
= (wxMenu
*) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 char *kwnames
[] = {
31730 (char *) "self", NULL
31733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 wxPyEndAllowThreads(__tstate
);
31741 if (PyErr_Occurred()) SWIG_fail
;
31743 Py_INCREF(Py_None
); resultobj
= Py_None
;
31750 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31751 PyObject
*resultobj
;
31752 wxMenu
*arg1
= (wxMenu
*) 0 ;
31754 PyObject
* obj0
= 0 ;
31755 char *kwnames
[] = {
31756 (char *) "self", NULL
31759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31778 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31779 PyObject
*resultobj
;
31780 wxMenu
*arg1
= (wxMenu
*) 0 ;
31781 wxMenu
*arg2
= (wxMenu
*) 0 ;
31782 PyObject
* obj0
= 0 ;
31783 PyObject
* obj1
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self",(char *) "parent", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->SetParent(arg2
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 Py_INCREF(Py_None
); resultobj
= Py_None
;
31807 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxMenu
*arg1
= (wxMenu
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 char *kwnames
[] = {
31813 (char *) "self", NULL
31816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31821 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31823 wxPyEndAllowThreads(__tstate
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31827 resultobj
= wxPyMake_wxObject(result
, 0);
31835 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31838 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31840 return Py_BuildValue((char *)"");
31842 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
;
31844 long arg1
= (long) 0 ;
31846 PyObject
* obj0
= 0 ;
31847 char *kwnames
[] = {
31848 (char *) "style", NULL
31851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31853 arg1
= (long)SWIG_As_long(obj0
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31857 if (!wxPyCheckForApp()) SWIG_fail
;
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31871 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31872 PyObject
*resultobj
;
31873 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31874 wxMenu
*arg2
= (wxMenu
*) 0 ;
31875 wxString
*arg3
= 0 ;
31877 bool temp3
= false ;
31878 PyObject
* obj0
= 0 ;
31879 PyObject
* obj1
= 0 ;
31880 PyObject
* obj2
= 0 ;
31881 char *kwnames
[] = {
31882 (char *) "self",(char *) "menu",(char *) "title", NULL
31885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31891 arg3
= wxString_in_helper(obj2
);
31892 if (arg3
== NULL
) SWIG_fail
;
31896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31897 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31899 wxPyEndAllowThreads(__tstate
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31919 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
;
31921 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31923 wxMenu
*arg3
= (wxMenu
*) 0 ;
31924 wxString
*arg4
= 0 ;
31926 bool temp4
= false ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 PyObject
* obj2
= 0 ;
31930 PyObject
* obj3
= 0 ;
31931 char *kwnames
[] = {
31932 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31938 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31940 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31943 arg4
= wxString_in_helper(obj3
);
31944 if (arg4
== NULL
) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31971 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31975 PyObject
* obj0
= 0 ;
31976 char *kwnames
[] = {
31977 (char *) "self", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31997 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31998 PyObject
*resultobj
;
31999 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 PyObject
* obj1
= 0 ;
32004 char *kwnames
[] = {
32005 (char *) "self",(char *) "pos", NULL
32008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32011 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
32017 wxPyEndAllowThreads(__tstate
);
32018 if (PyErr_Occurred()) SWIG_fail
;
32021 resultobj
= wxPyMake_wxObject(result
, 0);
32029 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
;
32031 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32033 wxMenu
*arg3
= (wxMenu
*) 0 ;
32034 wxString
*arg4
= 0 ;
32036 bool temp4
= false ;
32037 PyObject
* obj0
= 0 ;
32038 PyObject
* obj1
= 0 ;
32039 PyObject
* obj2
= 0 ;
32040 PyObject
* obj3
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32048 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32050 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
32051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32053 arg4
= wxString_in_helper(obj3
);
32054 if (arg4
== NULL
) SWIG_fail
;
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
32061 wxPyEndAllowThreads(__tstate
);
32062 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= wxPyMake_wxObject(result
, 0);
32081 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32082 PyObject
*resultobj
;
32083 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 char *kwnames
[] = {
32089 (char *) "self",(char *) "pos", NULL
32092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32095 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= wxPyMake_wxObject(result
, 0);
32113 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32114 PyObject
*resultobj
;
32115 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32118 PyObject
* obj0
= 0 ;
32119 PyObject
* obj1
= 0 ;
32120 PyObject
* obj2
= 0 ;
32121 char *kwnames
[] = {
32122 (char *) "self",(char *) "pos",(char *) "enable", NULL
32125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32128 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32130 arg3
= (bool)SWIG_As_bool(obj2
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 (arg1
)->EnableTop(arg2
,arg3
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 Py_INCREF(Py_None
); resultobj
= Py_None
;
32146 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
;
32148 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32151 PyObject
* obj0
= 0 ;
32152 PyObject
* obj1
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self",(char *) "pos", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32160 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32178 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32182 wxString
*arg3
= 0 ;
32183 bool temp3
= false ;
32184 PyObject
* obj0
= 0 ;
32185 PyObject
* obj1
= 0 ;
32186 PyObject
* obj2
= 0 ;
32187 char *kwnames
[] = {
32188 (char *) "self",(char *) "pos",(char *) "label", NULL
32191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32194 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32197 arg3
= wxString_in_helper(obj2
);
32198 if (arg3
== NULL
) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32208 Py_INCREF(Py_None
); resultobj
= Py_None
;
32223 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
;
32225 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 char *kwnames
[] = {
32231 (char *) "self",(char *) "pos", NULL
32234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32237 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32243 wxPyEndAllowThreads(__tstate
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32259 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
;
32261 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32262 wxString
*arg2
= 0 ;
32263 wxString
*arg3
= 0 ;
32265 bool temp2
= false ;
32266 bool temp3
= false ;
32267 PyObject
* obj0
= 0 ;
32268 PyObject
* obj1
= 0 ;
32269 PyObject
* obj2
= 0 ;
32270 char *kwnames
[] = {
32271 (char *) "self",(char *) "menu",(char *) "item", NULL
32274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32278 arg2
= wxString_in_helper(obj1
);
32279 if (arg2
== NULL
) SWIG_fail
;
32283 arg3
= wxString_in_helper(obj2
);
32284 if (arg3
== NULL
) SWIG_fail
;
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= SWIG_From_int((int)result
);
32317 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
;
32319 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32321 wxMenuItem
*result
;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 char *kwnames
[] = {
32325 (char *) "self",(char *) "id", NULL
32328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32331 arg2
= (int)SWIG_As_int(obj1
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= wxPyMake_wxObject(result
, 0);
32349 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
;
32351 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32352 wxString
*arg2
= 0 ;
32354 bool temp2
= false ;
32355 PyObject
* obj0
= 0 ;
32356 PyObject
* obj1
= 0 ;
32357 char *kwnames
[] = {
32358 (char *) "self",(char *) "title", NULL
32361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32365 arg2
= wxString_in_helper(obj1
);
32366 if (arg2
== NULL
) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 resultobj
= SWIG_From_int((int)result
);
32391 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32392 PyObject
*resultobj
;
32393 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32396 PyObject
* obj0
= 0 ;
32397 PyObject
* obj1
= 0 ;
32398 PyObject
* obj2
= 0 ;
32399 char *kwnames
[] = {
32400 (char *) "self",(char *) "id",(char *) "enable", NULL
32403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32406 arg2
= (int)SWIG_As_int(obj1
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32408 arg3
= (bool)SWIG_As_bool(obj2
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 (arg1
)->Enable(arg2
,arg3
);
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 Py_INCREF(Py_None
); resultobj
= Py_None
;
32424 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32425 PyObject
*resultobj
;
32426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 PyObject
* obj1
= 0 ;
32431 PyObject
* obj2
= 0 ;
32432 char *kwnames
[] = {
32433 (char *) "self",(char *) "id",(char *) "check", NULL
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32439 arg2
= (int)SWIG_As_int(obj1
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32441 arg3
= (bool)SWIG_As_bool(obj2
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 (arg1
)->Check(arg2
,arg3
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 Py_INCREF(Py_None
); resultobj
= Py_None
;
32457 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
;
32459 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32462 PyObject
* obj0
= 0 ;
32463 PyObject
* obj1
= 0 ;
32464 char *kwnames
[] = {
32465 (char *) "self",(char *) "id", NULL
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32471 arg2
= (int)SWIG_As_int(obj1
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32489 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
;
32491 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32494 PyObject
* obj0
= 0 ;
32495 PyObject
* obj1
= 0 ;
32496 char *kwnames
[] = {
32497 (char *) "self",(char *) "id", NULL
32500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32503 arg2
= (int)SWIG_As_int(obj1
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32521 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32525 wxString
*arg3
= 0 ;
32526 bool temp3
= false ;
32527 PyObject
* obj0
= 0 ;
32528 PyObject
* obj1
= 0 ;
32529 PyObject
* obj2
= 0 ;
32530 char *kwnames
[] = {
32531 (char *) "self",(char *) "id",(char *) "label", NULL
32534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32537 arg2
= (int)SWIG_As_int(obj1
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32540 arg3
= wxString_in_helper(obj2
);
32541 if (arg3
== NULL
) SWIG_fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 Py_INCREF(Py_None
); resultobj
= Py_None
;
32566 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
;
32568 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32571 PyObject
* obj0
= 0 ;
32572 PyObject
* obj1
= 0 ;
32573 char *kwnames
[] = {
32574 (char *) "self",(char *) "id", NULL
32577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32580 arg2
= (int)SWIG_As_int(obj1
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32602 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
;
32604 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32606 wxString
*arg3
= 0 ;
32607 bool temp3
= false ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 PyObject
* obj2
= 0 ;
32611 char *kwnames
[] = {
32612 (char *) "self",(char *) "id",(char *) "helpString", NULL
32615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32618 arg2
= (int)SWIG_As_int(obj1
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32621 arg3
= wxString_in_helper(obj2
);
32622 if (arg3
== NULL
) SWIG_fail
;
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32632 Py_INCREF(Py_None
); resultobj
= Py_None
;
32647 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32648 PyObject
*resultobj
;
32649 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char *kwnames
[] = {
32655 (char *) "self",(char *) "id", NULL
32658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32661 arg2
= (int)SWIG_As_int(obj1
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32667 wxPyEndAllowThreads(__tstate
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32683 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32684 PyObject
*resultobj
;
32685 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32687 PyObject
* obj0
= 0 ;
32688 char *kwnames
[] = {
32689 (char *) "self", NULL
32692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= wxPyMake_wxObject(result
, 0);
32711 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32715 PyObject
* obj0
= 0 ;
32716 char *kwnames
[] = {
32717 (char *) "self", NULL
32720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32739 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32742 wxFrame
*arg2
= (wxFrame
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char *kwnames
[] = {
32746 (char *) "self",(char *) "frame", NULL
32749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 (arg1
)->Attach(arg2
);
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32761 Py_INCREF(Py_None
); resultobj
= Py_None
;
32768 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
;
32770 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32771 PyObject
* obj0
= 0 ;
32772 char *kwnames
[] = {
32773 (char *) "self", NULL
32776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32786 Py_INCREF(Py_None
); resultobj
= Py_None
;
32793 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32796 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32798 return Py_BuildValue((char *)"");
32800 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32801 PyObject
*resultobj
;
32802 wxMenu
*arg1
= (wxMenu
*) NULL
;
32803 int arg2
= (int) wxID_ANY
;
32804 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32805 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32806 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32807 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32808 int arg5
= (int) wxITEM_NORMAL
;
32809 wxMenu
*arg6
= (wxMenu
*) NULL
;
32810 wxMenuItem
*result
;
32811 bool temp3
= false ;
32812 bool temp4
= false ;
32813 PyObject
* obj0
= 0 ;
32814 PyObject
* obj1
= 0 ;
32815 PyObject
* obj2
= 0 ;
32816 PyObject
* obj3
= 0 ;
32817 PyObject
* obj4
= 0 ;
32818 PyObject
* obj5
= 0 ;
32819 char *kwnames
[] = {
32820 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32829 arg2
= (int)SWIG_As_int(obj1
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32834 arg3
= wxString_in_helper(obj2
);
32835 if (arg3
== NULL
) SWIG_fail
;
32841 arg4
= wxString_in_helper(obj3
);
32842 if (arg4
== NULL
) SWIG_fail
;
32847 arg5
= (int)SWIG_As_int(obj4
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32851 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32862 resultobj
= wxPyMake_wxObject(result
, 1);
32886 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
;
32888 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32890 PyObject
* obj0
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= wxPyMake_wxObject(result
, 0);
32914 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32915 PyObject
*resultobj
;
32916 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32917 wxMenu
*arg2
= (wxMenu
*) 0 ;
32918 PyObject
* obj0
= 0 ;
32919 PyObject
* obj1
= 0 ;
32920 char *kwnames
[] = {
32921 (char *) "self",(char *) "menu", NULL
32924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 (arg1
)->SetMenu(arg2
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 Py_INCREF(Py_None
); resultobj
= Py_None
;
32943 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
;
32945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32947 PyObject
* obj0
= 0 ;
32948 PyObject
* obj1
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self",(char *) "id", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32956 arg2
= (int)SWIG_As_int(obj1
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->SetId(arg2
);
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32965 Py_INCREF(Py_None
); resultobj
= Py_None
;
32972 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 resultobj
= SWIG_From_int((int)result
);
32998 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
;
33000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33002 PyObject
* obj0
= 0 ;
33003 char *kwnames
[] = {
33004 (char *) "self", NULL
33007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
33008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33026 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33027 PyObject
*resultobj
;
33028 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33029 wxString
*arg2
= 0 ;
33030 bool temp2
= false ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 char *kwnames
[] = {
33034 (char *) "self",(char *) "str", NULL
33037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
33038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33041 arg2
= wxString_in_helper(obj1
);
33042 if (arg2
== NULL
) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 (arg1
)->SetText((wxString
const &)*arg2
);
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33052 Py_INCREF(Py_None
); resultobj
= Py_None
;
33067 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
;
33069 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33071 PyObject
* obj0
= 0 ;
33072 char *kwnames
[] = {
33073 (char *) "self", NULL
33076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
33077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33099 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
;
33101 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33103 PyObject
* obj0
= 0 ;
33104 char *kwnames
[] = {
33105 (char *) "self", NULL
33108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
33109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
33115 result
= (wxString
*) &_result_ref
;
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33134 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33135 PyObject
*resultobj
;
33136 wxString
*arg1
= 0 ;
33138 bool temp1
= false ;
33139 PyObject
* obj0
= 0 ;
33140 char *kwnames
[] = {
33141 (char *) "text", NULL
33144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33146 arg1
= wxString_in_helper(obj0
);
33147 if (arg1
== NULL
) SWIG_fail
;
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33152 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33154 wxPyEndAllowThreads(__tstate
);
33155 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33178 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33182 PyObject
* obj0
= 0 ;
33183 char *kwnames
[] = {
33184 (char *) "self", NULL
33187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= SWIG_From_int((int)result
);
33204 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33205 PyObject
*resultobj
;
33206 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33208 PyObject
* obj0
= 0 ;
33209 PyObject
* obj1
= 0 ;
33210 char *kwnames
[] = {
33211 (char *) "self",(char *) "kind", NULL
33214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33217 arg2
= (int)SWIG_As_int(obj1
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33221 (arg1
)->SetKind((wxItemKind
)arg2
);
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33226 Py_INCREF(Py_None
); resultobj
= Py_None
;
33233 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33234 PyObject
*resultobj
;
33235 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33237 PyObject
* obj0
= 0 ;
33238 PyObject
* obj1
= 0 ;
33239 char *kwnames
[] = {
33240 (char *) "self",(char *) "checkable", NULL
33243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33246 arg2
= (bool)SWIG_As_bool(obj1
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33250 (arg1
)->SetCheckable(arg2
);
33252 wxPyEndAllowThreads(__tstate
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 Py_INCREF(Py_None
); resultobj
= Py_None
;
33262 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33263 PyObject
*resultobj
;
33264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33266 PyObject
* obj0
= 0 ;
33267 char *kwnames
[] = {
33268 (char *) "self", NULL
33271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33290 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33291 PyObject
*resultobj
;
33292 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33294 PyObject
* obj0
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "self", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33318 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33319 PyObject
*resultobj
;
33320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33321 wxMenu
*arg2
= (wxMenu
*) 0 ;
33322 PyObject
* obj0
= 0 ;
33323 PyObject
* obj1
= 0 ;
33324 char *kwnames
[] = {
33325 (char *) "self",(char *) "menu", NULL
33328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33335 (arg1
)->SetSubMenu(arg2
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33340 Py_INCREF(Py_None
); resultobj
= Py_None
;
33347 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
;
33349 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33351 PyObject
* obj0
= 0 ;
33352 char *kwnames
[] = {
33353 (char *) "self", NULL
33356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= wxPyMake_wxObject(result
, 0);
33375 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
;
33377 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33378 bool arg2
= (bool) true ;
33379 PyObject
* obj0
= 0 ;
33380 PyObject
* obj1
= 0 ;
33381 char *kwnames
[] = {
33382 (char *) "self",(char *) "enable", NULL
33385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33389 arg2
= (bool)SWIG_As_bool(obj1
);
33390 if (PyErr_Occurred()) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 (arg1
)->Enable(arg2
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33399 Py_INCREF(Py_None
); resultobj
= Py_None
;
33406 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
;
33408 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33410 PyObject
* obj0
= 0 ;
33411 char *kwnames
[] = {
33412 (char *) "self", NULL
33415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33420 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33422 wxPyEndAllowThreads(__tstate
);
33423 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33434 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33435 PyObject
*resultobj
;
33436 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33437 bool arg2
= (bool) true ;
33438 PyObject
* obj0
= 0 ;
33439 PyObject
* obj1
= 0 ;
33440 char *kwnames
[] = {
33441 (char *) "self",(char *) "check", NULL
33444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33448 arg2
= (bool)SWIG_As_bool(obj1
);
33449 if (PyErr_Occurred()) SWIG_fail
;
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 (arg1
)->Check(arg2
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33458 Py_INCREF(Py_None
); resultobj
= Py_None
;
33465 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33466 PyObject
*resultobj
;
33467 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33469 PyObject
* obj0
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33493 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33494 PyObject
*resultobj
;
33495 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33496 PyObject
* obj0
= 0 ;
33497 char *kwnames
[] = {
33498 (char *) "self", NULL
33501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33511 Py_INCREF(Py_None
); resultobj
= Py_None
;
33518 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33521 wxString
*arg2
= 0 ;
33522 bool temp2
= false ;
33523 PyObject
* obj0
= 0 ;
33524 PyObject
* obj1
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "str", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33533 arg2
= wxString_in_helper(obj1
);
33534 if (arg2
== NULL
) SWIG_fail
;
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 (arg1
)->SetHelp((wxString
const &)*arg2
);
33541 wxPyEndAllowThreads(__tstate
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33544 Py_INCREF(Py_None
); resultobj
= Py_None
;
33559 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33560 PyObject
*resultobj
;
33561 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33563 PyObject
* obj0
= 0 ;
33564 char *kwnames
[] = {
33565 (char *) "self", NULL
33568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33575 result
= (wxString
*) &_result_ref
;
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33583 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33585 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33594 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
;
33596 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33597 wxAcceleratorEntry
*result
;
33598 PyObject
* obj0
= 0 ;
33599 char *kwnames
[] = {
33600 (char *) "self", NULL
33603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33610 wxPyEndAllowThreads(__tstate
);
33611 if (PyErr_Occurred()) SWIG_fail
;
33613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33620 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
;
33622 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33623 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33624 PyObject
* obj0
= 0 ;
33625 PyObject
* obj1
= 0 ;
33626 char *kwnames
[] = {
33627 (char *) "self",(char *) "accel", NULL
33630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 (arg1
)->SetAccel(arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 Py_INCREF(Py_None
); resultobj
= Py_None
;
33649 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
;
33652 char *kwnames
[] = {
33656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (int)MenuItem_GetDefaultMarginWidth();
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_From_int((int)result
);
33671 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33672 PyObject
*resultobj
;
33673 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33674 wxBitmap
*arg2
= 0 ;
33675 PyObject
* obj0
= 0 ;
33676 PyObject
* obj1
= 0 ;
33677 char *kwnames
[] = {
33678 (char *) "self",(char *) "bitmap", NULL
33681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33687 if (arg2
== NULL
) {
33688 PyErr_SetString(PyExc_TypeError
,"null reference");
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 Py_INCREF(Py_None
); resultobj
= Py_None
;
33705 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
;
33707 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33709 PyObject
* obj0
= 0 ;
33710 char *kwnames
[] = {
33711 (char *) "self", NULL
33714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33721 result
= (wxBitmap
*) &_result_ref
;
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33728 wxBitmap
* resultptr
= new wxBitmap(*result
);
33729 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33737 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33740 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33742 return Py_BuildValue((char *)"");
33744 static int _wrap_ControlNameStr_set(PyObject
*) {
33745 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33750 static PyObject
*_wrap_ControlNameStr_get() {
33755 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33757 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33764 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33765 PyObject
*resultobj
;
33766 wxWindow
*arg1
= (wxWindow
*) 0 ;
33767 int arg2
= (int) -1 ;
33768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33772 long arg5
= (long) 0 ;
33773 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33774 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33775 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33780 bool temp7
= false ;
33781 PyObject
* obj0
= 0 ;
33782 PyObject
* obj1
= 0 ;
33783 PyObject
* obj2
= 0 ;
33784 PyObject
* obj3
= 0 ;
33785 PyObject
* obj4
= 0 ;
33786 PyObject
* obj5
= 0 ;
33787 PyObject
* obj6
= 0 ;
33788 char *kwnames
[] = {
33789 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33796 arg2
= (int)SWIG_As_int(obj1
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33812 arg5
= (long)SWIG_As_long(obj4
);
33813 if (PyErr_Occurred()) SWIG_fail
;
33816 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33819 if (arg6
== NULL
) {
33820 PyErr_SetString(PyExc_TypeError
,"null reference");
33826 arg7
= wxString_in_helper(obj6
);
33827 if (arg7
== NULL
) SWIG_fail
;
33832 if (!wxPyCheckForApp()) SWIG_fail
;
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33836 wxPyEndAllowThreads(__tstate
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33854 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33855 PyObject
*resultobj
;
33857 char *kwnames
[] = {
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33863 if (!wxPyCheckForApp()) SWIG_fail
;
33864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33865 result
= (wxControl
*)new wxControl();
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33877 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33878 PyObject
*resultobj
;
33879 wxControl
*arg1
= (wxControl
*) 0 ;
33880 wxWindow
*arg2
= (wxWindow
*) 0 ;
33881 int arg3
= (int) -1 ;
33882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33886 long arg6
= (long) 0 ;
33887 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33888 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33889 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33890 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33894 bool temp8
= false ;
33895 PyObject
* obj0
= 0 ;
33896 PyObject
* obj1
= 0 ;
33897 PyObject
* obj2
= 0 ;
33898 PyObject
* obj3
= 0 ;
33899 PyObject
* obj4
= 0 ;
33900 PyObject
* obj5
= 0 ;
33901 PyObject
* obj6
= 0 ;
33902 PyObject
* obj7
= 0 ;
33903 char *kwnames
[] = {
33904 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33913 arg3
= (int)SWIG_As_int(obj2
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33929 arg6
= (long)SWIG_As_long(obj5
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33933 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33936 if (arg7
== NULL
) {
33937 PyErr_SetString(PyExc_TypeError
,"null reference");
33943 arg8
= wxString_in_helper(obj7
);
33944 if (arg8
== NULL
) SWIG_fail
;
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33972 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
;
33974 wxControl
*arg1
= (wxControl
*) 0 ;
33975 wxCommandEvent
*arg2
= 0 ;
33976 PyObject
* obj0
= 0 ;
33977 PyObject
* obj1
= 0 ;
33978 char *kwnames
[] = {
33979 (char *) "self",(char *) "event", NULL
33982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33988 if (arg2
== NULL
) {
33989 PyErr_SetString(PyExc_TypeError
,"null reference");
33993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 (arg1
)->Command(*arg2
);
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
33999 Py_INCREF(Py_None
); resultobj
= Py_None
;
34006 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34007 PyObject
*resultobj
;
34008 wxControl
*arg1
= (wxControl
*) 0 ;
34010 PyObject
* obj0
= 0 ;
34011 char *kwnames
[] = {
34012 (char *) "self", NULL
34015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 result
= (arg1
)->GetLabel();
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34038 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34039 PyObject
*resultobj
;
34040 wxControl
*arg1
= (wxControl
*) 0 ;
34041 wxString
*arg2
= 0 ;
34042 bool temp2
= false ;
34043 PyObject
* obj0
= 0 ;
34044 PyObject
* obj1
= 0 ;
34045 char *kwnames
[] = {
34046 (char *) "self",(char *) "label", NULL
34049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34053 arg2
= wxString_in_helper(obj1
);
34054 if (arg2
== NULL
) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 (arg1
)->SetLabel((wxString
const &)*arg2
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34064 Py_INCREF(Py_None
); resultobj
= Py_None
;
34079 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34080 PyObject
*resultobj
;
34081 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34082 wxVisualAttributes result
;
34083 PyObject
* obj0
= 0 ;
34084 char *kwnames
[] = {
34085 (char *) "variant", NULL
34088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34090 arg1
= (int)SWIG_As_int(obj0
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 if (!wxPyCheckForApp()) SWIG_fail
;
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34102 wxVisualAttributes
* resultptr
;
34103 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34112 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34115 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34117 return Py_BuildValue((char *)"");
34119 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34120 PyObject
*resultobj
;
34121 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34122 wxString
*arg2
= 0 ;
34123 PyObject
*arg3
= (PyObject
*) NULL
;
34125 bool temp2
= false ;
34126 PyObject
* obj0
= 0 ;
34127 PyObject
* obj1
= 0 ;
34128 PyObject
* obj2
= 0 ;
34129 char *kwnames
[] = {
34130 (char *) "self",(char *) "item",(char *) "clientData", NULL
34133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34137 arg2
= wxString_in_helper(obj1
);
34138 if (arg2
== NULL
) SWIG_fail
;
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_From_int((int)result
);
34166 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34168 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34169 wxArrayString
*arg2
= 0 ;
34170 bool temp2
= false ;
34171 PyObject
* obj0
= 0 ;
34172 PyObject
* obj1
= 0 ;
34173 char *kwnames
[] = {
34174 (char *) "self",(char *) "strings", NULL
34177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34181 if (! PySequence_Check(obj1
)) {
34182 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34185 arg2
= new wxArrayString
;
34187 int i
, len
=PySequence_Length(obj1
);
34188 for (i
=0; i
<len
; i
++) {
34189 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34191 PyObject
* str
= PyObject_Unicode(item
);
34193 PyObject
* str
= PyObject_Str(item
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34196 arg2
->Add(Py2wxString(str
));
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 (arg1
)->Append((wxArrayString
const &)*arg2
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 Py_INCREF(Py_None
); resultobj
= Py_None
;
34210 if (temp2
) delete arg2
;
34215 if (temp2
) delete arg2
;
34221 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34222 PyObject
*resultobj
;
34223 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34224 wxString
*arg2
= 0 ;
34226 PyObject
*arg4
= (PyObject
*) NULL
;
34228 bool temp2
= false ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 PyObject
* obj2
= 0 ;
34232 PyObject
* obj3
= 0 ;
34233 char *kwnames
[] = {
34234 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34241 arg2
= wxString_in_helper(obj1
);
34242 if (arg2
== NULL
) SWIG_fail
;
34245 arg3
= (int)SWIG_As_int(obj2
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34252 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= SWIG_From_int((int)result
);
34272 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
;
34274 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34275 PyObject
* obj0
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34290 Py_INCREF(Py_None
); resultobj
= Py_None
;
34297 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
;
34299 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 char *kwnames
[] = {
34304 (char *) "self",(char *) "n", NULL
34307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34310 arg2
= (int)SWIG_As_int(obj1
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34314 (arg1
)->Delete(arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 Py_INCREF(Py_None
); resultobj
= Py_None
;
34326 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
;
34328 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34330 PyObject
* obj0
= 0 ;
34331 char *kwnames
[] = {
34332 (char *) "self", NULL
34335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_From_int((int)result
);
34352 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
;
34354 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34356 PyObject
* obj0
= 0 ;
34357 char *kwnames
[] = {
34358 (char *) "self", NULL
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34380 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
;
34382 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 char *kwnames
[] = {
34388 (char *) "self",(char *) "n", NULL
34391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34394 arg2
= (int)SWIG_As_int(obj1
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34398 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34416 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
;
34418 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34419 wxArrayString result
;
34420 PyObject
* obj0
= 0 ;
34421 char *kwnames
[] = {
34422 (char *) "self", NULL
34425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= wxArrayString2PyList_helper(result
);
34444 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
;
34446 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34448 wxString
*arg3
= 0 ;
34449 bool temp3
= false ;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 PyObject
* obj2
= 0 ;
34453 char *kwnames
[] = {
34454 (char *) "self",(char *) "n",(char *) "s", NULL
34457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34460 arg2
= (int)SWIG_As_int(obj1
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34463 arg3
= wxString_in_helper(obj2
);
34464 if (arg3
== NULL
) SWIG_fail
;
34468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34469 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 Py_INCREF(Py_None
); resultobj
= Py_None
;
34489 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
;
34491 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34492 wxString
*arg2
= 0 ;
34494 bool temp2
= false ;
34495 PyObject
* obj0
= 0 ;
34496 PyObject
* obj1
= 0 ;
34497 char *kwnames
[] = {
34498 (char *) "self",(char *) "s", NULL
34501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34505 arg2
= wxString_in_helper(obj1
);
34506 if (arg2
== NULL
) SWIG_fail
;
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 resultobj
= SWIG_From_int((int)result
);
34531 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34535 PyObject
* obj0
= 0 ;
34536 PyObject
* obj1
= 0 ;
34537 char *kwnames
[] = {
34538 (char *) "self",(char *) "n", NULL
34541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34544 arg2
= (int)SWIG_As_int(obj1
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 (arg1
)->Select(arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 Py_INCREF(Py_None
); resultobj
= Py_None
;
34560 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 char *kwnames
[] = {
34566 (char *) "self", NULL
34569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= SWIG_From_int((int)result
);
34586 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
;
34588 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34590 PyObject
* obj0
= 0 ;
34591 char *kwnames
[] = {
34592 (char *) "self", NULL
34595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34600 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34602 wxPyEndAllowThreads(__tstate
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34618 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34619 PyObject
*resultobj
;
34620 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34623 PyObject
* obj0
= 0 ;
34624 PyObject
* obj1
= 0 ;
34625 char *kwnames
[] = {
34626 (char *) "self",(char *) "n", NULL
34629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34632 arg2
= (int)SWIG_As_int(obj1
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34638 wxPyEndAllowThreads(__tstate
);
34639 if (PyErr_Occurred()) SWIG_fail
;
34641 resultobj
= result
;
34648 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
;
34650 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34652 PyObject
*arg3
= (PyObject
*) 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 PyObject
* obj2
= 0 ;
34656 char *kwnames
[] = {
34657 (char *) "self",(char *) "n",(char *) "clientData", NULL
34660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34663 arg2
= (int)SWIG_As_int(obj1
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34670 wxPyEndAllowThreads(__tstate
);
34671 if (PyErr_Occurred()) SWIG_fail
;
34673 Py_INCREF(Py_None
); resultobj
= Py_None
;
34680 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34683 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34685 return Py_BuildValue((char *)"");
34687 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34690 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34692 return Py_BuildValue((char *)"");
34694 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxSizerItem
*result
;
34697 char *kwnames
[] = {
34701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (wxSizerItem
*)new wxSizerItem();
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34716 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
;
34718 wxWindow
*arg1
= (wxWindow
*) 0 ;
34722 PyObject
*arg5
= (PyObject
*) NULL
;
34723 wxSizerItem
*result
;
34724 PyObject
* obj0
= 0 ;
34725 PyObject
* obj1
= 0 ;
34726 PyObject
* obj2
= 0 ;
34727 PyObject
* obj3
= 0 ;
34728 PyObject
* obj4
= 0 ;
34729 char *kwnames
[] = {
34730 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34736 arg2
= (int)SWIG_As_int(obj1
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34738 arg3
= (int)SWIG_As_int(obj2
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34740 arg4
= (int)SWIG_As_int(obj3
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34759 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34760 PyObject
*resultobj
;
34766 PyObject
*arg6
= (PyObject
*) NULL
;
34767 wxSizerItem
*result
;
34768 PyObject
* obj0
= 0 ;
34769 PyObject
* obj1
= 0 ;
34770 PyObject
* obj2
= 0 ;
34771 PyObject
* obj3
= 0 ;
34772 PyObject
* obj4
= 0 ;
34773 PyObject
* obj5
= 0 ;
34774 char *kwnames
[] = {
34775 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34779 arg1
= (int)SWIG_As_int(obj0
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34781 arg2
= (int)SWIG_As_int(obj1
);
34782 if (PyErr_Occurred()) SWIG_fail
;
34783 arg3
= (int)SWIG_As_int(obj2
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34785 arg4
= (int)SWIG_As_int(obj3
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34787 arg5
= (int)SWIG_As_int(obj4
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34806 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxSizer
*arg1
= (wxSizer
*) 0 ;
34812 PyObject
*arg5
= (PyObject
*) NULL
;
34813 wxSizerItem
*result
;
34814 PyObject
* obj0
= 0 ;
34815 PyObject
* obj1
= 0 ;
34816 PyObject
* obj2
= 0 ;
34817 PyObject
* obj3
= 0 ;
34818 PyObject
* obj4
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34826 arg2
= (int)SWIG_As_int(obj1
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34828 arg3
= (int)SWIG_As_int(obj2
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34830 arg4
= (int)SWIG_As_int(obj3
);
34831 if (PyErr_Occurred()) SWIG_fail
;
34836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34837 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34839 wxPyEndAllowThreads(__tstate
);
34840 if (PyErr_Occurred()) SWIG_fail
;
34842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34849 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
;
34851 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34852 PyObject
* obj0
= 0 ;
34853 char *kwnames
[] = {
34854 (char *) "self", NULL
34857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34862 (arg1
)->DeleteWindows();
34864 wxPyEndAllowThreads(__tstate
);
34865 if (PyErr_Occurred()) SWIG_fail
;
34867 Py_INCREF(Py_None
); resultobj
= Py_None
;
34874 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34875 PyObject
*resultobj
;
34876 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34877 PyObject
* obj0
= 0 ;
34878 char *kwnames
[] = {
34879 (char *) "self", NULL
34882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 (arg1
)->DetachSizer();
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34892 Py_INCREF(Py_None
); resultobj
= Py_None
;
34899 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34900 PyObject
*resultobj
;
34901 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34903 PyObject
* obj0
= 0 ;
34904 char *kwnames
[] = {
34905 (char *) "self", NULL
34908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= (arg1
)->GetSize();
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34919 wxSize
* resultptr
;
34920 resultptr
= new wxSize((wxSize
&) result
);
34921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34929 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
;
34931 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34933 PyObject
* obj0
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34943 result
= (arg1
)->CalcMin();
34945 wxPyEndAllowThreads(__tstate
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34949 wxSize
* resultptr
;
34950 resultptr
= new wxSize((wxSize
&) result
);
34951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34959 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
;
34961 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34966 PyObject
* obj0
= 0 ;
34967 PyObject
* obj1
= 0 ;
34968 PyObject
* obj2
= 0 ;
34969 char *kwnames
[] = {
34970 (char *) "self",(char *) "pos",(char *) "size", NULL
34973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34976 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34977 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34979 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34980 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 (arg1
)->SetDimension(arg2
,arg3
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 Py_INCREF(Py_None
); resultobj
= Py_None
;
34996 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35000 PyObject
* obj0
= 0 ;
35001 char *kwnames
[] = {
35002 (char *) "self", NULL
35005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 result
= (arg1
)->GetMinSize();
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35016 wxSize
* resultptr
;
35017 resultptr
= new wxSize((wxSize
&) result
);
35018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35026 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
;
35028 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35030 PyObject
* obj0
= 0 ;
35031 char *kwnames
[] = {
35032 (char *) "self", NULL
35035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35046 wxSize
* resultptr
;
35047 resultptr
= new wxSize((wxSize
&) result
);
35048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35056 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
;
35058 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35061 PyObject
* obj0
= 0 ;
35062 PyObject
* obj1
= 0 ;
35063 PyObject
* obj2
= 0 ;
35064 char *kwnames
[] = {
35065 (char *) "self",(char *) "x",(char *) "y", NULL
35068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35071 arg2
= (int)SWIG_As_int(obj1
);
35072 if (PyErr_Occurred()) SWIG_fail
;
35073 arg3
= (int)SWIG_As_int(obj2
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 (arg1
)->SetInitSize(arg2
,arg3
);
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 Py_INCREF(Py_None
); resultobj
= Py_None
;
35089 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
;
35091 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35094 PyObject
* obj0
= 0 ;
35095 PyObject
* obj1
= 0 ;
35096 PyObject
* obj2
= 0 ;
35097 char *kwnames
[] = {
35098 (char *) "self",(char *) "width",(char *) "height", NULL
35101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35104 arg2
= (int)SWIG_As_int(obj1
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35106 arg3
= (int)SWIG_As_int(obj2
);
35107 if (PyErr_Occurred()) SWIG_fail
;
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 (arg1
)->SetRatio(arg2
,arg3
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 Py_INCREF(Py_None
); resultobj
= Py_None
;
35122 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
;
35124 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35127 PyObject
* obj0
= 0 ;
35128 PyObject
* obj1
= 0 ;
35129 char *kwnames
[] = {
35130 (char *) "self",(char *) "size", NULL
35133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35136 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35137 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 (arg1
)->SetRatio(arg2
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 Py_INCREF(Py_None
); resultobj
= Py_None
;
35153 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
;
35155 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 PyObject
* obj1
= 0 ;
35159 char *kwnames
[] = {
35160 (char *) "self",(char *) "ratio", NULL
35163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35166 arg2
= (float)SWIG_As_float(obj1
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 (arg1
)->SetRatio(arg2
);
35172 wxPyEndAllowThreads(__tstate
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35175 Py_INCREF(Py_None
); resultobj
= Py_None
;
35182 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35183 PyObject
*resultobj
;
35184 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35186 PyObject
* obj0
= 0 ;
35187 char *kwnames
[] = {
35188 (char *) "self", NULL
35191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35196 result
= (float)(arg1
)->GetRatio();
35198 wxPyEndAllowThreads(__tstate
);
35199 if (PyErr_Occurred()) SWIG_fail
;
35201 resultobj
= SWIG_From_float((float)result
);
35208 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35209 PyObject
*resultobj
;
35210 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35212 PyObject
* obj0
= 0 ;
35213 char *kwnames
[] = {
35214 (char *) "self", NULL
35217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 result
= (arg1
)->GetRect();
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35228 wxRect
* resultptr
;
35229 resultptr
= new wxRect((wxRect
&) result
);
35230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35238 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
;
35240 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35242 PyObject
* obj0
= 0 ;
35243 char *kwnames
[] = {
35244 (char *) "self", NULL
35247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (bool)(arg1
)->IsWindow();
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35266 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35267 PyObject
*resultobj
;
35268 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35270 PyObject
* obj0
= 0 ;
35271 char *kwnames
[] = {
35272 (char *) "self", NULL
35275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35280 result
= (bool)(arg1
)->IsSizer();
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35294 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35295 PyObject
*resultobj
;
35296 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35298 PyObject
* obj0
= 0 ;
35299 char *kwnames
[] = {
35300 (char *) "self", NULL
35303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 result
= (bool)(arg1
)->IsSpacer();
35310 wxPyEndAllowThreads(__tstate
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35322 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35323 PyObject
*resultobj
;
35324 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35326 PyObject
* obj0
= 0 ;
35327 PyObject
* obj1
= 0 ;
35328 char *kwnames
[] = {
35329 (char *) "self",(char *) "proportion", NULL
35332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35335 arg2
= (int)SWIG_As_int(obj1
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 (arg1
)->SetProportion(arg2
);
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 Py_INCREF(Py_None
); resultobj
= Py_None
;
35351 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
;
35353 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35355 PyObject
* obj0
= 0 ;
35356 char *kwnames
[] = {
35357 (char *) "self", NULL
35360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= (int)(arg1
)->GetProportion();
35367 wxPyEndAllowThreads(__tstate
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35370 resultobj
= SWIG_From_int((int)result
);
35377 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35378 PyObject
*resultobj
;
35379 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char *kwnames
[] = {
35384 (char *) "self",(char *) "flag", NULL
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35390 arg2
= (int)SWIG_As_int(obj1
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 (arg1
)->SetFlag(arg2
);
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 Py_INCREF(Py_None
); resultobj
= Py_None
;
35406 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35407 PyObject
*resultobj
;
35408 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35410 PyObject
* obj0
= 0 ;
35411 char *kwnames
[] = {
35412 (char *) "self", NULL
35415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35420 result
= (int)(arg1
)->GetFlag();
35422 wxPyEndAllowThreads(__tstate
);
35423 if (PyErr_Occurred()) SWIG_fail
;
35425 resultobj
= SWIG_From_int((int)result
);
35432 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35433 PyObject
*resultobj
;
35434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35436 PyObject
* obj0
= 0 ;
35437 PyObject
* obj1
= 0 ;
35438 char *kwnames
[] = {
35439 (char *) "self",(char *) "border", NULL
35442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35445 arg2
= (int)SWIG_As_int(obj1
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 (arg1
)->SetBorder(arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35454 Py_INCREF(Py_None
); resultobj
= Py_None
;
35461 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
;
35463 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35465 PyObject
* obj0
= 0 ;
35466 char *kwnames
[] = {
35467 (char *) "self", NULL
35470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35475 result
= (int)(arg1
)->GetBorder();
35477 wxPyEndAllowThreads(__tstate
);
35478 if (PyErr_Occurred()) SWIG_fail
;
35480 resultobj
= SWIG_From_int((int)result
);
35487 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35488 PyObject
*resultobj
;
35489 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35491 PyObject
* obj0
= 0 ;
35492 char *kwnames
[] = {
35493 (char *) "self", NULL
35496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= (wxWindow
*)(arg1
)->GetWindow();
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35507 resultobj
= wxPyMake_wxObject(result
, 0);
35515 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
;
35517 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35518 wxWindow
*arg2
= (wxWindow
*) 0 ;
35519 PyObject
* obj0
= 0 ;
35520 PyObject
* obj1
= 0 ;
35521 char *kwnames
[] = {
35522 (char *) "self",(char *) "window", NULL
35525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 (arg1
)->SetWindow(arg2
);
35534 wxPyEndAllowThreads(__tstate
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35537 Py_INCREF(Py_None
); resultobj
= Py_None
;
35544 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
;
35546 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35548 PyObject
* obj0
= 0 ;
35549 char *kwnames
[] = {
35550 (char *) "self", NULL
35553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= (wxSizer
*)(arg1
)->GetSizer();
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= wxPyMake_wxSizer(result
, 0);
35572 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35573 PyObject
*resultobj
;
35574 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35575 wxSizer
*arg2
= (wxSizer
*) 0 ;
35576 PyObject
* obj0
= 0 ;
35577 PyObject
* obj1
= 0 ;
35578 char *kwnames
[] = {
35579 (char *) "self",(char *) "sizer", NULL
35582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 (arg1
)->SetSizer(arg2
);
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35594 Py_INCREF(Py_None
); resultobj
= Py_None
;
35601 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
;
35603 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 char *kwnames
[] = {
35607 (char *) "self", NULL
35610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35617 result
= (wxSize
*) &_result_ref
;
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35630 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35631 PyObject
*resultobj
;
35632 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35635 PyObject
* obj0
= 0 ;
35636 PyObject
* obj1
= 0 ;
35637 char *kwnames
[] = {
35638 (char *) "self",(char *) "size", NULL
35641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35652 wxPyEndAllowThreads(__tstate
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35655 Py_INCREF(Py_None
); resultobj
= Py_None
;
35662 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35663 PyObject
*resultobj
;
35664 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35666 PyObject
* obj0
= 0 ;
35667 PyObject
* obj1
= 0 ;
35668 char *kwnames
[] = {
35669 (char *) "self",(char *) "show", NULL
35672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35675 arg2
= (bool)SWIG_As_bool(obj1
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 (arg1
)->Show(arg2
);
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35684 Py_INCREF(Py_None
); resultobj
= Py_None
;
35691 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
;
35693 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35695 PyObject
* obj0
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 result
= (bool)(arg1
)->IsShown();
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35719 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
;
35721 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35723 PyObject
* obj0
= 0 ;
35724 char *kwnames
[] = {
35725 (char *) "self", NULL
35728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 result
= (arg1
)->GetPosition();
35735 wxPyEndAllowThreads(__tstate
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35739 wxPoint
* resultptr
;
35740 resultptr
= new wxPoint((wxPoint
&) result
);
35741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35749 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35750 PyObject
*resultobj
;
35751 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35753 PyObject
* obj0
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 resultobj
= result
;
35775 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35778 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35780 return Py_BuildValue((char *)"");
35782 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
;
35784 wxSizer
*arg1
= (wxSizer
*) 0 ;
35785 PyObject
*arg2
= (PyObject
*) 0 ;
35786 PyObject
* obj0
= 0 ;
35787 PyObject
* obj1
= 0 ;
35788 char *kwnames
[] = {
35789 (char *) "self",(char *) "_self", NULL
35792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35798 wxSizer__setOORInfo(arg1
,arg2
);
35800 wxPyEndAllowThreads(__tstate
);
35801 if (PyErr_Occurred()) SWIG_fail
;
35803 Py_INCREF(Py_None
); resultobj
= Py_None
;
35810 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35811 PyObject
*resultobj
;
35812 wxSizer
*arg1
= (wxSizer
*) 0 ;
35813 PyObject
*arg2
= (PyObject
*) 0 ;
35814 int arg3
= (int) 0 ;
35815 int arg4
= (int) 0 ;
35816 int arg5
= (int) 0 ;
35817 PyObject
*arg6
= (PyObject
*) NULL
;
35818 wxSizerItem
*result
;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 PyObject
* obj2
= 0 ;
35822 PyObject
* obj3
= 0 ;
35823 PyObject
* obj4
= 0 ;
35824 PyObject
* obj5
= 0 ;
35825 char *kwnames
[] = {
35826 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35834 arg3
= (int)SWIG_As_int(obj2
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35838 arg4
= (int)SWIG_As_int(obj3
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35842 arg5
= (int)SWIG_As_int(obj4
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35852 wxPyEndAllowThreads(__tstate
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35862 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35863 PyObject
*resultobj
;
35864 wxSizer
*arg1
= (wxSizer
*) 0 ;
35866 PyObject
*arg3
= (PyObject
*) 0 ;
35867 int arg4
= (int) 0 ;
35868 int arg5
= (int) 0 ;
35869 int arg6
= (int) 0 ;
35870 PyObject
*arg7
= (PyObject
*) NULL
;
35871 wxSizerItem
*result
;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 PyObject
* obj2
= 0 ;
35875 PyObject
* obj3
= 0 ;
35876 PyObject
* obj4
= 0 ;
35877 PyObject
* obj5
= 0 ;
35878 PyObject
* obj6
= 0 ;
35879 char *kwnames
[] = {
35880 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35886 arg2
= (int)SWIG_As_int(obj1
);
35887 if (PyErr_Occurred()) SWIG_fail
;
35890 arg4
= (int)SWIG_As_int(obj3
);
35891 if (PyErr_Occurred()) SWIG_fail
;
35894 arg5
= (int)SWIG_As_int(obj4
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35898 arg6
= (int)SWIG_As_int(obj5
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35918 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
;
35920 wxSizer
*arg1
= (wxSizer
*) 0 ;
35921 PyObject
*arg2
= (PyObject
*) 0 ;
35922 int arg3
= (int) 0 ;
35923 int arg4
= (int) 0 ;
35924 int arg5
= (int) 0 ;
35925 PyObject
*arg6
= (PyObject
*) NULL
;
35926 wxSizerItem
*result
;
35927 PyObject
* obj0
= 0 ;
35928 PyObject
* obj1
= 0 ;
35929 PyObject
* obj2
= 0 ;
35930 PyObject
* obj3
= 0 ;
35931 PyObject
* obj4
= 0 ;
35932 PyObject
* obj5
= 0 ;
35933 char *kwnames
[] = {
35934 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35942 arg3
= (int)SWIG_As_int(obj2
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35946 arg4
= (int)SWIG_As_int(obj3
);
35947 if (PyErr_Occurred()) SWIG_fail
;
35950 arg5
= (int)SWIG_As_int(obj4
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35970 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
;
35972 wxSizer
*arg1
= (wxSizer
*) 0 ;
35973 PyObject
*arg2
= (PyObject
*) 0 ;
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_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35987 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35989 wxPyEndAllowThreads(__tstate
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36001 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
;
36003 wxSizer
*arg1
= (wxSizer
*) 0 ;
36004 PyObject
*arg2
= (PyObject
*) 0 ;
36006 PyObject
* obj0
= 0 ;
36007 PyObject
* obj1
= 0 ;
36008 char *kwnames
[] = {
36009 (char *) "self",(char *) "item", NULL
36012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36020 wxPyEndAllowThreads(__tstate
);
36021 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36032 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36033 PyObject
*resultobj
;
36034 wxSizer
*arg1
= (wxSizer
*) 0 ;
36035 PyObject
*arg2
= (PyObject
*) 0 ;
36036 wxSizerItem
*result
;
36037 PyObject
* obj0
= 0 ;
36038 PyObject
* obj1
= 0 ;
36039 char *kwnames
[] = {
36040 (char *) "self",(char *) "item", NULL
36043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36061 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
;
36063 wxSizer
*arg1
= (wxSizer
*) 0 ;
36064 PyObject
*arg2
= (PyObject
*) 0 ;
36067 PyObject
* obj0
= 0 ;
36068 PyObject
* obj1
= 0 ;
36069 PyObject
* obj2
= 0 ;
36070 char *kwnames
[] = {
36071 (char *) "self",(char *) "item",(char *) "size", NULL
36074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36080 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36084 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36086 wxPyEndAllowThreads(__tstate
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36089 Py_INCREF(Py_None
); resultobj
= Py_None
;
36096 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
;
36098 wxSizer
*arg1
= (wxSizer
*) 0 ;
36099 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36100 wxSizerItem
*result
;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 char *kwnames
[] = {
36104 (char *) "self",(char *) "item", NULL
36107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36116 wxPyEndAllowThreads(__tstate
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36126 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
;
36128 wxSizer
*arg1
= (wxSizer
*) 0 ;
36130 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36131 wxSizerItem
*result
;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 PyObject
* obj2
= 0 ;
36135 char *kwnames
[] = {
36136 (char *) "self",(char *) "index",(char *) "item", NULL
36139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36142 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36148 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36160 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
;
36162 wxSizer
*arg1
= (wxSizer
*) 0 ;
36163 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36164 wxSizerItem
*result
;
36165 PyObject
* obj0
= 0 ;
36166 PyObject
* obj1
= 0 ;
36167 char *kwnames
[] = {
36168 (char *) "self",(char *) "item", NULL
36171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36190 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36191 PyObject
*resultobj
;
36192 wxSizer
*arg1
= (wxSizer
*) 0 ;
36197 PyObject
* obj0
= 0 ;
36198 PyObject
* obj1
= 0 ;
36199 PyObject
* obj2
= 0 ;
36200 PyObject
* obj3
= 0 ;
36201 PyObject
* obj4
= 0 ;
36202 char *kwnames
[] = {
36203 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36209 arg2
= (int)SWIG_As_int(obj1
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36211 arg3
= (int)SWIG_As_int(obj2
);
36212 if (PyErr_Occurred()) SWIG_fail
;
36213 arg4
= (int)SWIG_As_int(obj3
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36215 arg5
= (int)SWIG_As_int(obj4
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36219 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 Py_INCREF(Py_None
); resultobj
= Py_None
;
36231 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36232 PyObject
*resultobj
;
36233 wxSizer
*arg1
= (wxSizer
*) 0 ;
36236 PyObject
* obj0
= 0 ;
36237 PyObject
* obj1
= 0 ;
36238 char *kwnames
[] = {
36239 (char *) "self",(char *) "size", NULL
36242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36247 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36251 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36253 wxPyEndAllowThreads(__tstate
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36256 Py_INCREF(Py_None
); resultobj
= Py_None
;
36263 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36264 PyObject
*resultobj
;
36265 wxSizer
*arg1
= (wxSizer
*) 0 ;
36267 PyObject
* obj0
= 0 ;
36268 char *kwnames
[] = {
36269 (char *) "self", NULL
36272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36277 result
= (arg1
)->GetSize();
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36283 wxSize
* resultptr
;
36284 resultptr
= new wxSize((wxSize
&) result
);
36285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36293 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
;
36295 wxSizer
*arg1
= (wxSizer
*) 0 ;
36297 PyObject
* obj0
= 0 ;
36298 char *kwnames
[] = {
36299 (char *) "self", NULL
36302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36307 result
= (arg1
)->GetPosition();
36309 wxPyEndAllowThreads(__tstate
);
36310 if (PyErr_Occurred()) SWIG_fail
;
36313 wxPoint
* resultptr
;
36314 resultptr
= new wxPoint((wxPoint
&) result
);
36315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36323 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36324 PyObject
*resultobj
;
36325 wxSizer
*arg1
= (wxSizer
*) 0 ;
36327 PyObject
* obj0
= 0 ;
36328 char *kwnames
[] = {
36329 (char *) "self", NULL
36332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 result
= (arg1
)->GetMinSize();
36339 wxPyEndAllowThreads(__tstate
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36343 wxSize
* resultptr
;
36344 resultptr
= new wxSize((wxSize
&) result
);
36345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36353 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36354 PyObject
*resultobj
;
36355 wxSizer
*arg1
= (wxSizer
*) 0 ;
36356 PyObject
* obj0
= 0 ;
36357 char *kwnames
[] = {
36358 (char *) "self", NULL
36361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 (arg1
)->RecalcSizes();
36368 wxPyEndAllowThreads(__tstate
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36371 Py_INCREF(Py_None
); resultobj
= Py_None
;
36378 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
;
36380 wxSizer
*arg1
= (wxSizer
*) 0 ;
36382 PyObject
* obj0
= 0 ;
36383 char *kwnames
[] = {
36384 (char *) "self", NULL
36387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (arg1
)->CalcMin();
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36398 wxSize
* resultptr
;
36399 resultptr
= new wxSize((wxSize
&) result
);
36400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36408 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36409 PyObject
*resultobj
;
36410 wxSizer
*arg1
= (wxSizer
*) 0 ;
36411 PyObject
* obj0
= 0 ;
36412 char *kwnames
[] = {
36413 (char *) "self", NULL
36416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 Py_INCREF(Py_None
); resultobj
= Py_None
;
36433 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
;
36435 wxSizer
*arg1
= (wxSizer
*) 0 ;
36436 wxWindow
*arg2
= (wxWindow
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 char *kwnames
[] = {
36441 (char *) "self",(char *) "window", NULL
36444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 result
= (arg1
)->Fit(arg2
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36457 wxSize
* resultptr
;
36458 resultptr
= new wxSize((wxSize
&) result
);
36459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36467 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
;
36469 wxSizer
*arg1
= (wxSizer
*) 0 ;
36470 wxWindow
*arg2
= (wxWindow
*) 0 ;
36471 PyObject
* obj0
= 0 ;
36472 PyObject
* obj1
= 0 ;
36473 char *kwnames
[] = {
36474 (char *) "self",(char *) "window", NULL
36477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36484 (arg1
)->FitInside(arg2
);
36486 wxPyEndAllowThreads(__tstate
);
36487 if (PyErr_Occurred()) SWIG_fail
;
36489 Py_INCREF(Py_None
); resultobj
= Py_None
;
36496 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36497 PyObject
*resultobj
;
36498 wxSizer
*arg1
= (wxSizer
*) 0 ;
36499 wxWindow
*arg2
= (wxWindow
*) 0 ;
36500 PyObject
* obj0
= 0 ;
36501 PyObject
* obj1
= 0 ;
36502 char *kwnames
[] = {
36503 (char *) "self",(char *) "window", NULL
36506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36513 (arg1
)->SetSizeHints(arg2
);
36515 wxPyEndAllowThreads(__tstate
);
36516 if (PyErr_Occurred()) SWIG_fail
;
36518 Py_INCREF(Py_None
); resultobj
= Py_None
;
36525 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36526 PyObject
*resultobj
;
36527 wxSizer
*arg1
= (wxSizer
*) 0 ;
36528 wxWindow
*arg2
= (wxWindow
*) 0 ;
36529 PyObject
* obj0
= 0 ;
36530 PyObject
* obj1
= 0 ;
36531 char *kwnames
[] = {
36532 (char *) "self",(char *) "window", NULL
36535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 (arg1
)->SetVirtualSizeHints(arg2
);
36544 wxPyEndAllowThreads(__tstate
);
36545 if (PyErr_Occurred()) SWIG_fail
;
36547 Py_INCREF(Py_None
); resultobj
= Py_None
;
36554 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36555 PyObject
*resultobj
;
36556 wxSizer
*arg1
= (wxSizer
*) 0 ;
36557 bool arg2
= (bool) false ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 char *kwnames
[] = {
36561 (char *) "self",(char *) "deleteWindows", NULL
36564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36568 arg2
= (bool)SWIG_As_bool(obj1
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 (arg1
)->Clear(arg2
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 Py_INCREF(Py_None
); resultobj
= Py_None
;
36585 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
;
36587 wxSizer
*arg1
= (wxSizer
*) 0 ;
36588 PyObject
* obj0
= 0 ;
36589 char *kwnames
[] = {
36590 (char *) "self", NULL
36593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 (arg1
)->DeleteWindows();
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36603 Py_INCREF(Py_None
); resultobj
= Py_None
;
36610 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36611 PyObject
*resultobj
;
36612 wxSizer
*arg1
= (wxSizer
*) 0 ;
36614 PyObject
* obj0
= 0 ;
36615 char *kwnames
[] = {
36616 (char *) "self", NULL
36619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36626 wxPyEndAllowThreads(__tstate
);
36627 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= result
;
36636 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36637 PyObject
*resultobj
;
36638 wxSizer
*arg1
= (wxSizer
*) 0 ;
36639 PyObject
*arg2
= (PyObject
*) 0 ;
36640 bool arg3
= (bool) true ;
36641 bool arg4
= (bool) false ;
36643 PyObject
* obj0
= 0 ;
36644 PyObject
* obj1
= 0 ;
36645 PyObject
* obj2
= 0 ;
36646 PyObject
* obj3
= 0 ;
36647 char *kwnames
[] = {
36648 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36656 arg3
= (bool)SWIG_As_bool(obj2
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36660 arg4
= (bool)SWIG_As_bool(obj3
);
36661 if (PyErr_Occurred()) SWIG_fail
;
36664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36665 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36679 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
;
36681 wxSizer
*arg1
= (wxSizer
*) 0 ;
36682 PyObject
*arg2
= (PyObject
*) 0 ;
36684 PyObject
* obj0
= 0 ;
36685 PyObject
* obj1
= 0 ;
36686 char *kwnames
[] = {
36687 (char *) "self",(char *) "item", NULL
36690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36710 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
;
36712 wxSizer
*arg1
= (wxSizer
*) 0 ;
36714 PyObject
* obj0
= 0 ;
36715 PyObject
* obj1
= 0 ;
36716 char *kwnames
[] = {
36717 (char *) "self",(char *) "show", NULL
36720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36723 arg2
= (bool)SWIG_As_bool(obj1
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36727 (arg1
)->ShowItems(arg2
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 Py_INCREF(Py_None
); resultobj
= Py_None
;
36739 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36742 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36744 return Py_BuildValue((char *)"");
36746 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36747 PyObject
*resultobj
;
36749 char *kwnames
[] = {
36753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36756 result
= (wxPySizer
*)new wxPySizer();
36758 wxPyEndAllowThreads(__tstate
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36768 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36769 PyObject
*resultobj
;
36770 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36771 PyObject
*arg2
= (PyObject
*) 0 ;
36772 PyObject
*arg3
= (PyObject
*) 0 ;
36773 PyObject
* obj0
= 0 ;
36774 PyObject
* obj1
= 0 ;
36775 PyObject
* obj2
= 0 ;
36776 char *kwnames
[] = {
36777 (char *) "self",(char *) "self",(char *) "_class", NULL
36780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36787 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 Py_INCREF(Py_None
); resultobj
= Py_None
;
36799 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36802 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36804 return Py_BuildValue((char *)"");
36806 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
;
36808 int arg1
= (int) wxHORIZONTAL
;
36809 wxBoxSizer
*result
;
36810 PyObject
* obj0
= 0 ;
36811 char *kwnames
[] = {
36812 (char *) "orient", NULL
36815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36817 arg1
= (int)SWIG_As_int(obj0
);
36818 if (PyErr_Occurred()) SWIG_fail
;
36821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36822 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36834 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36835 PyObject
*resultobj
;
36836 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36838 PyObject
* obj0
= 0 ;
36839 char *kwnames
[] = {
36840 (char *) "self", NULL
36843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36848 result
= (int)(arg1
)->GetOrientation();
36850 wxPyEndAllowThreads(__tstate
);
36851 if (PyErr_Occurred()) SWIG_fail
;
36853 resultobj
= SWIG_From_int((int)result
);
36860 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36861 PyObject
*resultobj
;
36862 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36864 PyObject
* obj0
= 0 ;
36865 PyObject
* obj1
= 0 ;
36866 char *kwnames
[] = {
36867 (char *) "self",(char *) "orient", NULL
36870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36873 arg2
= (int)SWIG_As_int(obj1
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36877 (arg1
)->SetOrientation(arg2
);
36879 wxPyEndAllowThreads(__tstate
);
36880 if (PyErr_Occurred()) SWIG_fail
;
36882 Py_INCREF(Py_None
); resultobj
= Py_None
;
36889 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36892 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36894 return Py_BuildValue((char *)"");
36896 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36897 PyObject
*resultobj
;
36898 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36899 int arg2
= (int) wxHORIZONTAL
;
36900 wxStaticBoxSizer
*result
;
36901 PyObject
* obj0
= 0 ;
36902 PyObject
* obj1
= 0 ;
36903 char *kwnames
[] = {
36904 (char *) "box",(char *) "orient", NULL
36907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36911 arg2
= (int)SWIG_As_int(obj1
);
36912 if (PyErr_Occurred()) SWIG_fail
;
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36928 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
;
36930 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36931 wxStaticBox
*result
;
36932 PyObject
* obj0
= 0 ;
36933 char *kwnames
[] = {
36934 (char *) "self", NULL
36937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36944 wxPyEndAllowThreads(__tstate
);
36945 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= wxPyMake_wxObject(result
, 0);
36956 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36959 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36961 return Py_BuildValue((char *)"");
36963 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36964 PyObject
*resultobj
;
36965 int arg1
= (int) 1 ;
36966 int arg2
= (int) 0 ;
36967 int arg3
= (int) 0 ;
36968 int arg4
= (int) 0 ;
36969 wxGridSizer
*result
;
36970 PyObject
* obj0
= 0 ;
36971 PyObject
* obj1
= 0 ;
36972 PyObject
* obj2
= 0 ;
36973 PyObject
* obj3
= 0 ;
36974 char *kwnames
[] = {
36975 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36980 arg1
= (int)SWIG_As_int(obj0
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36984 arg2
= (int)SWIG_As_int(obj1
);
36985 if (PyErr_Occurred()) SWIG_fail
;
36988 arg3
= (int)SWIG_As_int(obj2
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36992 arg4
= (int)SWIG_As_int(obj3
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36997 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37009 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37010 PyObject
*resultobj
;
37011 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37013 PyObject
* obj0
= 0 ;
37014 PyObject
* obj1
= 0 ;
37015 char *kwnames
[] = {
37016 (char *) "self",(char *) "cols", NULL
37019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37022 arg2
= (int)SWIG_As_int(obj1
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 (arg1
)->SetCols(arg2
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 Py_INCREF(Py_None
); resultobj
= Py_None
;
37038 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
;
37040 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37042 PyObject
* obj0
= 0 ;
37043 PyObject
* obj1
= 0 ;
37044 char *kwnames
[] = {
37045 (char *) "self",(char *) "rows", NULL
37048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37051 arg2
= (int)SWIG_As_int(obj1
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37055 (arg1
)->SetRows(arg2
);
37057 wxPyEndAllowThreads(__tstate
);
37058 if (PyErr_Occurred()) SWIG_fail
;
37060 Py_INCREF(Py_None
); resultobj
= Py_None
;
37067 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37068 PyObject
*resultobj
;
37069 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37071 PyObject
* obj0
= 0 ;
37072 PyObject
* obj1
= 0 ;
37073 char *kwnames
[] = {
37074 (char *) "self",(char *) "gap", NULL
37077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37080 arg2
= (int)SWIG_As_int(obj1
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 (arg1
)->SetVGap(arg2
);
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37089 Py_INCREF(Py_None
); resultobj
= Py_None
;
37096 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37097 PyObject
*resultobj
;
37098 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37100 PyObject
* obj0
= 0 ;
37101 PyObject
* obj1
= 0 ;
37102 char *kwnames
[] = {
37103 (char *) "self",(char *) "gap", NULL
37106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37109 arg2
= (int)SWIG_As_int(obj1
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 (arg1
)->SetHGap(arg2
);
37115 wxPyEndAllowThreads(__tstate
);
37116 if (PyErr_Occurred()) SWIG_fail
;
37118 Py_INCREF(Py_None
); resultobj
= Py_None
;
37125 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37126 PyObject
*resultobj
;
37127 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37129 PyObject
* obj0
= 0 ;
37130 char *kwnames
[] = {
37131 (char *) "self", NULL
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37139 result
= (int)(arg1
)->GetCols();
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= SWIG_From_int((int)result
);
37151 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37152 PyObject
*resultobj
;
37153 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37155 PyObject
* obj0
= 0 ;
37156 char *kwnames
[] = {
37157 (char *) "self", NULL
37160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 result
= (int)(arg1
)->GetRows();
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= SWIG_From_int((int)result
);
37177 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
;
37179 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37181 PyObject
* obj0
= 0 ;
37182 char *kwnames
[] = {
37183 (char *) "self", NULL
37186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37191 result
= (int)(arg1
)->GetVGap();
37193 wxPyEndAllowThreads(__tstate
);
37194 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= SWIG_From_int((int)result
);
37203 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37204 PyObject
*resultobj
;
37205 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37207 PyObject
* obj0
= 0 ;
37208 char *kwnames
[] = {
37209 (char *) "self", NULL
37212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 result
= (int)(arg1
)->GetHGap();
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 resultobj
= SWIG_From_int((int)result
);
37229 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37232 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37234 return Py_BuildValue((char *)"");
37236 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
;
37238 int arg1
= (int) 1 ;
37239 int arg2
= (int) 0 ;
37240 int arg3
= (int) 0 ;
37241 int arg4
= (int) 0 ;
37242 wxFlexGridSizer
*result
;
37243 PyObject
* obj0
= 0 ;
37244 PyObject
* obj1
= 0 ;
37245 PyObject
* obj2
= 0 ;
37246 PyObject
* obj3
= 0 ;
37247 char *kwnames
[] = {
37248 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37253 arg1
= (int)SWIG_As_int(obj0
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37257 arg2
= (int)SWIG_As_int(obj1
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37261 arg3
= (int)SWIG_As_int(obj2
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37265 arg4
= (int)SWIG_As_int(obj3
);
37266 if (PyErr_Occurred()) SWIG_fail
;
37269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37270 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37272 wxPyEndAllowThreads(__tstate
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37282 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
;
37284 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37286 int arg3
= (int) 0 ;
37287 PyObject
* obj0
= 0 ;
37288 PyObject
* obj1
= 0 ;
37289 PyObject
* obj2
= 0 ;
37290 char *kwnames
[] = {
37291 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37297 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37300 arg3
= (int)SWIG_As_int(obj2
);
37301 if (PyErr_Occurred()) SWIG_fail
;
37304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37305 (arg1
)->AddGrowableRow(arg2
,arg3
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 Py_INCREF(Py_None
); resultobj
= Py_None
;
37317 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
;
37319 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37321 PyObject
* obj0
= 0 ;
37322 PyObject
* obj1
= 0 ;
37323 char *kwnames
[] = {
37324 (char *) "self",(char *) "idx", NULL
37327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37330 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37334 (arg1
)->RemoveGrowableRow(arg2
);
37336 wxPyEndAllowThreads(__tstate
);
37337 if (PyErr_Occurred()) SWIG_fail
;
37339 Py_INCREF(Py_None
); resultobj
= Py_None
;
37346 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37347 PyObject
*resultobj
;
37348 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37350 int arg3
= (int) 0 ;
37351 PyObject
* obj0
= 0 ;
37352 PyObject
* obj1
= 0 ;
37353 PyObject
* obj2
= 0 ;
37354 char *kwnames
[] = {
37355 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37361 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37364 arg3
= (int)SWIG_As_int(obj2
);
37365 if (PyErr_Occurred()) SWIG_fail
;
37368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37369 (arg1
)->AddGrowableCol(arg2
,arg3
);
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 Py_INCREF(Py_None
); resultobj
= Py_None
;
37381 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37382 PyObject
*resultobj
;
37383 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37385 PyObject
* obj0
= 0 ;
37386 PyObject
* obj1
= 0 ;
37387 char *kwnames
[] = {
37388 (char *) "self",(char *) "idx", NULL
37391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37394 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37398 (arg1
)->RemoveGrowableCol(arg2
);
37400 wxPyEndAllowThreads(__tstate
);
37401 if (PyErr_Occurred()) SWIG_fail
;
37403 Py_INCREF(Py_None
); resultobj
= Py_None
;
37410 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37411 PyObject
*resultobj
;
37412 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37414 PyObject
* obj0
= 0 ;
37415 PyObject
* obj1
= 0 ;
37416 char *kwnames
[] = {
37417 (char *) "self",(char *) "direction", NULL
37420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37423 arg2
= (int)SWIG_As_int(obj1
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37427 (arg1
)->SetFlexibleDirection(arg2
);
37429 wxPyEndAllowThreads(__tstate
);
37430 if (PyErr_Occurred()) SWIG_fail
;
37432 Py_INCREF(Py_None
); resultobj
= Py_None
;
37439 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37440 PyObject
*resultobj
;
37441 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37443 PyObject
* obj0
= 0 ;
37444 char *kwnames
[] = {
37445 (char *) "self", NULL
37448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37453 result
= (int)(arg1
)->GetFlexibleDirection();
37455 wxPyEndAllowThreads(__tstate
);
37456 if (PyErr_Occurred()) SWIG_fail
;
37458 resultobj
= SWIG_From_int((int)result
);
37465 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37466 PyObject
*resultobj
;
37467 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37469 PyObject
* obj0
= 0 ;
37470 PyObject
* obj1
= 0 ;
37471 char *kwnames
[] = {
37472 (char *) "self",(char *) "mode", NULL
37475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37478 arg2
= (int)SWIG_As_int(obj1
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37482 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37484 wxPyEndAllowThreads(__tstate
);
37485 if (PyErr_Occurred()) SWIG_fail
;
37487 Py_INCREF(Py_None
); resultobj
= Py_None
;
37494 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37495 PyObject
*resultobj
;
37496 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37498 PyObject
* obj0
= 0 ;
37499 char *kwnames
[] = {
37500 (char *) "self", NULL
37503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37508 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37513 resultobj
= SWIG_From_int((int)result
);
37520 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
;
37522 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37523 wxArrayInt
*result
;
37524 PyObject
* obj0
= 0 ;
37525 char *kwnames
[] = {
37526 (char *) "self", NULL
37529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37536 result
= (wxArrayInt
*) &_result_ref
;
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37543 resultobj
= PyList_New(0);
37545 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37546 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37547 PyList_Append(resultobj
, val
);
37557 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37558 PyObject
*resultobj
;
37559 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37560 wxArrayInt
*result
;
37561 PyObject
* obj0
= 0 ;
37562 char *kwnames
[] = {
37563 (char *) "self", NULL
37566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37572 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37573 result
= (wxArrayInt
*) &_result_ref
;
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37580 resultobj
= PyList_New(0);
37582 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37583 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37584 PyList_Append(resultobj
, val
);
37594 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37597 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37599 return Py_BuildValue((char *)"");
37601 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37602 PyObject
*resultobj
;
37603 int arg1
= (int) 0 ;
37604 int arg2
= (int) 0 ;
37605 wxGBPosition
*result
;
37606 PyObject
* obj0
= 0 ;
37607 PyObject
* obj1
= 0 ;
37608 char *kwnames
[] = {
37609 (char *) "row",(char *) "col", NULL
37612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37614 arg1
= (int)SWIG_As_int(obj0
);
37615 if (PyErr_Occurred()) SWIG_fail
;
37618 arg2
= (int)SWIG_As_int(obj1
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37635 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37636 PyObject
*resultobj
;
37637 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37639 PyObject
* obj0
= 0 ;
37640 char *kwnames
[] = {
37641 (char *) "self", NULL
37644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37654 resultobj
= SWIG_From_int((int)result
);
37661 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37662 PyObject
*resultobj
;
37663 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37665 PyObject
* obj0
= 0 ;
37666 char *kwnames
[] = {
37667 (char *) "self", NULL
37670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37675 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37680 resultobj
= SWIG_From_int((int)result
);
37687 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37688 PyObject
*resultobj
;
37689 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37691 PyObject
* obj0
= 0 ;
37692 PyObject
* obj1
= 0 ;
37693 char *kwnames
[] = {
37694 (char *) "self",(char *) "row", NULL
37697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37700 arg2
= (int)SWIG_As_int(obj1
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37704 (arg1
)->SetRow(arg2
);
37706 wxPyEndAllowThreads(__tstate
);
37707 if (PyErr_Occurred()) SWIG_fail
;
37709 Py_INCREF(Py_None
); resultobj
= Py_None
;
37716 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
;
37718 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37720 PyObject
* obj0
= 0 ;
37721 PyObject
* obj1
= 0 ;
37722 char *kwnames
[] = {
37723 (char *) "self",(char *) "col", NULL
37726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37729 arg2
= (int)SWIG_As_int(obj1
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37733 (arg1
)->SetCol(arg2
);
37735 wxPyEndAllowThreads(__tstate
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37738 Py_INCREF(Py_None
); resultobj
= Py_None
;
37745 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37746 PyObject
*resultobj
;
37747 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37748 wxGBPosition
*arg2
= 0 ;
37750 wxGBPosition temp2
;
37751 PyObject
* obj0
= 0 ;
37752 PyObject
* obj1
= 0 ;
37753 char *kwnames
[] = {
37754 (char *) "self",(char *) "other", NULL
37757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37762 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37780 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37781 PyObject
*resultobj
;
37782 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37783 wxGBPosition
*arg2
= 0 ;
37785 wxGBPosition temp2
;
37786 PyObject
* obj0
= 0 ;
37787 PyObject
* obj1
= 0 ;
37788 char *kwnames
[] = {
37789 (char *) "self",(char *) "other", NULL
37792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37797 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37815 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37816 PyObject
*resultobj
;
37817 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37818 int arg2
= (int) 0 ;
37819 int arg3
= (int) 0 ;
37820 PyObject
* obj0
= 0 ;
37821 PyObject
* obj1
= 0 ;
37822 PyObject
* obj2
= 0 ;
37823 char *kwnames
[] = {
37824 (char *) "self",(char *) "row",(char *) "col", NULL
37827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37831 arg2
= (int)SWIG_As_int(obj1
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37835 arg3
= (int)SWIG_As_int(obj2
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37840 wxGBPosition_Set(arg1
,arg2
,arg3
);
37842 wxPyEndAllowThreads(__tstate
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37845 Py_INCREF(Py_None
); resultobj
= Py_None
;
37852 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37853 PyObject
*resultobj
;
37854 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37856 PyObject
* obj0
= 0 ;
37857 char *kwnames
[] = {
37858 (char *) "self", NULL
37861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37866 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37868 wxPyEndAllowThreads(__tstate
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37871 resultobj
= result
;
37878 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37881 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37883 return Py_BuildValue((char *)"");
37885 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37886 PyObject
*resultobj
;
37887 int arg1
= (int) 1 ;
37888 int arg2
= (int) 1 ;
37890 PyObject
* obj0
= 0 ;
37891 PyObject
* obj1
= 0 ;
37892 char *kwnames
[] = {
37893 (char *) "rowspan",(char *) "colspan", NULL
37896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37898 arg1
= (int)SWIG_As_int(obj0
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37902 arg2
= (int)SWIG_As_int(obj1
);
37903 if (PyErr_Occurred()) SWIG_fail
;
37906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37907 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37919 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37920 PyObject
*resultobj
;
37921 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37923 PyObject
* obj0
= 0 ;
37924 char *kwnames
[] = {
37925 (char *) "self", NULL
37928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37935 wxPyEndAllowThreads(__tstate
);
37936 if (PyErr_Occurred()) SWIG_fail
;
37938 resultobj
= SWIG_From_int((int)result
);
37945 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37946 PyObject
*resultobj
;
37947 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37949 PyObject
* obj0
= 0 ;
37950 char *kwnames
[] = {
37951 (char *) "self", NULL
37954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37959 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37964 resultobj
= SWIG_From_int((int)result
);
37971 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37972 PyObject
*resultobj
;
37973 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37975 PyObject
* obj0
= 0 ;
37976 PyObject
* obj1
= 0 ;
37977 char *kwnames
[] = {
37978 (char *) "self",(char *) "rowspan", NULL
37981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37984 arg2
= (int)SWIG_As_int(obj1
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37988 (arg1
)->SetRowspan(arg2
);
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37993 Py_INCREF(Py_None
); resultobj
= Py_None
;
38000 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38001 PyObject
*resultobj
;
38002 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38004 PyObject
* obj0
= 0 ;
38005 PyObject
* obj1
= 0 ;
38006 char *kwnames
[] = {
38007 (char *) "self",(char *) "colspan", NULL
38010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38013 arg2
= (int)SWIG_As_int(obj1
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38017 (arg1
)->SetColspan(arg2
);
38019 wxPyEndAllowThreads(__tstate
);
38020 if (PyErr_Occurred()) SWIG_fail
;
38022 Py_INCREF(Py_None
); resultobj
= Py_None
;
38029 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38030 PyObject
*resultobj
;
38031 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38032 wxGBSpan
*arg2
= 0 ;
38035 PyObject
* obj0
= 0 ;
38036 PyObject
* obj1
= 0 ;
38037 char *kwnames
[] = {
38038 (char *) "self",(char *) "other", NULL
38041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38046 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38064 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38065 PyObject
*resultobj
;
38066 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38067 wxGBSpan
*arg2
= 0 ;
38070 PyObject
* obj0
= 0 ;
38071 PyObject
* obj1
= 0 ;
38072 char *kwnames
[] = {
38073 (char *) "self",(char *) "other", NULL
38076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38081 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38085 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38087 wxPyEndAllowThreads(__tstate
);
38088 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38099 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38100 PyObject
*resultobj
;
38101 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38102 int arg2
= (int) 1 ;
38103 int arg3
= (int) 1 ;
38104 PyObject
* obj0
= 0 ;
38105 PyObject
* obj1
= 0 ;
38106 PyObject
* obj2
= 0 ;
38107 char *kwnames
[] = {
38108 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38115 arg2
= (int)SWIG_As_int(obj1
);
38116 if (PyErr_Occurred()) SWIG_fail
;
38119 arg3
= (int)SWIG_As_int(obj2
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 wxGBSpan_Set(arg1
,arg2
,arg3
);
38126 wxPyEndAllowThreads(__tstate
);
38127 if (PyErr_Occurred()) SWIG_fail
;
38129 Py_INCREF(Py_None
); resultobj
= Py_None
;
38136 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38137 PyObject
*resultobj
;
38138 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38140 PyObject
* obj0
= 0 ;
38141 char *kwnames
[] = {
38142 (char *) "self", NULL
38145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38152 wxPyEndAllowThreads(__tstate
);
38153 if (PyErr_Occurred()) SWIG_fail
;
38155 resultobj
= result
;
38162 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38165 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38167 return Py_BuildValue((char *)"");
38169 static int _wrap_DefaultSpan_set(PyObject
*) {
38170 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38175 static PyObject
*_wrap_DefaultSpan_get() {
38178 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38183 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38184 PyObject
*resultobj
;
38185 wxGBSizerItem
*result
;
38186 char *kwnames
[] = {
38190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38193 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38195 wxPyEndAllowThreads(__tstate
);
38196 if (PyErr_Occurred()) SWIG_fail
;
38198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38205 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38206 PyObject
*resultobj
;
38207 wxWindow
*arg1
= (wxWindow
*) 0 ;
38208 wxGBPosition
*arg2
= 0 ;
38209 wxGBSpan
*arg3
= 0 ;
38212 PyObject
*arg6
= (PyObject
*) NULL
;
38213 wxGBSizerItem
*result
;
38214 wxGBPosition temp2
;
38216 PyObject
* obj0
= 0 ;
38217 PyObject
* obj1
= 0 ;
38218 PyObject
* obj2
= 0 ;
38219 PyObject
* obj3
= 0 ;
38220 PyObject
* obj4
= 0 ;
38221 PyObject
* obj5
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38231 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38235 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38237 arg4
= (int)SWIG_As_int(obj3
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38239 arg5
= (int)SWIG_As_int(obj4
);
38240 if (PyErr_Occurred()) SWIG_fail
;
38245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38246 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38248 wxPyEndAllowThreads(__tstate
);
38249 if (PyErr_Occurred()) SWIG_fail
;
38251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38258 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38259 PyObject
*resultobj
;
38260 wxSizer
*arg1
= (wxSizer
*) 0 ;
38261 wxGBPosition
*arg2
= 0 ;
38262 wxGBSpan
*arg3
= 0 ;
38265 PyObject
*arg6
= (PyObject
*) NULL
;
38266 wxGBSizerItem
*result
;
38267 wxGBPosition temp2
;
38269 PyObject
* obj0
= 0 ;
38270 PyObject
* obj1
= 0 ;
38271 PyObject
* obj2
= 0 ;
38272 PyObject
* obj3
= 0 ;
38273 PyObject
* obj4
= 0 ;
38274 PyObject
* obj5
= 0 ;
38275 char *kwnames
[] = {
38276 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38284 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38288 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38290 arg4
= (int)SWIG_As_int(obj3
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38292 arg5
= (int)SWIG_As_int(obj4
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38301 wxPyEndAllowThreads(__tstate
);
38302 if (PyErr_Occurred()) SWIG_fail
;
38304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38311 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38312 PyObject
*resultobj
;
38315 wxGBPosition
*arg3
= 0 ;
38316 wxGBSpan
*arg4
= 0 ;
38319 PyObject
*arg7
= (PyObject
*) NULL
;
38320 wxGBSizerItem
*result
;
38321 wxGBPosition temp3
;
38323 PyObject
* obj0
= 0 ;
38324 PyObject
* obj1
= 0 ;
38325 PyObject
* obj2
= 0 ;
38326 PyObject
* obj3
= 0 ;
38327 PyObject
* obj4
= 0 ;
38328 PyObject
* obj5
= 0 ;
38329 PyObject
* obj6
= 0 ;
38330 char *kwnames
[] = {
38331 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38335 arg1
= (int)SWIG_As_int(obj0
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38337 arg2
= (int)SWIG_As_int(obj1
);
38338 if (PyErr_Occurred()) SWIG_fail
;
38341 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38345 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38347 arg5
= (int)SWIG_As_int(obj4
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38349 arg6
= (int)SWIG_As_int(obj5
);
38350 if (PyErr_Occurred()) SWIG_fail
;
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38358 wxPyEndAllowThreads(__tstate
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38368 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38369 PyObject
*resultobj
;
38370 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38371 wxGBPosition result
;
38372 PyObject
* obj0
= 0 ;
38373 char *kwnames
[] = {
38374 (char *) "self", NULL
38377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38388 wxGBPosition
* resultptr
;
38389 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38398 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38399 PyObject
*resultobj
;
38400 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38402 PyObject
* obj0
= 0 ;
38403 char *kwnames
[] = {
38404 (char *) "self", NULL
38407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38412 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38414 wxPyEndAllowThreads(__tstate
);
38415 if (PyErr_Occurred()) SWIG_fail
;
38418 wxGBSpan
* resultptr
;
38419 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38428 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38429 PyObject
*resultobj
;
38430 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38431 wxGBPosition
*arg2
= 0 ;
38433 wxGBPosition temp2
;
38434 PyObject
* obj0
= 0 ;
38435 PyObject
* obj1
= 0 ;
38436 char *kwnames
[] = {
38437 (char *) "self",(char *) "pos", NULL
38440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38445 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38449 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38451 wxPyEndAllowThreads(__tstate
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38463 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38464 PyObject
*resultobj
;
38465 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38466 wxGBSpan
*arg2
= 0 ;
38469 PyObject
* obj0
= 0 ;
38470 PyObject
* obj1
= 0 ;
38471 char *kwnames
[] = {
38472 (char *) "self",(char *) "span", NULL
38475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38480 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38484 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38486 wxPyEndAllowThreads(__tstate
);
38487 if (PyErr_Occurred()) SWIG_fail
;
38490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38498 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38499 PyObject
*resultobj
;
38500 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38501 wxGBSizerItem
*arg2
= 0 ;
38503 PyObject
* obj0
= 0 ;
38504 PyObject
* obj1
= 0 ;
38505 char *kwnames
[] = {
38506 (char *) "self",(char *) "other", NULL
38509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38515 if (arg2
== NULL
) {
38516 PyErr_SetString(PyExc_TypeError
,"null reference");
38520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38521 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38523 wxPyEndAllowThreads(__tstate
);
38524 if (PyErr_Occurred()) SWIG_fail
;
38527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38535 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38536 PyObject
*resultobj
;
38537 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38538 wxGBPosition
*arg2
= 0 ;
38539 wxGBSpan
*arg3
= 0 ;
38541 wxGBPosition temp2
;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38546 char *kwnames
[] = {
38547 (char *) "self",(char *) "pos",(char *) "span", NULL
38550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38555 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38559 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38577 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38578 PyObject
*resultobj
;
38579 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38580 wxGBPosition result
;
38581 PyObject
* obj0
= 0 ;
38582 char *kwnames
[] = {
38583 (char *) "self", NULL
38586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38591 result
= wxGBSizerItem_GetEndPos(arg1
);
38593 wxPyEndAllowThreads(__tstate
);
38594 if (PyErr_Occurred()) SWIG_fail
;
38597 wxGBPosition
* resultptr
;
38598 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38607 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38608 PyObject
*resultobj
;
38609 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38610 wxGridBagSizer
*result
;
38611 PyObject
* obj0
= 0 ;
38612 char *kwnames
[] = {
38613 (char *) "self", NULL
38616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38621 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38623 wxPyEndAllowThreads(__tstate
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38633 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
;
38635 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38636 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38637 PyObject
* obj0
= 0 ;
38638 PyObject
* obj1
= 0 ;
38639 char *kwnames
[] = {
38640 (char *) "self",(char *) "sizer", NULL
38643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 (arg1
)->SetGBSizer(arg2
);
38652 wxPyEndAllowThreads(__tstate
);
38653 if (PyErr_Occurred()) SWIG_fail
;
38655 Py_INCREF(Py_None
); resultobj
= Py_None
;
38662 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38665 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38667 return Py_BuildValue((char *)"");
38669 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38670 PyObject
*resultobj
;
38671 int arg1
= (int) 0 ;
38672 int arg2
= (int) 0 ;
38673 wxGridBagSizer
*result
;
38674 PyObject
* obj0
= 0 ;
38675 PyObject
* obj1
= 0 ;
38676 char *kwnames
[] = {
38677 (char *) "vgap",(char *) "hgap", NULL
38680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38682 arg1
= (int)SWIG_As_int(obj0
);
38683 if (PyErr_Occurred()) SWIG_fail
;
38686 arg2
= (int)SWIG_As_int(obj1
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38703 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38704 PyObject
*resultobj
;
38705 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38706 PyObject
*arg2
= (PyObject
*) 0 ;
38707 wxGBPosition
*arg3
= 0 ;
38708 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38709 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38710 int arg5
= (int) 0 ;
38711 int arg6
= (int) 0 ;
38712 PyObject
*arg7
= (PyObject
*) NULL
;
38713 wxGBSizerItem
*result
;
38714 wxGBPosition temp3
;
38716 PyObject
* obj0
= 0 ;
38717 PyObject
* obj1
= 0 ;
38718 PyObject
* obj2
= 0 ;
38719 PyObject
* obj3
= 0 ;
38720 PyObject
* obj4
= 0 ;
38721 PyObject
* obj5
= 0 ;
38722 PyObject
* obj6
= 0 ;
38723 char *kwnames
[] = {
38724 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38733 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38738 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38742 arg5
= (int)SWIG_As_int(obj4
);
38743 if (PyErr_Occurred()) SWIG_fail
;
38746 arg6
= (int)SWIG_As_int(obj5
);
38747 if (PyErr_Occurred()) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38756 wxPyEndAllowThreads(__tstate
);
38757 if (PyErr_Occurred()) SWIG_fail
;
38759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38766 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38767 PyObject
*resultobj
;
38768 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38769 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38770 wxGBSizerItem
*result
;
38771 PyObject
* obj0
= 0 ;
38772 PyObject
* obj1
= 0 ;
38773 char *kwnames
[] = {
38774 (char *) "self",(char *) "item", NULL
38777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38784 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
38786 wxPyEndAllowThreads(__tstate
);
38787 if (PyErr_Occurred()) SWIG_fail
;
38789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38796 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38797 PyObject
*resultobj
;
38798 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38802 PyObject
* obj0
= 0 ;
38803 PyObject
* obj1
= 0 ;
38804 PyObject
* obj2
= 0 ;
38805 char *kwnames
[] = {
38806 (char *) "self",(char *) "row",(char *) "col", NULL
38809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38812 arg2
= (int)SWIG_As_int(obj1
);
38813 if (PyErr_Occurred()) SWIG_fail
;
38814 arg3
= (int)SWIG_As_int(obj2
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38820 wxPyEndAllowThreads(__tstate
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38824 wxSize
* resultptr
;
38825 resultptr
= new wxSize((wxSize
&) result
);
38826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38834 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38835 PyObject
*resultobj
;
38836 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38838 PyObject
* obj0
= 0 ;
38839 char *kwnames
[] = {
38840 (char *) "self", NULL
38843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38848 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38850 wxPyEndAllowThreads(__tstate
);
38851 if (PyErr_Occurred()) SWIG_fail
;
38854 wxSize
* resultptr
;
38855 resultptr
= new wxSize((wxSize
&) result
);
38856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38864 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38865 PyObject
*resultobj
;
38866 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38869 PyObject
* obj0
= 0 ;
38870 PyObject
* obj1
= 0 ;
38871 char *kwnames
[] = {
38872 (char *) "self",(char *) "sz", NULL
38875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38880 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38884 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38886 wxPyEndAllowThreads(__tstate
);
38887 if (PyErr_Occurred()) SWIG_fail
;
38889 Py_INCREF(Py_None
); resultobj
= Py_None
;
38896 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38897 PyObject
*resultobj
;
38898 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38899 wxWindow
*arg2
= (wxWindow
*) 0 ;
38900 wxGBPosition result
;
38901 PyObject
* obj0
= 0 ;
38902 PyObject
* obj1
= 0 ;
38904 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 result
= (arg1
)->GetItemPosition(arg2
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38917 wxGBPosition
* resultptr
;
38918 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38927 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38928 PyObject
*resultobj
;
38929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38930 wxSizer
*arg2
= (wxSizer
*) 0 ;
38931 wxGBPosition result
;
38932 PyObject
* obj0
= 0 ;
38933 PyObject
* obj1
= 0 ;
38935 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38942 result
= (arg1
)->GetItemPosition(arg2
);
38944 wxPyEndAllowThreads(__tstate
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38948 wxGBPosition
* resultptr
;
38949 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38958 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38959 PyObject
*resultobj
;
38960 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38962 wxGBPosition result
;
38963 PyObject
* obj0
= 0 ;
38964 PyObject
* obj1
= 0 ;
38966 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38969 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38970 if (PyErr_Occurred()) SWIG_fail
;
38972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38973 result
= (arg1
)->GetItemPosition(arg2
);
38975 wxPyEndAllowThreads(__tstate
);
38976 if (PyErr_Occurred()) SWIG_fail
;
38979 wxGBPosition
* resultptr
;
38980 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38989 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38994 argc
= PyObject_Length(args
);
38995 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38996 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39002 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39012 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39020 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39028 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39038 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39046 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39054 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39062 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39064 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39069 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39074 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39075 PyObject
*resultobj
;
39076 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39077 wxWindow
*arg2
= (wxWindow
*) 0 ;
39078 wxGBPosition
*arg3
= 0 ;
39080 wxGBPosition temp3
;
39081 PyObject
* obj0
= 0 ;
39082 PyObject
* obj1
= 0 ;
39083 PyObject
* obj2
= 0 ;
39085 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39092 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39096 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39098 wxPyEndAllowThreads(__tstate
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39110 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39111 PyObject
*resultobj
;
39112 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39113 wxSizer
*arg2
= (wxSizer
*) 0 ;
39114 wxGBPosition
*arg3
= 0 ;
39116 wxGBPosition temp3
;
39117 PyObject
* obj0
= 0 ;
39118 PyObject
* obj1
= 0 ;
39119 PyObject
* obj2
= 0 ;
39121 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39128 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39132 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39134 wxPyEndAllowThreads(__tstate
);
39135 if (PyErr_Occurred()) SWIG_fail
;
39138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39146 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39147 PyObject
*resultobj
;
39148 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39150 wxGBPosition
*arg3
= 0 ;
39152 wxGBPosition temp3
;
39153 PyObject
* obj0
= 0 ;
39154 PyObject
* obj1
= 0 ;
39155 PyObject
* obj2
= 0 ;
39157 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39160 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39161 if (PyErr_Occurred()) SWIG_fail
;
39164 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39168 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39170 wxPyEndAllowThreads(__tstate
);
39171 if (PyErr_Occurred()) SWIG_fail
;
39174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39182 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39187 argc
= PyObject_Length(args
);
39188 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39189 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39205 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39214 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39217 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39226 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39236 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39245 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39248 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39257 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39265 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39268 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39271 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39277 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39282 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39283 PyObject
*resultobj
;
39284 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39285 wxWindow
*arg2
= (wxWindow
*) 0 ;
39287 PyObject
* obj0
= 0 ;
39288 PyObject
* obj1
= 0 ;
39290 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 result
= (arg1
)->GetItemSpan(arg2
);
39299 wxPyEndAllowThreads(__tstate
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39303 wxGBSpan
* resultptr
;
39304 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39313 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39314 PyObject
*resultobj
;
39315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39316 wxSizer
*arg2
= (wxSizer
*) 0 ;
39318 PyObject
* obj0
= 0 ;
39319 PyObject
* obj1
= 0 ;
39321 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 result
= (arg1
)->GetItemSpan(arg2
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39334 wxGBSpan
* resultptr
;
39335 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39344 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39345 PyObject
*resultobj
;
39346 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39349 PyObject
* obj0
= 0 ;
39350 PyObject
* obj1
= 0 ;
39352 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39355 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39359 result
= (arg1
)->GetItemSpan(arg2
);
39361 wxPyEndAllowThreads(__tstate
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39365 wxGBSpan
* resultptr
;
39366 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39375 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39380 argc
= PyObject_Length(args
);
39381 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39382 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39388 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39398 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39406 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39414 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39424 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39432 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39440 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39448 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39450 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39455 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39460 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39461 PyObject
*resultobj
;
39462 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39463 wxWindow
*arg2
= (wxWindow
*) 0 ;
39464 wxGBSpan
*arg3
= 0 ;
39467 PyObject
* obj0
= 0 ;
39468 PyObject
* obj1
= 0 ;
39469 PyObject
* obj2
= 0 ;
39471 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39478 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39482 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39484 wxPyEndAllowThreads(__tstate
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39496 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39497 PyObject
*resultobj
;
39498 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39499 wxSizer
*arg2
= (wxSizer
*) 0 ;
39500 wxGBSpan
*arg3
= 0 ;
39503 PyObject
* obj0
= 0 ;
39504 PyObject
* obj1
= 0 ;
39505 PyObject
* obj2
= 0 ;
39507 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39514 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39520 wxPyEndAllowThreads(__tstate
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39532 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39533 PyObject
*resultobj
;
39534 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39536 wxGBSpan
*arg3
= 0 ;
39539 PyObject
* obj0
= 0 ;
39540 PyObject
* obj1
= 0 ;
39541 PyObject
* obj2
= 0 ;
39543 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39546 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39550 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39554 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39568 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39573 argc
= PyObject_Length(args
);
39574 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39575 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39581 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39591 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39600 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39603 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39612 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39622 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39631 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39634 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39643 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39651 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39654 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39657 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39663 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39668 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39669 PyObject
*resultobj
;
39670 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39671 wxWindow
*arg2
= (wxWindow
*) 0 ;
39672 wxGBSizerItem
*result
;
39673 PyObject
* obj0
= 0 ;
39674 PyObject
* obj1
= 0 ;
39676 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39683 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39685 wxPyEndAllowThreads(__tstate
);
39686 if (PyErr_Occurred()) SWIG_fail
;
39688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39695 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39696 PyObject
*resultobj
;
39697 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39698 wxSizer
*arg2
= (wxSizer
*) 0 ;
39699 wxGBSizerItem
*result
;
39700 PyObject
* obj0
= 0 ;
39701 PyObject
* obj1
= 0 ;
39703 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39710 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39712 wxPyEndAllowThreads(__tstate
);
39713 if (PyErr_Occurred()) SWIG_fail
;
39715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39722 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39727 argc
= PyObject_Length(args
);
39728 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39729 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39735 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39745 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39753 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39761 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39771 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39779 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39784 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39789 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39790 PyObject
*resultobj
;
39791 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39792 wxGBPosition
*arg2
= 0 ;
39793 wxGBSizerItem
*result
;
39794 wxGBPosition temp2
;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char *kwnames
[] = {
39798 (char *) "self",(char *) "pos", NULL
39801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39806 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39810 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39822 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39823 PyObject
*resultobj
;
39824 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39825 wxPoint
*arg2
= 0 ;
39826 wxGBSizerItem
*result
;
39828 PyObject
* obj0
= 0 ;
39829 PyObject
* obj1
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self",(char *) "pt", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39845 wxPyEndAllowThreads(__tstate
);
39846 if (PyErr_Occurred()) SWIG_fail
;
39848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39855 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39856 PyObject
*resultobj
;
39857 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39858 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39859 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39861 PyObject
* obj0
= 0 ;
39862 PyObject
* obj1
= 0 ;
39863 PyObject
* obj2
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39874 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39879 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39881 wxPyEndAllowThreads(__tstate
);
39882 if (PyErr_Occurred()) SWIG_fail
;
39885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39893 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39894 PyObject
*resultobj
;
39895 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39896 wxGBPosition
*arg2
= 0 ;
39897 wxGBSpan
*arg3
= 0 ;
39898 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39900 wxGBPosition temp2
;
39902 PyObject
* obj0
= 0 ;
39903 PyObject
* obj1
= 0 ;
39904 PyObject
* obj2
= 0 ;
39905 PyObject
* obj3
= 0 ;
39906 char *kwnames
[] = {
39907 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39915 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39919 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39922 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39927 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39929 wxPyEndAllowThreads(__tstate
);
39930 if (PyErr_Occurred()) SWIG_fail
;
39933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39941 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39944 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39946 return Py_BuildValue((char *)"");
39948 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
;
39950 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39952 wxWindow
*arg3
= (wxWindow
*) 0 ;
39954 int arg5
= (int) 0 ;
39955 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39956 PyObject
* obj0
= 0 ;
39957 PyObject
* obj1
= 0 ;
39958 PyObject
* obj2
= 0 ;
39959 PyObject
* obj3
= 0 ;
39960 PyObject
* obj4
= 0 ;
39961 PyObject
* obj5
= 0 ;
39962 char *kwnames
[] = {
39963 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39969 arg2
= (int)SWIG_As_int(obj1
);
39970 if (PyErr_Occurred()) SWIG_fail
;
39971 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39973 arg4
= (int)SWIG_As_int(obj3
);
39974 if (PyErr_Occurred()) SWIG_fail
;
39976 arg5
= (int)SWIG_As_int(obj4
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39980 arg6
= (int)SWIG_As_int(obj5
);
39981 if (PyErr_Occurred()) SWIG_fail
;
39984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39987 wxPyEndAllowThreads(__tstate
);
39988 if (PyErr_Occurred()) SWIG_fail
;
39990 Py_INCREF(Py_None
); resultobj
= Py_None
;
39997 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39998 PyObject
*resultobj
;
39999 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40000 wxWindow
*arg2
= (wxWindow
*) 0 ;
40001 int arg3
= (int) 0 ;
40002 PyObject
* obj0
= 0 ;
40003 PyObject
* obj1
= 0 ;
40004 PyObject
* obj2
= 0 ;
40005 char *kwnames
[] = {
40006 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40015 arg3
= (int)SWIG_As_int(obj2
);
40016 if (PyErr_Occurred()) SWIG_fail
;
40019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40020 (arg1
)->LeftOf(arg2
,arg3
);
40022 wxPyEndAllowThreads(__tstate
);
40023 if (PyErr_Occurred()) SWIG_fail
;
40025 Py_INCREF(Py_None
); resultobj
= Py_None
;
40032 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40035 wxWindow
*arg2
= (wxWindow
*) 0 ;
40036 int arg3
= (int) 0 ;
40037 PyObject
* obj0
= 0 ;
40038 PyObject
* obj1
= 0 ;
40039 PyObject
* obj2
= 0 ;
40040 char *kwnames
[] = {
40041 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40050 arg3
= (int)SWIG_As_int(obj2
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40055 (arg1
)->RightOf(arg2
,arg3
);
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40060 Py_INCREF(Py_None
); resultobj
= Py_None
;
40067 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40068 PyObject
*resultobj
;
40069 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40070 wxWindow
*arg2
= (wxWindow
*) 0 ;
40071 int arg3
= (int) 0 ;
40072 PyObject
* obj0
= 0 ;
40073 PyObject
* obj1
= 0 ;
40074 PyObject
* obj2
= 0 ;
40075 char *kwnames
[] = {
40076 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40085 arg3
= (int)SWIG_As_int(obj2
);
40086 if (PyErr_Occurred()) SWIG_fail
;
40089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40090 (arg1
)->Above(arg2
,arg3
);
40092 wxPyEndAllowThreads(__tstate
);
40093 if (PyErr_Occurred()) SWIG_fail
;
40095 Py_INCREF(Py_None
); resultobj
= Py_None
;
40102 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40103 PyObject
*resultobj
;
40104 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40105 wxWindow
*arg2
= (wxWindow
*) 0 ;
40106 int arg3
= (int) 0 ;
40107 PyObject
* obj0
= 0 ;
40108 PyObject
* obj1
= 0 ;
40109 PyObject
* obj2
= 0 ;
40110 char *kwnames
[] = {
40111 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40120 arg3
= (int)SWIG_As_int(obj2
);
40121 if (PyErr_Occurred()) SWIG_fail
;
40124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40125 (arg1
)->Below(arg2
,arg3
);
40127 wxPyEndAllowThreads(__tstate
);
40128 if (PyErr_Occurred()) SWIG_fail
;
40130 Py_INCREF(Py_None
); resultobj
= Py_None
;
40137 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
;
40139 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40140 wxWindow
*arg2
= (wxWindow
*) 0 ;
40142 int arg4
= (int) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 PyObject
* obj2
= 0 ;
40146 PyObject
* obj3
= 0 ;
40147 char *kwnames
[] = {
40148 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40156 arg3
= (int)SWIG_As_int(obj2
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40159 arg4
= (int)SWIG_As_int(obj3
);
40160 if (PyErr_Occurred()) SWIG_fail
;
40163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40164 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40166 wxPyEndAllowThreads(__tstate
);
40167 if (PyErr_Occurred()) SWIG_fail
;
40169 Py_INCREF(Py_None
); resultobj
= Py_None
;
40176 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40177 PyObject
*resultobj
;
40178 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40179 wxWindow
*arg2
= (wxWindow
*) 0 ;
40182 PyObject
* obj0
= 0 ;
40183 PyObject
* obj1
= 0 ;
40184 PyObject
* obj2
= 0 ;
40185 PyObject
* obj3
= 0 ;
40186 char *kwnames
[] = {
40187 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40195 arg3
= (int)SWIG_As_int(obj2
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40197 arg4
= (int)SWIG_As_int(obj3
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40201 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40203 wxPyEndAllowThreads(__tstate
);
40204 if (PyErr_Occurred()) SWIG_fail
;
40206 Py_INCREF(Py_None
); resultobj
= Py_None
;
40213 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
;
40215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40217 PyObject
* obj0
= 0 ;
40218 PyObject
* obj1
= 0 ;
40219 char *kwnames
[] = {
40220 (char *) "self",(char *) "val", NULL
40223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40226 arg2
= (int)SWIG_As_int(obj1
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40230 (arg1
)->Absolute(arg2
);
40232 wxPyEndAllowThreads(__tstate
);
40233 if (PyErr_Occurred()) SWIG_fail
;
40235 Py_INCREF(Py_None
); resultobj
= Py_None
;
40242 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40243 PyObject
*resultobj
;
40244 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40245 PyObject
* obj0
= 0 ;
40246 char *kwnames
[] = {
40247 (char *) "self", NULL
40250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 (arg1
)->Unconstrained();
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40260 Py_INCREF(Py_None
); resultobj
= Py_None
;
40267 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40270 PyObject
* obj0
= 0 ;
40271 char *kwnames
[] = {
40272 (char *) "self", NULL
40275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40282 wxPyEndAllowThreads(__tstate
);
40283 if (PyErr_Occurred()) SWIG_fail
;
40285 Py_INCREF(Py_None
); resultobj
= Py_None
;
40292 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40293 PyObject
*resultobj
;
40294 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40296 PyObject
* obj0
= 0 ;
40297 char *kwnames
[] = {
40298 (char *) "self", NULL
40301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40306 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40308 wxPyEndAllowThreads(__tstate
);
40309 if (PyErr_Occurred()) SWIG_fail
;
40312 resultobj
= wxPyMake_wxObject(result
, 0);
40320 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40321 PyObject
*resultobj
;
40322 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40324 PyObject
* obj0
= 0 ;
40325 char *kwnames
[] = {
40326 (char *) "self", NULL
40329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40334 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40336 wxPyEndAllowThreads(__tstate
);
40337 if (PyErr_Occurred()) SWIG_fail
;
40339 resultobj
= SWIG_From_int((int)result
);
40346 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40347 PyObject
*resultobj
;
40348 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40350 PyObject
* obj0
= 0 ;
40351 PyObject
* obj1
= 0 ;
40352 char *kwnames
[] = {
40353 (char *) "self",(char *) "which", NULL
40356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40359 arg2
= (int)SWIG_As_int(obj1
);
40360 if (PyErr_Occurred()) SWIG_fail
;
40362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40363 (arg1
)->SetEdge((wxEdge
)arg2
);
40365 wxPyEndAllowThreads(__tstate
);
40366 if (PyErr_Occurred()) SWIG_fail
;
40368 Py_INCREF(Py_None
); resultobj
= Py_None
;
40375 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40376 PyObject
*resultobj
;
40377 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40379 PyObject
* obj0
= 0 ;
40380 PyObject
* obj1
= 0 ;
40381 char *kwnames
[] = {
40382 (char *) "self",(char *) "v", NULL
40385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40388 arg2
= (int)SWIG_As_int(obj1
);
40389 if (PyErr_Occurred()) SWIG_fail
;
40391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40392 (arg1
)->SetValue(arg2
);
40394 wxPyEndAllowThreads(__tstate
);
40395 if (PyErr_Occurred()) SWIG_fail
;
40397 Py_INCREF(Py_None
); resultobj
= Py_None
;
40404 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40405 PyObject
*resultobj
;
40406 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40408 PyObject
* obj0
= 0 ;
40409 char *kwnames
[] = {
40410 (char *) "self", NULL
40413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40418 result
= (int)(arg1
)->GetMargin();
40420 wxPyEndAllowThreads(__tstate
);
40421 if (PyErr_Occurred()) SWIG_fail
;
40423 resultobj
= SWIG_From_int((int)result
);
40430 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40431 PyObject
*resultobj
;
40432 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40434 PyObject
* obj0
= 0 ;
40435 PyObject
* obj1
= 0 ;
40436 char *kwnames
[] = {
40437 (char *) "self",(char *) "m", NULL
40440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40443 arg2
= (int)SWIG_As_int(obj1
);
40444 if (PyErr_Occurred()) SWIG_fail
;
40446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40447 (arg1
)->SetMargin(arg2
);
40449 wxPyEndAllowThreads(__tstate
);
40450 if (PyErr_Occurred()) SWIG_fail
;
40452 Py_INCREF(Py_None
); resultobj
= Py_None
;
40459 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40460 PyObject
*resultobj
;
40461 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40463 PyObject
* obj0
= 0 ;
40464 char *kwnames
[] = {
40465 (char *) "self", NULL
40468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40473 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40475 wxPyEndAllowThreads(__tstate
);
40476 if (PyErr_Occurred()) SWIG_fail
;
40478 resultobj
= SWIG_From_int((int)result
);
40485 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40486 PyObject
*resultobj
;
40487 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40489 PyObject
* obj0
= 0 ;
40490 char *kwnames
[] = {
40491 (char *) "self", NULL
40494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40501 wxPyEndAllowThreads(__tstate
);
40502 if (PyErr_Occurred()) SWIG_fail
;
40504 resultobj
= SWIG_From_int((int)result
);
40511 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
;
40513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40515 PyObject
* obj0
= 0 ;
40516 char *kwnames
[] = {
40517 (char *) "self", NULL
40520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40525 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40527 wxPyEndAllowThreads(__tstate
);
40528 if (PyErr_Occurred()) SWIG_fail
;
40530 resultobj
= SWIG_From_int((int)result
);
40537 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40538 PyObject
*resultobj
;
40539 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40541 PyObject
* obj0
= 0 ;
40542 char *kwnames
[] = {
40543 (char *) "self", NULL
40546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40551 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40553 wxPyEndAllowThreads(__tstate
);
40554 if (PyErr_Occurred()) SWIG_fail
;
40557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40565 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40566 PyObject
*resultobj
;
40567 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40569 PyObject
* obj0
= 0 ;
40570 PyObject
* obj1
= 0 ;
40571 char *kwnames
[] = {
40572 (char *) "self",(char *) "d", NULL
40575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40578 arg2
= (bool)SWIG_As_bool(obj1
);
40579 if (PyErr_Occurred()) SWIG_fail
;
40581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40582 (arg1
)->SetDone(arg2
);
40584 wxPyEndAllowThreads(__tstate
);
40585 if (PyErr_Occurred()) SWIG_fail
;
40587 Py_INCREF(Py_None
); resultobj
= Py_None
;
40594 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40595 PyObject
*resultobj
;
40596 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40598 PyObject
* obj0
= 0 ;
40599 char *kwnames
[] = {
40600 (char *) "self", NULL
40603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40608 result
= (int)(arg1
)->GetRelationship();
40610 wxPyEndAllowThreads(__tstate
);
40611 if (PyErr_Occurred()) SWIG_fail
;
40613 resultobj
= SWIG_From_int((int)result
);
40620 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40621 PyObject
*resultobj
;
40622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40624 PyObject
* obj0
= 0 ;
40625 PyObject
* obj1
= 0 ;
40626 char *kwnames
[] = {
40627 (char *) "self",(char *) "r", NULL
40630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40633 arg2
= (int)SWIG_As_int(obj1
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40637 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40639 wxPyEndAllowThreads(__tstate
);
40640 if (PyErr_Occurred()) SWIG_fail
;
40642 Py_INCREF(Py_None
); resultobj
= Py_None
;
40649 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40650 PyObject
*resultobj
;
40651 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40652 wxWindow
*arg2
= (wxWindow
*) 0 ;
40654 PyObject
* obj0
= 0 ;
40655 PyObject
* obj1
= 0 ;
40656 char *kwnames
[] = {
40657 (char *) "self",(char *) "otherW", NULL
40660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40667 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40669 wxPyEndAllowThreads(__tstate
);
40670 if (PyErr_Occurred()) SWIG_fail
;
40673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40681 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40682 PyObject
*resultobj
;
40683 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40684 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40685 wxWindow
*arg3
= (wxWindow
*) 0 ;
40687 PyObject
* obj0
= 0 ;
40688 PyObject
* obj1
= 0 ;
40689 PyObject
* obj2
= 0 ;
40690 char *kwnames
[] = {
40691 (char *) "self",(char *) "constraints",(char *) "win", NULL
40694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40703 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40705 wxPyEndAllowThreads(__tstate
);
40706 if (PyErr_Occurred()) SWIG_fail
;
40709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40717 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40718 PyObject
*resultobj
;
40719 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40721 wxWindow
*arg3
= (wxWindow
*) 0 ;
40722 wxWindow
*arg4
= (wxWindow
*) 0 ;
40724 PyObject
* obj0
= 0 ;
40725 PyObject
* obj1
= 0 ;
40726 PyObject
* obj2
= 0 ;
40727 PyObject
* obj3
= 0 ;
40728 char *kwnames
[] = {
40729 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40735 arg2
= (int)SWIG_As_int(obj1
);
40736 if (PyErr_Occurred()) SWIG_fail
;
40737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40739 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40743 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40745 wxPyEndAllowThreads(__tstate
);
40746 if (PyErr_Occurred()) SWIG_fail
;
40748 resultobj
= SWIG_From_int((int)result
);
40755 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40758 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40760 return Py_BuildValue((char *)"");
40762 static PyObject
*_wrap_LayoutConstraints_left_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_left_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
)->left
);
40776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40783 static PyObject
*_wrap_LayoutConstraints_top_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_top_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
)->top
);
40797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40804 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40807 wxIndividualLayoutConstraint
*result
;
40808 PyObject
* obj0
= 0 ;
40809 char *kwnames
[] = {
40810 (char *) "self", NULL
40813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40816 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40825 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40826 PyObject
*resultobj
;
40827 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40828 wxIndividualLayoutConstraint
*result
;
40829 PyObject
* obj0
= 0 ;
40830 char *kwnames
[] = {
40831 (char *) "self", NULL
40834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40837 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40846 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40847 PyObject
*resultobj
;
40848 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40849 wxIndividualLayoutConstraint
*result
;
40850 PyObject
* obj0
= 0 ;
40851 char *kwnames
[] = {
40852 (char *) "self", NULL
40855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40858 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40867 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40868 PyObject
*resultobj
;
40869 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40870 wxIndividualLayoutConstraint
*result
;
40871 PyObject
* obj0
= 0 ;
40872 char *kwnames
[] = {
40873 (char *) "self", NULL
40876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40879 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40888 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40889 PyObject
*resultobj
;
40890 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40891 wxIndividualLayoutConstraint
*result
;
40892 PyObject
* obj0
= 0 ;
40893 char *kwnames
[] = {
40894 (char *) "self", NULL
40897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40900 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40909 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40910 PyObject
*resultobj
;
40911 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40912 wxIndividualLayoutConstraint
*result
;
40913 PyObject
* obj0
= 0 ;
40914 char *kwnames
[] = {
40915 (char *) "self", NULL
40918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40921 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40930 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40931 PyObject
*resultobj
;
40932 wxLayoutConstraints
*result
;
40933 char *kwnames
[] = {
40937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40940 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40942 wxPyEndAllowThreads(__tstate
);
40943 if (PyErr_Occurred()) SWIG_fail
;
40945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40952 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40953 PyObject
*resultobj
;
40954 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40955 wxWindow
*arg2
= (wxWindow
*) 0 ;
40956 int *arg3
= (int *) 0 ;
40960 PyObject
* obj0
= 0 ;
40961 PyObject
* obj1
= 0 ;
40962 char *kwnames
[] = {
40963 (char *) "self",(char *) "win", NULL
40966 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40974 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40976 wxPyEndAllowThreads(__tstate
);
40977 if (PyErr_Occurred()) SWIG_fail
;
40980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40982 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40983 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40990 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40991 PyObject
*resultobj
;
40992 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40994 PyObject
* obj0
= 0 ;
40995 char *kwnames
[] = {
40996 (char *) "self", NULL
40999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41004 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41006 wxPyEndAllowThreads(__tstate
);
41007 if (PyErr_Occurred()) SWIG_fail
;
41010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41018 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41021 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41023 return Py_BuildValue((char *)"");
41025 static PyMethodDef SwigMethods
[] = {
41026 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41027 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41028 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41031 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41052 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41065 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41080 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41133 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41161 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41180 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41182 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41190 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41191 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41203 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41215 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41219 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41225 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41235 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41245 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41249 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41323 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41325 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41327 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41329 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41331 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41333 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41335 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41337 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41339 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41341 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41343 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41345 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41347 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41361 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41379 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41382 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41385 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41397 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41402 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41408 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41414 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41484 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41520 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41530 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41540 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41542 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41544 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41547 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41551 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41554 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41557 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41559 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41564 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41572 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41576 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41579 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41581 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41585 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41602 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41604 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41607 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41609 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41613 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41617 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41626 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41629 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41632 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41636 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41643 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41648 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41653 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41698 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41718 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41725 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41729 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41739 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41908 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41948 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41962 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41965 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42020 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42047 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42077 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42085 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42102 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42103 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42140 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42170 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42173 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42177 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42180 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42190 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42202 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42212 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42222 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42236 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42243 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42244 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42245 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42246 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42247 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42252 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42279 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42291 { NULL
, NULL
, 0, NULL
}
42295 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42297 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42298 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42300 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42301 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42303 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42304 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42306 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42307 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42309 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42310 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42312 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42313 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42315 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42316 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42318 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42319 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42321 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42324 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42325 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42327 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42328 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42330 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42331 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42333 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42334 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42336 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42337 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42339 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42340 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42342 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42345 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42346 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42348 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42349 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42351 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42352 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42354 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42357 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42358 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42360 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42361 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42363 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42364 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42366 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42367 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42369 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42370 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42372 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42373 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42375 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42376 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42378 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42379 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42381 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42384 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42385 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42387 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42388 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42390 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42391 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42393 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42394 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42396 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42397 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42399 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42400 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42402 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42405 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42406 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42408 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42409 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42411 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42414 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42417 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42418 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42420 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42421 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42423 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42424 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42426 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42427 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42429 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42430 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42432 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42433 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42435 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42436 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42438 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42439 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42441 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42442 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42444 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42445 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42447 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42450 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42451 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42453 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42454 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42456 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42457 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42459 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42460 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42462 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42463 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42465 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42466 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42468 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42469 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42471 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42472 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42474 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42475 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42477 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42478 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42480 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42481 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42483 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42484 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42486 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42487 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42489 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42490 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42492 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42493 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42495 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42496 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42498 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42499 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42501 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42502 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42504 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42505 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42507 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42508 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42510 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42511 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42513 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42514 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42516 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42517 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42519 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42520 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42522 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42523 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42525 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42526 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42528 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42529 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42531 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42532 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42534 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42537 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42538 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42540 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42541 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42543 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42544 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42546 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42547 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42549 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42552 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42555 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42556 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42558 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42559 return (void *)((wxObject
*) ((wxSizer
*) x
));
42561 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42562 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42564 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42565 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42567 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42570 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42571 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42573 static void *_p_wxImageTo_p_wxObject(void *x
) {
42574 return (void *)((wxObject
*) ((wxImage
*) x
));
42576 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42579 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42582 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42583 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42585 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42586 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42588 static void *_p_wxControlTo_p_wxObject(void *x
) {
42589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42591 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42592 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42594 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42595 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42597 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42598 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42600 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42601 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42603 static void *_p_wxEventTo_p_wxObject(void *x
) {
42604 return (void *)((wxObject
*) ((wxEvent
*) x
));
42606 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42607 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42609 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42610 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42612 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42613 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42615 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42616 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42618 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42619 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42621 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42622 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42624 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42627 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42628 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42630 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42633 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42634 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42636 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42639 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42640 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42642 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42645 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42646 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42648 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42649 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42651 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42652 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42654 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42657 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42660 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42663 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42666 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42669 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42672 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42673 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42675 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42676 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42681 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42682 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42684 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42685 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42687 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42688 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42690 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42691 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42693 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42694 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42696 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42697 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42699 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42702 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42703 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42705 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42706 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42708 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42709 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42711 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42712 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42714 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42715 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42717 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42718 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42720 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42721 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42723 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42726 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42727 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42729 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42730 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42732 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42735 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42736 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42738 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42739 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42741 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42742 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42744 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42745 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42747 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42748 return (void *)((wxWindow
*) ((wxControl
*) x
));
42750 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42751 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42753 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42754 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42756 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42757 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42759 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42760 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42762 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42763 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42765 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42766 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42768 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42769 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42771 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42772 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42774 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42775 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42777 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42778 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42780 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42781 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42783 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}};
42784 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}};
42785 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}};
42786 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}};
42787 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}};
42788 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}};
42789 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}};
42790 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}};
42791 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}};
42792 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}};
42793 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}};
42794 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}};
42795 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}};
42796 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}};
42797 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}};
42798 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}};
42799 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}};
42800 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}};
42801 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}};
42802 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}};
42803 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}};
42804 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}};
42805 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}};
42806 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}};
42807 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}};
42808 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}};
42809 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}};
42810 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}};
42811 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}};
42812 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}};
42813 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}};
42814 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}};
42815 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}};
42816 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}};
42817 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}};
42818 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}};
42819 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}};
42820 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}};
42821 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}};
42822 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}};
42823 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}};
42824 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}};
42825 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}};
42826 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}};
42827 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}};
42828 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}};
42829 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}};
42830 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}};
42831 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}};
42832 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}};
42833 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}};
42834 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}};
42835 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}};
42836 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}};
42837 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}};
42838 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}};
42839 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}};
42840 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}};
42841 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}};
42842 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}};
42843 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}};
42844 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}};
42845 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}};
42846 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}};
42847 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}};
42848 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}};
42849 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}};
42850 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}};
42851 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}};
42852 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}};
42853 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}};
42854 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}};
42855 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}};
42856 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}};
42857 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}};
42858 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}};
42859 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}};
42860 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}};
42861 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}};
42862 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}};
42863 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}};
42864 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}};
42865 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}};
42866 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}};
42867 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}};
42868 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}};
42869 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}};
42870 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}};
42871 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}};
42872 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}};
42873 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}};
42874 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}};
42875 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}};
42876 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}};
42877 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}};
42878 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}};
42879 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}};
42880 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}};
42881 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}};
42882 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}};
42883 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}};
42884 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}};
42885 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}};
42886 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}};
42887 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}};
42888 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}};
42889 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}};
42890 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}};
42891 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}};
42892 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}};
42893 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}};
42894 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}};
42895 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}};
42896 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}};
42897 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}};
42898 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}};
42899 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}};
42901 static swig_type_info
*swig_types_initial
[] = {
42902 _swigt__p_wxLayoutConstraints
,
42903 _swigt__p_wxRealPoint
,
42904 _swigt__p_wxSizerItem
,
42905 _swigt__p_wxGBSizerItem
,
42906 _swigt__p_wxScrollEvent
,
42907 _swigt__p_wxEventLoop
,
42908 _swigt__p_wxIndividualLayoutConstraint
,
42910 _swigt__p_wxBoxSizer
,
42911 _swigt__p_wxStaticBoxSizer
,
42912 _swigt__p_wxGridBagSizer
,
42913 _swigt__p_wxAcceleratorEntry
,
42914 _swigt__p_wxUpdateUIEvent
,
42917 _swigt__p_wxGridSizer
,
42918 _swigt__p_wxFlexGridSizer
,
42919 _swigt__p_wxInitDialogEvent
,
42920 _swigt__p_wxItemContainer
,
42921 _swigt__p_wxNcPaintEvent
,
42922 _swigt__p_wxPaintEvent
,
42923 _swigt__p_wxSysColourChangedEvent
,
42924 _swigt__p_wxMouseCaptureChangedEvent
,
42925 _swigt__p_wxDisplayChangedEvent
,
42926 _swigt__p_wxPaletteChangedEvent
,
42927 _swigt__p_wxControl
,
42929 _swigt__p_wxMenuBarBase
,
42930 _swigt__p_wxSetCursorEvent
,
42931 _swigt__p_wxFSFile
,
42933 _swigt__p_wxRegion
,
42934 _swigt__p_wxPoint2D
,
42938 _swigt__p_wxPySizer
,
42939 _swigt__p_wxVisualAttributes
,
42940 _swigt__p_wxNotifyEvent
,
42941 _swigt__p_wxPyEvent
,
42942 _swigt__p_wxPropagationDisabler
,
42943 _swigt__p_wxAppTraits
,
42944 _swigt__p_wxArrayString
,
42945 _swigt__p_wxShowEvent
,
42946 _swigt__p_wxToolTip
,
42947 _swigt__p_wxIconizeEvent
,
42948 _swigt__p_wxActivateEvent
,
42949 _swigt__p_wxMoveEvent
,
42950 _swigt__p_wxSizeEvent
,
42951 _swigt__p_wxMaximizeEvent
,
42952 _swigt__p_wxQueryNewPaletteEvent
,
42953 _swigt__p_wxWindowCreateEvent
,
42954 _swigt__p_wxIdleEvent
,
42955 _swigt__p_wxMenuItem
,
42956 _swigt__p_wxStaticBox
,
42958 _swigt__p_wxTIFFHandler
,
42959 _swigt__p_wxXPMHandler
,
42960 _swigt__p_wxPNMHandler
,
42961 _swigt__p_wxJPEGHandler
,
42962 _swigt__p_wxPCXHandler
,
42963 _swigt__p_wxGIFHandler
,
42964 _swigt__p_wxPNGHandler
,
42965 _swigt__p_wxANIHandler
,
42966 _swigt__p_wxMemoryFSHandler
,
42967 _swigt__p_wxEvtHandler
,
42968 _swigt__p_wxCURHandler
,
42969 _swigt__p_wxICOHandler
,
42970 _swigt__p_wxBMPHandler
,
42971 _swigt__p_wxImageHandler
,
42972 _swigt__p_wxFileSystemHandler
,
42973 _swigt__p_wxPyFileSystemHandler
,
42974 _swigt__p_wxInternetFSHandler
,
42975 _swigt__p_wxZipFSHandler
,
42977 _swigt__p_wxGBSpan
,
42978 _swigt__p_wxPropagateOnce
,
42979 _swigt__p_wxAcceleratorTable
,
42981 _swigt__p_wxGBPosition
,
42984 _swigt__p_wxScrollWinEvent
,
42985 _swigt__p_wxImageHistogram
,
42988 _swigt__p_wxCursor
,
42989 _swigt__p_wxObject
,
42990 _swigt__p_wxPyInputStream
,
42991 _swigt__p_wxOutputStream
,
42992 _swigt__p_wxInputStream
,
42993 _swigt__p_wxDateTime
,
42994 _swigt__p_wxKeyEvent
,
42995 _swigt__p_wxNavigationKeyEvent
,
42996 _swigt__p_wxWindowDestroyEvent
,
42997 _swigt__p_wxWindow
,
42998 _swigt__p_wxMenuBar
,
42999 _swigt__p_wxFileSystem
,
43000 _swigt__p_wxBitmap
,
43001 _swigt__p_wxMenuEvent
,
43002 _swigt__p_wxContextMenuEvent
,
43003 _swigt__p_unsigned_char
,
43004 _swigt__p_wxCloseEvent
,
43005 _swigt__p_wxEraseEvent
,
43006 _swigt__p_wxMouseEvent
,
43008 _swigt__p_wxCommandEvent
,
43009 _swigt__p_wxPyCommandEvent
,
43010 _swigt__p_wxPyDropTarget
,
43011 _swigt__p_wxQuantize
,
43012 _swigt__p_wxChildFocusEvent
,
43013 _swigt__p_wxFocusEvent
,
43014 _swigt__p_wxDropFilesEvent
,
43015 _swigt__p_wxControlWithItems
,
43016 _swigt__p_wxColour
,
43017 _swigt__p_wxValidator
,
43018 _swigt__p_wxPyValidator
,
43023 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43025 static swig_const_info swig_const_table
[] = {
43026 {0, 0, 0, 0.0, 0, 0}};
43035 SWIGEXPORT(void) SWIG_init(void) {
43036 static PyObject
*SWIG_globals
= 0;
43037 static int typeinit
= 0;
43040 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43041 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43042 d
= PyModule_GetDict(m
);
43045 for (i
= 0; swig_types_initial
[i
]; i
++) {
43046 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43050 SWIG_InstallConstants(d
,swig_const_table
);
43053 #ifndef wxPyUSE_EXPORT
43054 // Make our API structure a CObject so other modules can import it
43055 // from this module.
43056 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43057 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43061 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43062 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43063 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43064 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43065 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43066 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43067 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43068 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43069 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43070 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43071 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43072 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43073 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43074 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43075 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43076 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43077 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43078 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43079 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43080 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43081 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43082 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43083 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43084 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43085 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43086 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43087 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43088 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43089 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43090 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43091 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43092 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43093 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43094 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43095 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43096 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43097 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43098 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43099 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43100 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43101 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43102 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43103 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43104 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43105 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43106 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43107 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43108 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43109 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43110 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43111 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43112 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43113 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43114 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43115 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43116 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43117 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43118 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43119 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43120 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43121 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43122 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43123 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43124 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43125 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43126 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43127 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43128 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43129 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43130 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43131 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43132 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43133 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43134 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43135 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43136 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43137 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43138 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43139 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43140 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43141 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43142 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43143 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43144 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43145 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43146 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43147 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43148 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43149 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43150 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43151 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43152 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43153 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43154 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43155 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43156 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43157 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43158 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43159 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43160 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43161 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43162 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43163 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43164 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43165 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43166 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43167 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43168 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43169 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43170 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43171 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43172 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43173 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43174 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43175 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43176 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43177 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43178 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43179 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43180 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43181 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43182 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43183 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43184 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43185 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43186 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43187 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43188 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43189 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43190 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43191 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43192 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43193 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43194 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43195 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43196 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43197 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43198 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43199 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43200 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43201 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43202 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43203 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43204 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43205 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43206 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43207 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43208 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43209 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43210 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43211 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43212 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43213 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43214 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43215 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43216 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43217 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43218 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43219 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43220 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43221 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43222 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43223 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43224 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43225 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43226 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43227 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43228 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43229 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43230 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43231 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43232 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43233 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43234 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43235 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43236 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43237 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43238 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43239 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43240 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43241 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43242 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43243 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43244 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43245 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43246 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43247 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43248 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43249 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43250 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43251 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43252 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43253 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43254 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43255 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43256 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43257 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43258 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43259 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43260 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43261 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43262 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43263 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43264 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43265 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43266 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43267 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43268 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43269 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43270 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43271 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43272 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43273 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43274 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43275 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43276 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43277 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43278 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43279 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43280 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43281 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43282 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43283 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43284 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43285 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43286 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43287 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43288 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43289 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43290 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43291 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43292 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43293 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43294 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43295 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43296 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43297 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43298 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43299 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43300 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43301 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43302 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43303 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43304 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43305 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43306 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43307 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43308 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43309 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43310 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43311 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43312 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43313 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43314 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43315 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43316 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43317 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43318 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43319 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43320 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43321 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43322 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43323 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43324 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43325 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43326 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43327 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43328 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43329 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43330 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43331 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43332 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43333 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43334 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43335 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43336 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43337 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43338 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43339 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43340 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43341 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43342 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43343 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43344 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43345 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43346 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43347 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43348 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43349 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43350 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43351 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43352 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43353 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43354 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43355 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43356 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43357 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43358 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43359 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43360 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43361 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43362 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43363 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43364 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43365 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43366 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43367 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43368 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43369 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43370 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43371 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43372 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43373 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43374 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43375 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43376 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43377 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43378 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43379 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43380 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43381 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43382 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43383 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43384 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43385 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43386 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43387 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43388 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43389 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43390 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43391 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43392 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43393 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43394 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43395 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43396 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43397 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43398 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43399 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43400 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43401 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43402 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43403 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43404 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43405 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43406 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43407 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43408 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43409 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43410 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43411 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43412 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43413 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43414 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43415 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43416 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43417 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43418 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43419 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43420 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43421 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43422 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43423 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43424 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43425 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43426 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43427 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43428 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43429 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43430 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43431 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43432 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43433 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43434 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43435 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43436 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43437 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43438 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43439 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43440 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43441 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43442 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43443 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43444 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43445 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43446 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43447 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43448 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43449 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43450 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43451 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43452 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43453 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43454 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43455 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43456 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43457 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43458 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43459 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43460 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43461 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43462 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43463 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43464 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43465 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43466 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43467 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43468 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43469 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43470 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43471 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43472 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43473 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43474 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43475 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43476 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43477 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43478 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43479 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43480 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43481 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43482 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43483 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43484 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43485 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43486 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43487 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43488 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43489 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43490 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43491 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43492 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43493 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43494 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43495 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43496 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43497 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43498 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43499 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43500 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43501 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43502 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43503 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43504 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43505 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43506 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43507 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43508 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43509 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43510 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43511 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43512 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43513 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43514 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43515 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43516 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43517 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43518 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43519 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43520 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43521 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43522 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43523 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43524 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43525 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43526 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43527 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43528 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43529 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43530 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43531 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43532 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43533 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43534 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43535 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43536 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43537 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43538 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43539 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43540 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43541 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43542 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43543 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43544 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43545 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43546 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43547 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43548 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43549 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43550 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43551 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43552 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43553 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43554 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43555 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43556 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43557 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43558 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43559 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43560 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43561 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43562 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43563 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43564 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43565 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43566 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43567 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43568 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43569 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43570 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43571 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43572 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43573 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43574 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43575 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43576 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43577 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43578 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43579 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43580 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43581 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43582 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43583 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43584 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43585 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43586 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43587 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43588 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43589 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43590 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43591 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43592 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43593 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43594 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43595 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43596 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43597 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43598 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43599 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43600 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43601 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43602 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43603 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43604 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43605 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43606 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43607 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43608 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43609 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43610 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43611 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43612 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43613 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43614 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43615 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43616 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43617 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43618 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43619 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43620 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43621 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43622 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43623 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43624 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43625 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43626 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43627 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43628 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43629 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43630 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43631 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43632 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43633 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43634 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43635 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43636 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43637 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43638 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43639 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43640 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43641 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43642 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43643 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43644 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43645 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43646 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43647 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43648 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43649 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43650 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43651 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43652 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43653 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43654 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43655 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43656 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43657 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43658 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43659 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43661 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43664 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43666 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43667 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43668 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43669 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43670 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43671 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43672 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43673 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43674 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43675 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43676 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43677 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43678 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43679 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43680 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43681 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43682 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43683 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43684 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43685 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43686 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43687 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43688 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43689 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43690 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43691 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43692 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43695 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43696 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43697 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43698 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43699 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43700 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43701 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43702 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43703 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43706 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43707 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43708 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43709 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43710 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43711 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43712 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43713 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43714 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43715 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43716 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43717 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43718 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43719 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43720 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43721 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43722 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43723 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43724 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43725 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43726 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43727 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43728 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43729 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43730 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43731 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43732 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43733 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43734 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43735 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43736 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43737 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43738 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43739 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43740 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43741 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43742 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43743 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43744 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43745 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43746 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43747 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43748 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43749 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43750 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43752 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43753 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43754 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43755 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43756 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43757 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43758 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43759 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43760 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43761 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43762 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43763 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43764 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43765 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43766 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43767 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43768 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43769 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43770 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43771 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43772 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43773 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43774 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43775 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43776 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43777 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43778 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43779 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43780 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43781 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43782 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43783 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43784 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43785 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43786 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43787 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43788 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43789 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43790 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43791 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43792 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43793 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43794 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43795 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43796 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43797 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43798 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43799 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43800 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43801 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43802 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43803 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43804 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43805 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43806 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43807 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43808 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43809 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43810 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43811 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43812 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43813 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43814 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43815 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43816 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43817 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43818 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43819 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43820 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43821 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43822 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43823 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43824 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43825 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43826 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43827 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43828 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43829 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43830 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43831 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43832 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43833 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43834 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43835 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43836 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43837 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43838 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43839 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43840 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43841 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43842 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43843 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43844 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43845 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43846 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43847 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43848 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43849 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43850 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43852 // Initialize threading, some globals and such
43856 // Although these are defined in __version__ they need to be here too so
43857 // that an assert can be done to ensure that the wxPython and the wxWindows
43859 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43860 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43861 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));