1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, false);
1259 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
1260 // Copy the source data so the wxImage can clean it up later
1261 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
1262 if (dcopy
== NULL
) {
1266 memcpy(dcopy
, data
, width
*height
*3);
1267 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
1268 if (acopy
== NULL
) {
1272 memcpy(acopy
, alpha
, width
*height
);
1274 return new wxImage(width
, height
, dcopy
, acopy
, false);
1276 wxSize
wxImage_GetSize(wxImage
*self
){
1277 wxSize
size(self
->GetWidth(), self
->GetHeight());
1280 PyObject
*wxImage_GetData(wxImage
*self
){
1281 unsigned char* data
= self
->GetData();
1282 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1284 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1287 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1288 unsigned char* dataPtr
;
1290 if (! PyString_Check(data
)) {
1291 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1292 "Expected string object"));
1296 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1297 dataPtr
= (unsigned char*) malloc(len
);
1298 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1299 self
->SetData(dataPtr
);
1300 // wxImage takes ownership of dataPtr...
1302 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1303 unsigned char* data
= self
->GetData();
1304 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1306 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1309 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1310 unsigned char* buffer
;
1313 bool blocked
= wxPyBeginBlockThreads();
1314 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1317 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1318 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1321 self
->SetData(buffer
);
1323 wxPyEndBlockThreads(blocked
);
1325 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1326 unsigned char* data
= self
->GetAlpha();
1330 int len
= self
->GetWidth() * self
->GetHeight();
1332 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1336 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1337 unsigned char* dataPtr
;
1339 if (! PyString_Check(data
)) {
1340 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1344 size_t len
= self
->GetWidth() * self
->GetHeight();
1345 dataPtr
= (unsigned char*) malloc(len
);
1346 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1347 self
->SetAlpha(dataPtr
);
1348 // wxImage takes ownership of dataPtr...
1350 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1351 unsigned char* data
= self
->GetAlpha();
1352 int len
= self
->GetWidth() * self
->GetHeight();
1354 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1357 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1358 unsigned char* buffer
;
1361 bool blocked
= wxPyBeginBlockThreads();
1362 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1365 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1366 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1369 self
->SetAlpha(buffer
);
1371 wxPyEndBlockThreads(blocked
);
1374 SWIGSTATICINLINE(unsigned long)
1375 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1378 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1380 this is needed to make valgrind/purify happier. the other
1381 solution is throw an exception, but since this code should work
1384 memset((void*)&v
, 0, sizeof(unsigned long));
1390 SWIGSTATICINLINE(int)
1391 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1393 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1396 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1397 wxBitmap
bitmap(*self
, depth
);
1400 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1401 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1402 wxBitmap
bitmap( mono
, 1 );
1405 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1406 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1407 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1408 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1409 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1411 #include <wx/quantize.h>
1413 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1414 return wxQuantize::Quantize(src
, dest
,
1417 NULL
, // eightBitData
1420 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1421 if (PyCallable_Check(func
)) {
1422 self
->Connect(id
, lastId
, eventType
,
1423 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1424 new wxPyCallback(func
));
1426 else if (func
== Py_None
) {
1427 self
->Disconnect(id
, lastId
, eventType
,
1428 (wxObjectEventFunction
)
1429 &wxPyCallback::EventThunker
);
1433 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1436 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1437 return self
->Disconnect(id
, lastId
, eventType
,
1438 (wxObjectEventFunction
)
1439 &wxPyCallback::EventThunker
);
1441 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1442 if (_self
&& _self
!= Py_None
) {
1443 self
->SetClientObject(new wxPyOORClientData(_self
));
1446 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1448 self
->SetClientObject(NULL
); // This will delete it too
1453 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1455 return self
->GetUnicodeKey();
1461 #if UINT_MAX < LONG_MAX
1462 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1463 #define SWIG_From_unsigned_SS_int SWIG_From_long
1466 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1467 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1472 #if UINT_MAX != ULONG_MAX
1473 SWIGSTATICINLINE(int)
1474 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1476 const char* errmsg
= val
? "unsigned int" : 0;
1478 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1479 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1480 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1487 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1492 SWIGSTATICINLINE(unsigned int)
1493 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1495 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1500 SWIGSTATICINLINE(unsigned int)
1501 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1504 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1506 this is needed to make valgrind/purify happier. the other
1507 solution is throw an exception, but since this code should work
1510 memset((void*)&v
, 0, sizeof(unsigned int));
1516 SWIGSTATICINLINE(int)
1517 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1519 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1522 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1523 self
->m_size
= size
;
1525 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1528 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1529 int count
= self
->GetNumberOfFiles();
1530 wxString
* files
= self
->GetFiles();
1531 PyObject
* list
= PyList_New(count
);
1534 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1538 for (int i
=0; i
<count
; i
++) {
1539 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1545 wxPyApp
*new_wxPyApp(){
1546 wxPythonApp
= new wxPyApp();
1549 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1551 void wxApp_CleanUp() {
1556 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
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 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self",(char *) "_self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 wxEvtHandler__setOORInfo(arg1
,arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12748 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12751 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12753 return Py_BuildValue((char *)"");
12755 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxEventType result
;
12758 char *kwnames
[] = {
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (wxEventType
)wxNewEventType();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_From_int((int)result
);
12777 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxEvent
*arg1
= (wxEvent
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 Py_INCREF(Py_None
); resultobj
= Py_None
;
12802 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxEvent
*arg1
= (wxEvent
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self",(char *) "typ", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12815 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 (arg1
)->SetEventType(arg2
);
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 Py_INCREF(Py_None
); resultobj
= Py_None
;
12831 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxEvent
*arg1
= (wxEvent
*) 0 ;
12834 wxEventType result
;
12835 PyObject
* obj0
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_From_int((int)result
);
12857 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxEvent
*arg1
= (wxEvent
*) 0 ;
12861 PyObject
* obj0
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "self", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= wxPyMake_wxObject(result
, 0);
12885 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxEvent
*arg1
= (wxEvent
*) 0 ;
12888 wxObject
*arg2
= (wxObject
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self",(char *) "obj", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 (arg1
)->SetEventObject(arg2
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxEvent
*arg1
= (wxEvent
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_From_long((long)result
);
12940 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxEvent
*arg1
= (wxEvent
*) 0 ;
12943 long arg2
= (long) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "ts", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 arg2
= (long)SWIG_As_long(obj1
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 (arg1
)->SetTimestamp(arg2
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 Py_INCREF(Py_None
); resultobj
= Py_None
;
12971 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxEvent
*arg1
= (wxEvent
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (int)((wxEvent
const *)arg1
)->GetId();
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_From_int((int)result
);
12997 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxEvent
*arg1
= (wxEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "Id", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 arg2
= (int)SWIG_As_int(obj1
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetId(arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxEvent
*arg1
= (wxEvent
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxEvent
*arg1
= (wxEvent
*) 0 ;
13057 bool arg2
= (bool) true ;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "skip", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
13065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13068 arg2
= (bool)SWIG_As_bool(obj1
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 (arg1
)->Skip(arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxEvent
*arg1
= (wxEvent
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13113 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxEvent
*arg1
= (wxEvent
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13141 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxEvent
*arg1
= (wxEvent
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)(arg1
)->StopPropagation();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_From_int((int)result
);
13167 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxEvent
*arg1
= (wxEvent
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self",(char *) "propagationLevel", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 arg2
= (int)SWIG_As_int(obj1
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->ResumePropagation(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxEvent
*arg1
= (wxEvent
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxEvent
*)(arg1
)->Clone();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13222 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13225 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13227 return Py_BuildValue((char *)"");
13229 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxEvent
*arg1
= 0 ;
13232 wxPropagationDisabler
*result
;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "event", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13242 if (arg1
== NULL
) {
13243 PyErr_SetString(PyExc_TypeError
,"null reference");
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13260 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13288 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13290 return Py_BuildValue((char *)"");
13292 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxEvent
*arg1
= 0 ;
13295 wxPropagateOnce
*result
;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "event", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13305 if (arg1
== NULL
) {
13306 PyErr_SetString(PyExc_TypeError
,"null reference");
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13323 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 Py_INCREF(Py_None
); resultobj
= Py_None
;
13348 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13351 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13353 return Py_BuildValue((char *)"");
13355 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13358 int arg2
= (int) 0 ;
13359 wxCommandEvent
*result
;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "commandType",(char *) "winid", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13372 arg2
= (int)SWIG_As_int(obj1
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13389 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= SWIG_From_int((int)result
);
13415 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13418 wxString
*arg2
= 0 ;
13419 bool temp2
= false ;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self",(char *) "s", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13430 arg2
= wxString_in_helper(obj1
);
13431 if (arg2
== NULL
) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 (arg1
)->SetString((wxString
const &)*arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13488 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13492 PyObject
* obj0
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13516 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self",(char *) "extraLong", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 arg2
= (long)SWIG_As_long(obj1
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 (arg1
)->SetExtraLong(arg2
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 Py_INCREF(Py_None
); resultobj
= Py_None
;
13573 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_From_long((long)result
);
13599 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self",(char *) "i", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13612 arg2
= (int)SWIG_As_int(obj1
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 (arg1
)->SetInt(arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 Py_INCREF(Py_None
); resultobj
= Py_None
;
13628 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_From_long((long)result
);
13654 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "self", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13680 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13683 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13685 return Py_BuildValue((char *)"");
13687 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13690 int arg2
= (int) 0 ;
13691 wxNotifyEvent
*result
;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "commandType",(char *) "winid", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 arg2
= (int)SWIG_As_int(obj1
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13721 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 Py_INCREF(Py_None
); resultobj
= Py_None
;
13746 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 Py_INCREF(Py_None
); resultobj
= Py_None
;
13771 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 result
= (bool)(arg1
)->IsAllowed();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13799 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13802 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13804 return Py_BuildValue((char *)"");
13806 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13809 int arg2
= (int) 0 ;
13810 int arg3
= (int) 0 ;
13811 int arg4
= (int) 0 ;
13812 wxScrollEvent
*result
;
13813 PyObject
* obj0
= 0 ;
13814 PyObject
* obj1
= 0 ;
13815 PyObject
* obj2
= 0 ;
13816 PyObject
* obj3
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13823 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13827 arg2
= (int)SWIG_As_int(obj1
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13831 arg3
= (int)SWIG_As_int(obj2
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 arg4
= (int)SWIG_As_int(obj3
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13852 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_From_int((int)result
);
13878 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_From_int((int)result
);
13904 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13908 PyObject
* obj0
= 0 ;
13909 PyObject
* obj1
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self",(char *) "orient", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 arg2
= (int)SWIG_As_int(obj1
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 (arg1
)->SetOrientation(arg2
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 Py_INCREF(Py_None
); resultobj
= Py_None
;
13933 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self",(char *) "pos", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 arg2
= (int)SWIG_As_int(obj1
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 (arg1
)->SetPosition(arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 Py_INCREF(Py_None
); resultobj
= Py_None
;
13962 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13965 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13967 return Py_BuildValue((char *)"");
13969 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13972 int arg2
= (int) 0 ;
13973 int arg3
= (int) 0 ;
13974 wxScrollWinEvent
*result
;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13984 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13988 arg2
= (int)SWIG_As_int(obj1
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 arg3
= (int)SWIG_As_int(obj2
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
14009 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_From_int((int)result
);
14035 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_From_int((int)result
);
14061 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self",(char *) "orient", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 arg2
= (int)SWIG_As_int(obj1
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->SetOrientation(arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 Py_INCREF(Py_None
); resultobj
= Py_None
;
14090 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "pos", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 arg2
= (int)SWIG_As_int(obj1
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->SetPosition(arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
14121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14122 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
14124 return Py_BuildValue((char *)"");
14126 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14129 wxMouseEvent
*result
;
14130 PyObject
* obj0
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "mouseType", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14137 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= wxPyMake_wxObject(result
, 1);
14156 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14184 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14187 int arg2
= (int) wxMOUSE_BTN_ANY
;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "but", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 arg2
= (int)SWIG_As_int(obj1
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14218 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14221 int arg2
= (int) wxMOUSE_BTN_ANY
;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "but", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 arg2
= (int)SWIG_As_int(obj1
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14255 int arg2
= (int) wxMOUSE_BTN_ANY
;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "but", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 arg2
= (int)SWIG_As_int(obj1
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14286 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "but", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 arg2
= (int)SWIG_As_int(obj1
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14318 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "but", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 arg2
= (int)SWIG_As_int(obj1
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14350 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_From_int((int)result
);
14376 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14460 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14520 PyObject
* obj0
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "self", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14544 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14628 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14684 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14688 PyObject
* obj0
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14712 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14740 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14768 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (bool)(arg1
)->LeftIsDown();
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14796 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (bool)(arg1
)->MiddleIsDown();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)(arg1
)->RightIsDown();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14884 PyObject
* obj0
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14908 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14936 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (arg1
)->GetPosition();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 wxPoint
* resultptr
;
14985 resultptr
= new wxPoint((wxPoint
&) result
);
14986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14994 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14997 long *arg2
= (long *) 0 ;
14998 long *arg3
= (long *) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15009 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 (arg1
)->GetPosition(arg2
,arg3
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 Py_INCREF(Py_None
); resultobj
= Py_None
;
15021 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15022 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
15023 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15024 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15031 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "dc", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15048 if (arg2
== NULL
) {
15049 PyErr_SetString(PyExc_TypeError
,"null reference");
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 wxPoint
* resultptr
;
15061 resultptr
= new wxPoint((wxPoint
&) result
);
15062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15070 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_From_int((int)result
);
15096 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_From_int((int)result
);
15122 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_From_int((int)result
);
15148 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_From_int((int)result
);
15174 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_From_int((int)result
);
15200 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15228 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self",(char *) "m_x", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 arg2
= (int)SWIG_As_int(obj1
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15243 if (arg1
) (arg1
)->m_x
= arg2
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 result
= (int) ((arg1
)->m_x
);
15266 resultobj
= SWIG_From_int((int)result
);
15273 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "m_y", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 arg2
= (int)SWIG_As_int(obj1
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15288 if (arg1
) (arg1
)->m_y
= arg2
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 result
= (int) ((arg1
)->m_y
);
15311 resultobj
= SWIG_From_int((int)result
);
15318 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "m_leftDown", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15331 arg2
= (bool)SWIG_As_bool(obj1
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15333 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15335 Py_INCREF(Py_None
); resultobj
= Py_None
;
15342 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15346 PyObject
* obj0
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 result
= (bool) ((arg1
)->m_leftDown
);
15357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15365 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self",(char *) "m_middleDown", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 arg2
= (bool)SWIG_As_bool(obj1
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15380 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15382 Py_INCREF(Py_None
); resultobj
= Py_None
;
15389 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 result
= (bool) ((arg1
)->m_middleDown
);
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self",(char *) "m_rightDown", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 arg2
= (bool)SWIG_As_bool(obj1
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15427 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15436 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15448 result
= (bool) ((arg1
)->m_rightDown
);
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "m_controlDown", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 arg2
= (bool)SWIG_As_bool(obj1
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15474 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15495 result
= (bool) ((arg1
)->m_controlDown
);
15498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15506 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "m_shiftDown", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15519 arg2
= (bool)SWIG_As_bool(obj1
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15521 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15523 Py_INCREF(Py_None
); resultobj
= Py_None
;
15530 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15534 PyObject
* obj0
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 result
= (bool) ((arg1
)->m_shiftDown
);
15545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15553 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self",(char *) "m_altDown", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15566 arg2
= (bool)SWIG_As_bool(obj1
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15568 if (arg1
) (arg1
)->m_altDown
= arg2
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 result
= (bool) ((arg1
)->m_altDown
);
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15600 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self",(char *) "m_metaDown", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 arg2
= (bool)SWIG_As_bool(obj1
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15615 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15617 Py_INCREF(Py_None
); resultobj
= Py_None
;
15624 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15636 result
= (bool) ((arg1
)->m_metaDown
);
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self",(char *) "m_wheelRotation", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 arg2
= (int)SWIG_As_int(obj1
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15662 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15683 result
= (int) ((arg1
)->m_wheelRotation
);
15685 resultobj
= SWIG_From_int((int)result
);
15692 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self",(char *) "m_wheelDelta", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15705 arg2
= (int)SWIG_As_int(obj1
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15707 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15709 Py_INCREF(Py_None
); resultobj
= Py_None
;
15716 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 result
= (int) ((arg1
)->m_wheelDelta
);
15730 resultobj
= SWIG_From_int((int)result
);
15737 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 PyObject
* obj1
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self",(char *) "m_linesPerAction", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= (int)SWIG_As_int(obj1
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15752 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15754 Py_INCREF(Py_None
); resultobj
= Py_None
;
15761 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 result
= (int) ((arg1
)->m_linesPerAction
);
15775 resultobj
= SWIG_From_int((int)result
);
15782 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15785 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15787 return Py_BuildValue((char *)"");
15789 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 int arg1
= (int) 0 ;
15792 int arg2
= (int) 0 ;
15793 wxSetCursorEvent
*result
;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "x",(char *) "y", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15802 arg1
= (int)SWIG_As_int(obj0
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 arg2
= (int)SWIG_As_int(obj1
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15823 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_From_int((int)result
);
15849 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_From_int((int)result
);
15875 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15878 wxCursor
*arg2
= 0 ;
15879 PyObject
* obj0
= 0 ;
15880 PyObject
* obj1
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self",(char *) "cursor", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15891 if (arg2
== NULL
) {
15892 PyErr_SetString(PyExc_TypeError
,"null reference");
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15925 result
= (wxCursor
*) &_result_ref
;
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15932 wxCursor
* resultptr
= new wxCursor(*result
);
15933 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15941 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 char *kwnames
[] = {
15947 (char *) "self", NULL
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15969 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15972 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15974 return Py_BuildValue((char *)"");
15976 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15979 wxKeyEvent
*result
;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "keyType", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15987 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
16004 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16032 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16060 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 char *kwnames
[] = {
16066 (char *) "self", NULL
16069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16088 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16144 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= SWIG_From_int((int)result
);
16198 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_From_int((int)result
);
16224 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16227 unsigned int result
;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16250 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16253 unsigned int result
;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16276 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (arg1
)->GetPosition();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 wxPoint
* resultptr
;
16297 resultptr
= new wxPoint((wxPoint
&) result
);
16298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16306 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16309 long *arg2
= (long *) 0 ;
16310 long *arg3
= (long *) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16321 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 (arg1
)->GetPosition(arg2
,arg3
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 Py_INCREF(Py_None
); resultobj
= Py_None
;
16333 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16334 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16335 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16336 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16343 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_From_int((int)result
);
16369 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_From_int((int)result
);
16395 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self",(char *) "m_x", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16408 arg2
= (int)SWIG_As_int(obj1
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16410 if (arg1
) (arg1
)->m_x
= arg2
;
16412 Py_INCREF(Py_None
); resultobj
= Py_None
;
16419 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16431 result
= (int) ((arg1
)->m_x
);
16433 resultobj
= SWIG_From_int((int)result
);
16440 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "m_y", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 arg2
= (int)SWIG_As_int(obj1
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16455 if (arg1
) (arg1
)->m_y
= arg2
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 result
= (int) ((arg1
)->m_y
);
16478 resultobj
= SWIG_From_int((int)result
);
16485 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "m_keyCode", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 arg2
= (long)SWIG_As_long(obj1
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16500 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16502 Py_INCREF(Py_None
); resultobj
= Py_None
;
16509 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16521 result
= (long) ((arg1
)->m_keyCode
);
16523 resultobj
= SWIG_From_long((long)result
);
16530 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "m_controlDown", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 arg2
= (bool)SWIG_As_bool(obj1
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16545 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16547 Py_INCREF(Py_None
); resultobj
= Py_None
;
16554 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 result
= (bool) ((arg1
)->m_controlDown
);
16569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "m_shiftDown", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 arg2
= (bool)SWIG_As_bool(obj1
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16592 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16601 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16613 result
= (bool) ((arg1
)->m_shiftDown
);
16616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16624 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "m_altDown", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 arg2
= (bool)SWIG_As_bool(obj1
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16639 if (arg1
) (arg1
)->m_altDown
= arg2
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16648 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 result
= (bool) ((arg1
)->m_altDown
);
16663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16671 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self",(char *) "m_metaDown", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16684 arg2
= (bool)SWIG_As_bool(obj1
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16686 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16688 Py_INCREF(Py_None
); resultobj
= Py_None
;
16695 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 result
= (bool) ((arg1
)->m_metaDown
);
16710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16718 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self",(char *) "m_scanCode", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16731 arg2
= (bool)SWIG_As_bool(obj1
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16733 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16735 Py_INCREF(Py_None
); resultobj
= Py_None
;
16742 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16746 PyObject
* obj0
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16754 result
= (bool) ((arg1
)->m_scanCode
);
16757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16765 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16768 unsigned int arg2
;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self",(char *) "m_rawCode", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16780 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16782 Py_INCREF(Py_None
); resultobj
= Py_None
;
16789 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16792 unsigned int result
;
16793 PyObject
* obj0
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 result
= (unsigned int) ((arg1
)->m_rawCode
);
16803 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16810 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16813 unsigned int arg2
;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "m_rawFlags", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16823 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16825 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16827 Py_INCREF(Py_None
); resultobj
= Py_None
;
16834 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16837 unsigned int result
;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16848 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16855 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16858 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16860 return Py_BuildValue((char *)"");
16862 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16865 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16866 int arg2
= (int) 0 ;
16867 wxSizeEvent
*result
;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "sz",(char *) "winid", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16879 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16883 arg2
= (int)SWIG_As_int(obj1
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16900 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 wxSize
* resultptr
;
16921 resultptr
= new wxSize((wxSize
&) result
);
16922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16930 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 wxRect
* resultptr
;
16951 resultptr
= new wxRect((wxRect
&) result
);
16952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16960 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self",(char *) "rect", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16975 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 (arg1
)->SetRect(arg2
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 Py_INCREF(Py_None
); resultobj
= Py_None
;
16991 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self",(char *) "size", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
17006 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 wxSizeEvent_SetSize(arg1
,arg2
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17025 wxSize
*arg2
= (wxSize
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "m_size", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17037 if (arg1
) (arg1
)->m_size
= *arg2
;
17039 Py_INCREF(Py_None
); resultobj
= Py_None
;
17046 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 result
= (wxSize
*)& ((arg1
)->m_size
);
17060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17067 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17070 wxRect
*arg2
= (wxRect
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "m_rect", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 if (arg1
) (arg1
)->m_rect
= *arg2
;
17084 Py_INCREF(Py_None
); resultobj
= Py_None
;
17091 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17103 result
= (wxRect
*)& ((arg1
)->m_rect
);
17105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17112 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17115 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
17117 return Py_BuildValue((char *)"");
17119 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
17122 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
17123 int arg2
= (int) 0 ;
17124 wxMoveEvent
*result
;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "pos",(char *) "winid", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17136 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17140 arg2
= (int)SWIG_As_int(obj1
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17157 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 wxPoint
* resultptr
;
17178 resultptr
= new wxPoint((wxPoint
&) result
);
17179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17187 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 wxRect
* resultptr
;
17208 resultptr
= new wxRect((wxRect
&) result
);
17209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17217 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "rect", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17232 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 (arg1
)->SetRect(arg2
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 Py_INCREF(Py_None
); resultobj
= Py_None
;
17248 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self",(char *) "pos", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17262 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17263 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 wxMoveEvent_SetPosition(arg1
,arg2
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 Py_INCREF(Py_None
); resultobj
= Py_None
;
17279 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17282 wxPoint
*arg2
= (wxPoint
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self",(char *) "m_pos", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 if (arg1
) (arg1
)->m_pos
= *arg2
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17324 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17327 wxRect
*arg2
= (wxRect
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "m_rect", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17339 if (arg1
) (arg1
)->m_rect
= *arg2
;
17341 Py_INCREF(Py_None
); resultobj
= Py_None
;
17348 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "self", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17360 result
= (wxRect
*)& ((arg1
)->m_rect
);
17362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17369 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17372 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17374 return Py_BuildValue((char *)"");
17376 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 int arg1
= (int) 0 ;
17379 wxPaintEvent
*result
;
17380 PyObject
* obj0
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "Id", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17387 arg1
= (int)SWIG_As_int(obj0
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17404 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17407 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17409 return Py_BuildValue((char *)"");
17411 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 int arg1
= (int) 0 ;
17414 wxNcPaintEvent
*result
;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "winid", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17422 arg1
= (int)SWIG_As_int(obj0
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17439 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17442 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17444 return Py_BuildValue((char *)"");
17446 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 int arg1
= (int) 0 ;
17449 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17450 wxEraseEvent
*result
;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 char *kwnames
[] = {
17454 (char *) "Id",(char *) "dc", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 arg1
= (int)SWIG_As_int(obj0
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17480 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= wxPyMake_wxObject(result
, 0);
17508 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17511 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17513 return Py_BuildValue((char *)"");
17515 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17518 int arg2
= (int) 0 ;
17519 wxFocusEvent
*result
;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "type",(char *) "winid", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 arg2
= (int)SWIG_As_int(obj1
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17549 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= wxPyMake_wxObject(result
, 0);
17577 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17580 wxWindow
*arg2
= (wxWindow
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "win", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 (arg1
)->SetWindow(arg2
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17609 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17611 return Py_BuildValue((char *)"");
17613 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxWindow
*arg1
= (wxWindow
*) NULL
;
17616 wxChildFocusEvent
*result
;
17617 PyObject
* obj0
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "win", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17641 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= wxPyMake_wxObject(result
, 0);
17669 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17672 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17674 return Py_BuildValue((char *)"");
17676 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17679 bool arg2
= (bool) true ;
17680 int arg3
= (int) 0 ;
17681 wxActivateEvent
*result
;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "type",(char *) "active",(char *) "Id", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17691 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 arg2
= (bool)SWIG_As_bool(obj1
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 arg3
= (int)SWIG_As_int(obj2
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17716 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17744 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17747 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17749 return Py_BuildValue((char *)"");
17751 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 int arg1
= (int) 0 ;
17754 wxInitDialogEvent
*result
;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "Id", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17762 arg1
= (int)SWIG_As_int(obj0
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17779 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17782 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17784 return Py_BuildValue((char *)"");
17786 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17789 int arg2
= (int) 0 ;
17790 wxMenu
*arg3
= (wxMenu
*) NULL
;
17791 wxMenuEvent
*result
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 PyObject
* obj2
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "type",(char *) "winid",(char *) "menu", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17801 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 arg2
= (int)SWIG_As_int(obj1
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17826 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= SWIG_From_int((int)result
);
17852 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17880 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17884 PyObject
* obj0
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= wxPyMake_wxObject(result
, 0);
17908 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17911 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17913 return Py_BuildValue((char *)"");
17915 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17918 int arg2
= (int) 0 ;
17919 wxCloseEvent
*result
;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "type",(char *) "winid", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17928 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 arg2
= (int)SWIG_As_int(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17949 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "logOff", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 arg2
= (bool)SWIG_As_bool(obj1
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 (arg1
)->SetLoggingOff(arg2
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 Py_INCREF(Py_None
); resultobj
= Py_None
;
17978 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18006 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18009 bool arg2
= (bool) true ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "veto", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 arg2
= (bool)SWIG_As_bool(obj1
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->Veto(arg2
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 Py_INCREF(Py_None
); resultobj
= Py_None
;
18037 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self",(char *) "canVeto", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 arg2
= (bool)SWIG_As_bool(obj1
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 (arg1
)->SetCanVeto(arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 Py_INCREF(Py_None
); resultobj
= Py_None
;
18066 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18094 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
18105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18122 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
18124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18125 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
18127 return Py_BuildValue((char *)"");
18129 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 int arg1
= (int) 0 ;
18132 bool arg2
= (bool) false ;
18133 wxShowEvent
*result
;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "winid",(char *) "show", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18142 arg1
= (int)SWIG_As_int(obj0
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 arg2
= (bool)SWIG_As_bool(obj1
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18163 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self",(char *) "show", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 arg2
= (bool)SWIG_As_bool(obj1
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 (arg1
)->SetShow(arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 Py_INCREF(Py_None
); resultobj
= Py_None
;
18192 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18220 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18223 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18225 return Py_BuildValue((char *)"");
18227 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 int arg1
= (int) 0 ;
18230 bool arg2
= (bool) true ;
18231 wxIconizeEvent
*result
;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "id",(char *) "iconized", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18240 arg1
= (int)SWIG_As_int(obj0
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 arg2
= (bool)SWIG_As_bool(obj1
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18261 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (bool)(arg1
)->Iconized();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18289 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18294 return Py_BuildValue((char *)"");
18296 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 int arg1
= (int) 0 ;
18299 wxMaximizeEvent
*result
;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "id", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18307 arg1
= (int)SWIG_As_int(obj0
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18324 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18327 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18329 return Py_BuildValue((char *)"");
18331 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (arg1
)->GetPosition();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 wxPoint
* resultptr
;
18352 resultptr
= new wxPoint((wxPoint
&) result
);
18353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18361 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (int)(arg1
)->GetNumberOfFiles();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= SWIG_From_int((int)result
);
18387 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= result
;
18413 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18416 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18418 return Py_BuildValue((char *)"");
18420 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 int arg1
= (int) 0 ;
18423 wxUpdateUIEvent
*result
;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "commandId", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18431 arg1
= (int)SWIG_As_int(obj0
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18448 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18476 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18504 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18536 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18564 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18592 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18620 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "check", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= (bool)SWIG_As_bool(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 (arg1
)->Check(arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 Py_INCREF(Py_None
); resultobj
= Py_None
;
18649 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self",(char *) "enable", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 arg2
= (bool)SWIG_As_bool(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->Enable(arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18681 wxString
*arg2
= 0 ;
18682 bool temp2
= false ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "text", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18693 arg2
= wxString_in_helper(obj1
);
18694 if (arg2
== NULL
) SWIG_fail
;
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->SetText((wxString
const &)*arg2
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 Py_INCREF(Py_None
); resultobj
= Py_None
;
18719 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "updateInterval", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18728 arg1
= (long)SWIG_As_long(obj0
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 Py_INCREF(Py_None
); resultobj
= Py_None
;
18744 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18747 char *kwnames
[] = {
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_From_long((long)result
);
18766 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxWindow
*arg1
= (wxWindow
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "win", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 char *kwnames
[] = {
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 wxUpdateUIEvent::ResetUpdateTime();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "mode", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18824 arg1
= (int)SWIG_As_int(obj0
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18843 char *kwnames
[] = {
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (int)wxUpdateUIEvent::GetMode();
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_From_int((int)result
);
18862 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18865 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18867 return Py_BuildValue((char *)"");
18869 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxSysColourChangedEvent
*result
;
18872 char *kwnames
[] = {
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18891 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18894 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18896 return Py_BuildValue((char *)"");
18898 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 int arg1
= (int) 0 ;
18901 wxWindow
*arg2
= (wxWindow
*) NULL
;
18902 wxMouseCaptureChangedEvent
*result
;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "winid",(char *) "gainedCapture", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 arg1
= (int)SWIG_As_int(obj0
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18932 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= wxPyMake_wxObject(result
, 0);
18960 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18963 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18965 return Py_BuildValue((char *)"");
18967 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxDisplayChangedEvent
*result
;
18970 char *kwnames
[] = {
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18989 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18992 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18994 return Py_BuildValue((char *)"");
18996 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 int arg1
= (int) 0 ;
18999 wxPaletteChangedEvent
*result
;
19000 PyObject
* obj0
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "id", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
19007 arg1
= (int)SWIG_As_int(obj0
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
19024 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19027 wxWindow
*arg2
= (wxWindow
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self",(char *) "win", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->SetChangedWindow(arg2
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19053 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= wxPyMake_wxObject(result
, 0);
19081 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
19083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19084 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
19086 return Py_BuildValue((char *)"");
19088 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 int arg1
= (int) 0 ;
19091 wxQueryNewPaletteEvent
*result
;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "winid", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
19099 arg1
= (int)SWIG_As_int(obj0
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
19116 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "realized", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 arg2
= (bool)SWIG_As_bool(obj1
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 (arg1
)->SetPaletteRealized(arg2
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 Py_INCREF(Py_None
); resultobj
= Py_None
;
19145 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19147 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19173 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19176 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19178 return Py_BuildValue((char *)"");
19180 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxNavigationKeyEvent
*result
;
19183 char *kwnames
[] = {
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19202 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19230 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 PyObject
* obj1
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self",(char *) "forward", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= (bool)SWIG_As_bool(obj1
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetDirection(arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 Py_INCREF(Py_None
); resultobj
= Py_None
;
19259 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19287 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self",(char *) "ischange", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19300 arg2
= (bool)SWIG_As_bool(obj1
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->SetWindowChange(arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 Py_INCREF(Py_None
); resultobj
= Py_None
;
19316 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "flags", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19329 arg2
= (long)SWIG_As_long(obj1
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 (arg1
)->SetFlags(arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 Py_INCREF(Py_None
); resultobj
= Py_None
;
19345 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= wxPyMake_wxObject(result
, 0);
19373 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19376 wxWindow
*arg2
= (wxWindow
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self",(char *) "win", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 (arg1
)->SetCurrentFocus(arg2
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19405 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19407 return Py_BuildValue((char *)"");
19409 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxWindow
*arg1
= (wxWindow
*) NULL
;
19412 wxWindowCreateEvent
*result
;
19413 PyObject
* obj0
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "win", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19437 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19441 PyObject
* obj0
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= wxPyMake_wxObject(result
, 0);
19465 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19468 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19470 return Py_BuildValue((char *)"");
19472 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxWindow
*arg1
= (wxWindow
*) NULL
;
19475 wxWindowDestroyEvent
*result
;
19476 PyObject
* obj0
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "win", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19500 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= wxPyMake_wxObject(result
, 0);
19528 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19531 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19533 return Py_BuildValue((char *)"");
19535 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19538 int arg2
= (int) 0 ;
19539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19541 wxContextMenuEvent
*result
;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 PyObject
* obj2
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "type",(char *) "winid",(char *) "pt", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19552 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19556 arg2
= (int)SWIG_As_int(obj1
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19579 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19595 result
= (wxPoint
*) &_result_ref
;
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19608 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19611 wxPoint
*arg2
= 0 ;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self",(char *) "pos", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 Py_INCREF(Py_None
); resultobj
= Py_None
;
19640 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19643 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19645 return Py_BuildValue((char *)"");
19647 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxIdleEvent
*result
;
19650 char *kwnames
[] = {
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (wxIdleEvent
*)new wxIdleEvent();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19669 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19672 bool arg2
= (bool) true ;
19673 PyObject
* obj0
= 0 ;
19674 PyObject
* obj1
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self",(char *) "needMore", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19683 arg2
= (bool)SWIG_As_bool(obj1
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 (arg1
)->RequestMore(arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19728 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "mode", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19737 arg1
= (int)SWIG_As_int(obj0
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 Py_INCREF(Py_None
); resultobj
= Py_None
;
19753 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19756 char *kwnames
[] = {
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (int)wxIdleEvent::GetMode();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= SWIG_From_int((int)result
);
19775 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxWindow
*arg1
= (wxWindow
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "win", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (bool)wxIdleEvent::CanSend(arg1
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19803 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19806 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19808 return Py_BuildValue((char *)"");
19810 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 int arg1
= (int) 0 ;
19813 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "winid",(char *) "commandType", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19823 arg1
= (int)SWIG_As_int(obj0
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19827 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19844 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19872 PyObject
*arg2
= (PyObject
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self",(char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 (arg1
)->SetSelf(arg2
);
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19890 Py_INCREF(Py_None
); resultobj
= Py_None
;
19897 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (PyObject
*)(arg1
)->GetSelf();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= result
;
19923 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19926 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19928 return Py_BuildValue((char *)"");
19930 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19933 int arg2
= (int) 0 ;
19934 wxPyCommandEvent
*result
;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "commandType",(char *) "id", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19947 arg2
= (int)SWIG_As_int(obj1
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19964 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 Py_INCREF(Py_None
); resultobj
= Py_None
;
19989 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19992 PyObject
*arg2
= (PyObject
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "self", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->SetSelf(arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (PyObject
*)(arg1
)->GetSelf();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= result
;
20043 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
20045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20046 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
20048 return Py_BuildValue((char *)"");
20050 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20053 char *kwnames
[] = {
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= (wxPyApp
*)new_wxPyApp();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
20072 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 Py_INCREF(Py_None
); resultobj
= Py_None
;
20097 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20100 PyObject
*arg2
= (PyObject
*) 0 ;
20101 PyObject
*arg3
= (PyObject
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 PyObject
* obj2
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self",(char *) "self",(char *) "_class", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 Py_INCREF(Py_None
); resultobj
= Py_None
;
20128 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20160 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20163 wxString
*arg2
= 0 ;
20164 bool temp2
= false ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "name", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 arg2
= wxString_in_helper(obj1
);
20176 if (arg2
== NULL
) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 (arg1
)->SetAppName((wxString
const &)*arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 Py_INCREF(Py_None
); resultobj
= Py_None
;
20201 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20233 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20236 wxString
*arg2
= 0 ;
20237 bool temp2
= false ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "name", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 arg2
= wxString_in_helper(obj1
);
20249 if (arg2
== NULL
) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetClassName((wxString
const &)*arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20290 result
= (wxString
*) &_result_ref
;
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20300 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20309 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20312 wxString
*arg2
= 0 ;
20313 bool temp2
= false ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "name", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 arg2
= wxString_in_helper(obj1
);
20325 if (arg2
== NULL
) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 Py_INCREF(Py_None
); resultobj
= Py_None
;
20350 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20353 wxAppTraits
*result
;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20376 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->ProcessPendingEvents();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20404 bool arg2
= (bool) false ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "onlyIfNeeded", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 arg2
= (bool)SWIG_As_bool(obj1
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (bool)(arg1
)->Yield(arg2
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20435 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 (arg1
)->WakeUpIdle();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 Py_INCREF(Py_None
); resultobj
= Py_None
;
20460 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20463 char *kwnames
[] = {
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (bool)wxPyApp::IsMainLoopRunning();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20484 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (int)(arg1
)->MainLoop();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_From_int((int)result
);
20510 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->ExitMainLoop();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 Py_INCREF(Py_None
); resultobj
= Py_None
;
20560 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= (bool)(arg1
)->Pending();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20588 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (bool)(arg1
)->Dispatch();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20616 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (bool)(arg1
)->ProcessIdle();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20644 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20647 wxWindow
*arg2
= (wxWindow
*) 0 ;
20648 wxIdleEvent
*arg3
= 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 PyObject
* obj2
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "win",(char *) "event", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20665 if (arg3
== NULL
) {
20666 PyErr_SetString(PyExc_TypeError
,"null reference");
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20685 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20687 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20689 PyObject
* obj0
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "self", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20713 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20716 wxWindow
*arg2
= (wxWindow
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "win", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 (arg1
)->SetTopWindow(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 Py_INCREF(Py_None
); resultobj
= Py_None
;
20742 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= wxPyMake_wxObject(result
, 0);
20770 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self",(char *) "flag", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20783 arg2
= (bool)SWIG_As_bool(obj1
);
20784 if (PyErr_Occurred()) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->SetExitOnFrameDelete(arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 Py_INCREF(Py_None
); resultobj
= Py_None
;
20799 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20803 PyObject
* obj0
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20827 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "flag", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20840 arg2
= (bool)SWIG_As_bool(obj1
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 (arg1
)->SetUseBestVisual(arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 Py_INCREF(Py_None
); resultobj
= Py_None
;
20856 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20884 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 PyObject
* obj1
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "mode", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 arg2
= (int)SWIG_As_int(obj1
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 (arg1
)->SetPrintMode(arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_From_int((int)result
);
20939 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20941 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "mode", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 arg2
= (int)SWIG_As_int(obj1
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->SetAssertMode(arg2
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20972 PyObject
* obj0
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (int)(arg1
)->GetAssertMode();
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= SWIG_From_int((int)result
);
20994 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20997 char *kwnames
[] = {
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21018 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21021 char *kwnames
[] = {
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (long)wxPyApp::GetMacAboutMenuItemId();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_From_long((long)result
);
21040 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21043 char *kwnames
[] = {
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= SWIG_From_long((long)result
);
21062 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21065 char *kwnames
[] = {
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (long)wxPyApp::GetMacExitMenuItemId();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_From_long((long)result
);
21084 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21087 char *kwnames
[] = {
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= wxPyApp::GetMacHelpMenuTitleName();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21112 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "val", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
21121 arg1
= (bool)SWIG_As_bool(obj0
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "val", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21146 arg1
= (long)SWIG_As_long(obj0
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 wxPyApp::SetMacAboutMenuItemId(arg1
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "val", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21171 arg1
= (long)SWIG_As_long(obj0
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 Py_INCREF(Py_None
); resultobj
= Py_None
;
21187 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "val", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21196 arg1
= (long)SWIG_As_long(obj0
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 wxPyApp::SetMacExitMenuItemId(arg1
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 Py_INCREF(Py_None
); resultobj
= Py_None
;
21212 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxString
*arg1
= 0 ;
21215 bool temp1
= false ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "val", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21223 arg1
= wxString_in_helper(obj0
);
21224 if (arg1
== NULL
) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 (arg1
)->_BootstrapApp();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 Py_INCREF(Py_None
); resultobj
= Py_None
;
21274 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21277 char *kwnames
[] = {
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (int)PyApp_GetComCtl32Version();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_From_int((int)result
);
21296 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21299 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21301 return Py_BuildValue((char *)"");
21303 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 char *kwnames
[] = {
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21324 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21327 char *kwnames
[] = {
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (bool)wxYield();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21348 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21351 char *kwnames
[] = {
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= (bool)wxYieldIfNeeded();
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21372 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxWindow
*arg1
= (wxWindow
*) NULL
;
21375 bool arg2
= (bool) false ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "win",(char *) "onlyIfNeeded", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21389 arg2
= (bool)SWIG_As_bool(obj1
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)wxSafeYield(arg1
,arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21408 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 char *kwnames
[] = {
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21432 wxEvent
*arg2
= 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "dest",(char *) "event", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21445 if (arg2
== NULL
) {
21446 PyErr_SetString(PyExc_TypeError
,"null reference");
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 wxPostEvent(arg1
,*arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 Py_INCREF(Py_None
); resultobj
= Py_None
;
21463 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 char *kwnames
[] = {
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 Py_INCREF(Py_None
); resultobj
= Py_None
;
21484 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21487 char *kwnames
[] = {
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (wxPyApp
*)wxPyGetApp();
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= wxPyMake_wxObject(result
, 0);
21508 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "encoding", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
21517 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 wxSetDefaultPyEncoding((char const *)arg1
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21535 char *kwnames
[] = {
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (char *)wxGetDefaultPyEncoding();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_FromCharPtr(result
);
21554 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxEventLoop
*result
;
21557 char *kwnames
[] = {
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxEventLoop
*)new wxEventLoop();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21576 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 Py_INCREF(Py_None
); resultobj
= Py_None
;
21601 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (int)(arg1
)->Run();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_From_int((int)result
);
21627 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21630 int arg2
= (int) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self",(char *) "rc", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 arg2
= (int)SWIG_As_int(obj1
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->Exit(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= (bool)(arg1
)->Dispatch();
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21714 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21742 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxEventLoop
*result
;
21745 char *kwnames
[] = {
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21764 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "loop", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 wxEventLoop::SetActive(arg1
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21792 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21794 return Py_BuildValue((char *)"");
21796 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 int arg1
= (int) 0 ;
21799 int arg2
= (int) 0 ;
21800 int arg3
= (int) 0 ;
21801 wxAcceleratorEntry
*result
;
21802 PyObject
* obj0
= 0 ;
21803 PyObject
* obj1
= 0 ;
21804 PyObject
* obj2
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21811 arg1
= (int)SWIG_As_int(obj0
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 arg2
= (int)SWIG_As_int(obj1
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 arg3
= (int)SWIG_As_int(obj2
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21836 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 Py_INCREF(Py_None
); resultobj
= Py_None
;
21861 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 PyObject
* obj2
= 0 ;
21870 PyObject
* obj3
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 arg2
= (int)SWIG_As_int(obj1
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21880 arg3
= (int)SWIG_As_int(obj2
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21882 arg4
= (int)SWIG_As_int(obj3
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->Set(arg2
,arg3
,arg4
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 Py_INCREF(Py_None
); resultobj
= Py_None
;
21898 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (int)(arg1
)->GetFlags();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= SWIG_From_int((int)result
);
21924 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21928 PyObject
* obj0
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 result
= (int)(arg1
)->GetKeyCode();
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= SWIG_From_int((int)result
);
21950 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (int)(arg1
)->GetCommand();
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_From_int((int)result
);
21976 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21979 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21981 return Py_BuildValue((char *)"");
21983 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21986 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21987 wxAcceleratorTable
*result
;
21988 PyObject
* obj0
= 0 ;
21989 char *kwnames
[] = {
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21995 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21996 if (arg2
) arg1
= PyList_Size(obj0
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
22019 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22072 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
22074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22075 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
22077 return Py_BuildValue((char *)"");
22079 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
22080 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
22085 static PyObject
*_wrap_NullAcceleratorTable_get() {
22088 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
22093 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxString
*arg1
= 0 ;
22096 wxAcceleratorEntry
*result
;
22097 bool temp1
= false ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "label", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
22105 arg1
= wxString_in_helper(obj0
);
22106 if (arg1
== NULL
) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
22131 static int _wrap_PanelNameStr_set(PyObject
*) {
22132 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
22137 static PyObject
*_wrap_PanelNameStr_get() {
22142 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22144 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
22151 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
;
22153 wxVisualAttributes
*result
;
22154 char *kwnames
[] = {
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
22173 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 delete_wxVisualAttributes(arg1
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22198 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22201 wxFont
*arg2
= (wxFont
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self",(char *) "font", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 if (arg1
) (arg1
)->font
= *arg2
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 result
= (wxFont
*)& ((arg1
)->font
);
22236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22243 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22246 wxColour
*arg2
= (wxColour
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "colFg", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22258 if (arg1
) (arg1
)->colFg
= *arg2
;
22260 Py_INCREF(Py_None
); resultobj
= Py_None
;
22267 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 result
= (wxColour
*)& ((arg1
)->colFg
);
22281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22288 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22291 wxColour
*arg2
= (wxColour
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "colBg", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 if (arg1
) (arg1
)->colBg
= *arg2
;
22305 Py_INCREF(Py_None
); resultobj
= Py_None
;
22312 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 result
= (wxColour
*)& ((arg1
)->colBg
);
22326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22333 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22336 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22338 return Py_BuildValue((char *)"");
22340 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxWindow
*arg1
= (wxWindow
*) 0 ;
22343 int arg2
= (int) (int)-1 ;
22344 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22345 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22346 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22347 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22348 long arg5
= (long) 0 ;
22349 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22350 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22354 bool temp6
= false ;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 PyObject
* obj2
= 0 ;
22358 PyObject
* obj3
= 0 ;
22359 PyObject
* obj4
= 0 ;
22360 PyObject
* obj5
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg2
= (int)SWIG_As_int(obj1
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22375 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22381 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22385 arg5
= (long)SWIG_As_long(obj4
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22390 arg6
= wxString_in_helper(obj5
);
22391 if (arg6
== NULL
) SWIG_fail
;
22396 if (!wxPyCheckForApp()) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22418 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22421 char *kwnames
[] = {
22425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22427 if (!wxPyCheckForApp()) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (wxWindow
*)new wxWindow();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22441 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxWindow
*arg1
= (wxWindow
*) 0 ;
22444 wxWindow
*arg2
= (wxWindow
*) 0 ;
22445 int arg3
= (int) (int)-1 ;
22446 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22447 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22448 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22449 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22450 long arg6
= (long) 0 ;
22451 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22452 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22456 bool temp7
= false ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 PyObject
* obj2
= 0 ;
22460 PyObject
* obj3
= 0 ;
22461 PyObject
* obj4
= 0 ;
22462 PyObject
* obj5
= 0 ;
22463 PyObject
* obj6
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 arg3
= (int)SWIG_As_int(obj2
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22490 arg6
= (long)SWIG_As_long(obj5
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22495 arg7
= wxString_in_helper(obj6
);
22496 if (arg7
== NULL
) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22524 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxWindow
*arg1
= (wxWindow
*) 0 ;
22527 bool arg2
= (bool) false ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self",(char *) "force", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 arg2
= (bool)SWIG_As_bool(obj1
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (bool)(arg1
)->Close(arg2
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22558 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxWindow
*arg1
= (wxWindow
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (bool)(arg1
)->Destroy();
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22586 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxWindow
*arg1
= (wxWindow
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (bool)(arg1
)->DestroyChildren();
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22614 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxWindow
*arg1
= (wxWindow
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22642 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxWindow
*arg1
= (wxWindow
*) 0 ;
22645 wxString
*arg2
= 0 ;
22646 bool temp2
= false ;
22647 PyObject
* obj0
= 0 ;
22648 PyObject
* obj1
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "title", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22657 arg2
= wxString_in_helper(obj1
);
22658 if (arg2
== NULL
) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->SetTitle((wxString
const &)*arg2
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22683 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxWindow
*arg1
= (wxWindow
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= ((wxWindow
const *)arg1
)->GetTitle();
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22715 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxWindow
*arg1
= (wxWindow
*) 0 ;
22718 wxString
*arg2
= 0 ;
22719 bool temp2
= false ;
22720 PyObject
* obj0
= 0 ;
22721 PyObject
* obj1
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self",(char *) "label", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 arg2
= wxString_in_helper(obj1
);
22731 if (arg2
== NULL
) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 (arg1
)->SetLabel((wxString
const &)*arg2
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxWindow
*arg1
= (wxWindow
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= ((wxWindow
const *)arg1
)->GetLabel();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22788 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxWindow
*arg1
= (wxWindow
*) 0 ;
22791 wxString
*arg2
= 0 ;
22792 bool temp2
= false ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "name", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22803 arg2
= wxString_in_helper(obj1
);
22804 if (arg2
== NULL
) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 (arg1
)->SetName((wxString
const &)*arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 Py_INCREF(Py_None
); resultobj
= Py_None
;
22829 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxWindow
*arg1
= (wxWindow
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= ((wxWindow
const *)arg1
)->GetName();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22861 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxWindow
*arg1
= (wxWindow
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self",(char *) "variant", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22874 arg2
= (int)SWIG_As_int(obj1
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxWindow
*arg1
= (wxWindow
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_From_int((int)result
);
22916 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxWindow
*arg1
= (wxWindow
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "winid", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 arg2
= (int)SWIG_As_int(obj1
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->SetId(arg2
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxWindow
*arg1
= (wxWindow
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (int)((wxWindow
const *)arg1
)->GetId();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_From_int((int)result
);
22971 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22974 char *kwnames
[] = {
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (int)wxWindow::NewControlId();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_From_int((int)result
);
22993 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "winid", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
23003 arg1
= (int)SWIG_As_int(obj0
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (int)wxWindow::NextControlId(arg1
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_From_int((int)result
);
23019 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "winid", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
23029 arg1
= (int)SWIG_As_int(obj0
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (int)wxWindow::PrevControlId(arg1
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_From_int((int)result
);
23045 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxWindow
*arg1
= (wxWindow
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "size", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 (arg1
)->SetSize((wxSize
const &)*arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 Py_INCREF(Py_None
); resultobj
= Py_None
;
23077 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxWindow
*arg1
= (wxWindow
*) 0 ;
23084 int arg6
= (int) wxSIZE_AUTO
;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 PyObject
* obj2
= 0 ;
23088 PyObject
* obj3
= 0 ;
23089 PyObject
* obj4
= 0 ;
23090 PyObject
* obj5
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23098 arg2
= (int)SWIG_As_int(obj1
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23100 arg3
= (int)SWIG_As_int(obj2
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23102 arg4
= (int)SWIG_As_int(obj3
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23104 arg5
= (int)SWIG_As_int(obj4
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 arg6
= (int)SWIG_As_int(obj5
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 Py_INCREF(Py_None
); resultobj
= Py_None
;
23124 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxWindow
*arg1
= (wxWindow
*) 0 ;
23128 int arg3
= (int) wxSIZE_AUTO
;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 PyObject
* obj2
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23145 arg3
= (int)SWIG_As_int(obj2
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 Py_INCREF(Py_None
); resultobj
= Py_None
;
23162 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxWindow
*arg1
= (wxWindow
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 PyObject
* obj2
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "width",(char *) "height", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 arg2
= (int)SWIG_As_int(obj1
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23179 arg3
= (int)SWIG_As_int(obj2
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 (arg1
)->SetSize(arg2
,arg3
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 Py_INCREF(Py_None
); resultobj
= Py_None
;
23195 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxWindow
*arg1
= (wxWindow
*) 0 ;
23198 wxPoint
*arg2
= 0 ;
23199 int arg3
= (int) wxSIZE_USE_EXISTING
;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 PyObject
* obj2
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self",(char *) "pt",(char *) "flags", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23216 arg3
= (int)SWIG_As_int(obj2
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxWindow
*arg1
= (wxWindow
*) 0 ;
23238 int arg4
= (int) wxSIZE_USE_EXISTING
;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 PyObject
* obj2
= 0 ;
23242 PyObject
* obj3
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 arg2
= (int)SWIG_As_int(obj1
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23252 arg3
= (int)SWIG_As_int(obj2
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 arg4
= (int)SWIG_As_int(obj3
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 (arg1
)->Move(arg2
,arg3
,arg4
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 Py_INCREF(Py_None
); resultobj
= Py_None
;
23272 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxWindow
*arg1
= (wxWindow
*) 0 ;
23275 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23276 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self",(char *) "size", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23307 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxWindow
*arg1
= (wxWindow
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 Py_INCREF(Py_None
); resultobj
= Py_None
;
23332 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxWindow
*arg1
= (wxWindow
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 Py_INCREF(Py_None
); resultobj
= Py_None
;
23357 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxWindow
*arg1
= (wxWindow
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "size", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxWindow
*arg1
= (wxWindow
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 PyObject
* obj2
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "width",(char *) "height", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 arg2
= (int)SWIG_As_int(obj1
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23406 arg3
= (int)SWIG_As_int(obj2
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 (arg1
)->SetClientSize(arg2
,arg3
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 Py_INCREF(Py_None
); resultobj
= Py_None
;
23422 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxWindow
*arg1
= (wxWindow
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "rect", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23454 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (arg1
)->GetPosition();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23474 wxPoint
* resultptr
;
23475 resultptr
= new wxPoint((wxPoint
&) result
);
23476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23484 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxWindow
*arg1
= (wxWindow
*) 0 ;
23487 int *arg2
= (int *) 0 ;
23488 int *arg3
= (int *) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self", NULL
23498 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23499 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 (arg1
)->GetPosition(arg2
,arg3
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 Py_INCREF(Py_None
); resultobj
= Py_None
;
23511 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23512 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23513 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23514 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23521 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxWindow
*arg1
= (wxWindow
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= ((wxWindow
const *)arg1
)->GetSize();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 wxSize
* resultptr
;
23542 resultptr
= new wxSize((wxSize
&) result
);
23543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23551 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxWindow
*arg1
= (wxWindow
*) 0 ;
23554 int *arg2
= (int *) 0 ;
23555 int *arg3
= (int *) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self", NULL
23565 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23566 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 Py_INCREF(Py_None
); resultobj
= Py_None
;
23578 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23579 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23580 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23581 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23588 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxWindow
*arg1
= (wxWindow
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= ((wxWindow
const *)arg1
)->GetRect();
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23608 wxRect
* resultptr
;
23609 resultptr
= new wxRect((wxRect
&) result
);
23610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23618 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxWindow
*arg1
= (wxWindow
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 wxSize
* resultptr
;
23639 resultptr
= new wxSize((wxSize
&) result
);
23640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23648 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxWindow
*arg1
= (wxWindow
*) 0 ;
23651 int *arg2
= (int *) 0 ;
23652 int *arg3
= (int *) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self", NULL
23662 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23663 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23675 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23676 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23677 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23678 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23685 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxWindow
*arg1
= (wxWindow
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 wxPoint
* resultptr
;
23706 resultptr
= new wxPoint((wxPoint
&) result
);
23707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23715 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxWindow
*arg1
= (wxWindow
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 wxRect
* resultptr
;
23736 resultptr
= new wxRect((wxRect
&) result
);
23737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23745 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxWindow
*arg1
= (wxWindow
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 wxSize
* resultptr
;
23766 resultptr
= new wxSize((wxSize
&) result
);
23767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23775 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23778 int *arg2
= (int *) 0 ;
23779 int *arg3
= (int *) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self", NULL
23789 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23790 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23802 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23803 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23804 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23805 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23812 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxWindow
*arg1
= (wxWindow
*) 0 ;
23815 PyObject
* obj0
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "self", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->InvalidateBestSize();
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 wxSize
* resultptr
;
23858 resultptr
= new wxSize((wxSize
&) result
);
23859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23867 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxWindow
*arg1
= (wxWindow
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23887 wxSize
* resultptr
;
23888 resultptr
= new wxSize((wxSize
&) result
);
23889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23897 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxWindow
*arg1
= (wxWindow
*) 0 ;
23900 int arg2
= (int) wxBOTH
;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self",(char *) "direction", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 arg2
= (int)SWIG_As_int(obj1
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 (arg1
)->Center(arg2
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 Py_INCREF(Py_None
); resultobj
= Py_None
;
23928 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxWindow
*arg1
= (wxWindow
*) 0 ;
23931 int arg2
= (int) wxBOTH
;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self",(char *) "dir", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23942 arg2
= (int)SWIG_As_int(obj1
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 (arg1
)->CenterOnScreen(arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 Py_INCREF(Py_None
); resultobj
= Py_None
;
23959 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxWindow
*arg1
= (wxWindow
*) 0 ;
23962 int arg2
= (int) wxBOTH
;
23963 PyObject
* obj0
= 0 ;
23964 PyObject
* obj1
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "dir", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 arg2
= (int)SWIG_As_int(obj1
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 (arg1
)->CenterOnParent(arg2
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 Py_INCREF(Py_None
); resultobj
= Py_None
;
23990 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxWindow
*arg1
= (wxWindow
*) 0 ;
23993 PyObject
* obj0
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 Py_INCREF(Py_None
); resultobj
= Py_None
;
24015 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 wxWindow
*arg1
= (wxWindow
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->FitInside();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 Py_INCREF(Py_None
); resultobj
= Py_None
;
24040 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxWindow
*arg1
= (wxWindow
*) 0 ;
24045 int arg4
= (int) -1 ;
24046 int arg5
= (int) -1 ;
24047 int arg6
= (int) -1 ;
24048 int arg7
= (int) -1 ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 PyObject
* obj2
= 0 ;
24052 PyObject
* obj3
= 0 ;
24053 PyObject
* obj4
= 0 ;
24054 PyObject
* obj5
= 0 ;
24055 PyObject
* obj6
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24063 arg2
= (int)SWIG_As_int(obj1
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24065 arg3
= (int)SWIG_As_int(obj2
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 arg4
= (int)SWIG_As_int(obj3
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24072 arg5
= (int)SWIG_As_int(obj4
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 arg6
= (int)SWIG_As_int(obj5
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24080 arg7
= (int)SWIG_As_int(obj6
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxWindow
*arg1
= (wxWindow
*) 0 ;
24101 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24102 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24103 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24104 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 PyObject
* obj2
= 0 ;
24111 PyObject
* obj3
= 0 ;
24112 char *kwnames
[] = {
24113 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24126 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxWindow
*arg1
= (wxWindow
*) 0 ;
24154 int arg4
= (int) -1 ;
24155 int arg5
= (int) -1 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 PyObject
* obj3
= 0 ;
24160 PyObject
* obj4
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 arg2
= (int)SWIG_As_int(obj1
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24170 arg3
= (int)SWIG_As_int(obj2
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 arg4
= (int)SWIG_As_int(obj3
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 arg5
= (int)SWIG_As_int(obj4
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 Py_INCREF(Py_None
); resultobj
= Py_None
;
24194 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxWindow
*arg1
= (wxWindow
*) 0 ;
24198 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24199 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 PyObject
* obj2
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24219 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxWindow
*arg1
= (wxWindow
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 wxSize
* resultptr
;
24257 resultptr
= new wxSize((wxSize
&) result
);
24258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24266 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxWindow
*arg1
= (wxWindow
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 wxSize
* resultptr
;
24287 resultptr
= new wxSize((wxSize
&) result
);
24288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24296 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxWindow
*arg1
= (wxWindow
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self",(char *) "minSize", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 Py_INCREF(Py_None
); resultobj
= Py_None
;
24328 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxWindow
*arg1
= (wxWindow
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "maxSize", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24344 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 Py_INCREF(Py_None
); resultobj
= Py_None
;
24360 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxWindow
*arg1
= (wxWindow
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_From_int((int)result
);
24386 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxWindow
*arg1
= (wxWindow
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_From_int((int)result
);
24412 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxWindow
*arg1
= (wxWindow
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_From_int((int)result
);
24438 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxWindow
*arg1
= (wxWindow
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_From_int((int)result
);
24464 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxWindow
*arg1
= (wxWindow
*) 0 ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "size", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24480 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 Py_INCREF(Py_None
); resultobj
= Py_None
;
24496 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
;
24498 wxWindow
*arg1
= (wxWindow
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 PyObject
* obj2
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self",(char *) "w",(char *) "h", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24511 arg2
= (int)SWIG_As_int(obj1
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24513 arg3
= (int)SWIG_As_int(obj2
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 (arg1
)->SetVirtualSize(arg2
,arg3
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 Py_INCREF(Py_None
); resultobj
= Py_None
;
24529 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxWindow
*arg1
= (wxWindow
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24549 wxSize
* resultptr
;
24550 resultptr
= new wxSize((wxSize
&) result
);
24551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24559 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxWindow
*arg1
= (wxWindow
*) 0 ;
24562 int *arg2
= (int *) 0 ;
24563 int *arg3
= (int *) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self", NULL
24573 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24574 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 Py_INCREF(Py_None
); resultobj
= Py_None
;
24586 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24587 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24588 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24589 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24596 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxWindow
*arg1
= (wxWindow
*) 0 ;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 wxSize
* resultptr
;
24617 resultptr
= new wxSize((wxSize
&) result
);
24618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24626 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24628 wxWindow
*arg1
= (wxWindow
*) 0 ;
24629 bool arg2
= (bool) true ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self",(char *) "show", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 arg2
= (bool)SWIG_As_bool(obj1
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 result
= (bool)(arg1
)->Show(arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24660 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxWindow
*arg1
= (wxWindow
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (bool)(arg1
)->Hide();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxWindow
*arg1
= (wxWindow
*) 0 ;
24691 bool arg2
= (bool) true ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "enable", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24703 arg2
= (bool)SWIG_As_bool(obj1
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (bool)(arg1
)->Enable(arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24722 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxWindow
*arg1
= (wxWindow
*) 0 ;
24726 PyObject
* obj0
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (bool)(arg1
)->Disable();
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24750 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxWindow
*arg1
= (wxWindow
*) 0 ;
24754 PyObject
* obj0
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24778 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxWindow
*arg1
= (wxWindow
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24806 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxWindow
*arg1
= (wxWindow
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self",(char *) "style", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24819 arg2
= (long)SWIG_As_long(obj1
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 (arg1
)->SetWindowStyleFlag(arg2
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24828 Py_INCREF(Py_None
); resultobj
= Py_None
;
24835 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxWindow
*arg1
= (wxWindow
*) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_From_long((long)result
);
24861 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "flag", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24875 arg2
= (int)SWIG_As_int(obj1
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24893 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxWindow
*arg1
= (wxWindow
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24921 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxWindow
*arg1
= (wxWindow
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self",(char *) "exStyle", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24934 arg2
= (long)SWIG_As_long(obj1
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 (arg1
)->SetExtraStyle(arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 Py_INCREF(Py_None
); resultobj
= Py_None
;
24950 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_From_long((long)result
);
24976 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxWindow
*arg1
= (wxWindow
*) 0 ;
24979 bool arg2
= (bool) true ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self",(char *) "modal", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24990 arg2
= (bool)SWIG_As_bool(obj1
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 (arg1
)->MakeModal(arg2
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 Py_INCREF(Py_None
); resultobj
= Py_None
;
25007 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxWindow
*arg1
= (wxWindow
*) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "enableTheme", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
25018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25020 arg2
= (bool)SWIG_As_bool(obj1
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 (arg1
)->SetThemeEnabled(arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 Py_INCREF(Py_None
); resultobj
= Py_None
;
25036 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxWindow
*arg1
= (wxWindow
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25064 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxWindow
*arg1
= (wxWindow
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
25073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 (arg1
)->SetFocus();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetFocusFromKbd();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25117 char *kwnames
[] = {
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
25123 if (!wxPyCheckForApp()) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (wxWindow
*)wxWindow::FindFocus();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= wxPyMake_wxObject(result
, 0);
25139 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxWindow
*arg1
= (wxWindow
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25167 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxWindow
*arg1
= (wxWindow
*) 0 ;
25171 PyObject
* obj0
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25195 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxWindow
*arg1
= (wxWindow
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= wxPyMake_wxObject(result
, 0);
25223 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxWindow
*arg1
= (wxWindow
*) 0 ;
25226 wxWindow
*arg2
= (wxWindow
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self",(char *) "child", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= wxPyMake_wxObject(result
, 0);
25255 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxWindow
*arg1
= (wxWindow
*) 0 ;
25258 wxWindow
*arg2
= (wxWindow
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "win", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->SetTmpDefaultItem(arg2
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 Py_INCREF(Py_None
); resultobj
= Py_None
;
25284 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxWindow
*arg1
= (wxWindow
*) 0 ;
25287 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "flags", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25299 arg2
= (int)SWIG_As_int(obj1
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (bool)(arg1
)->Navigate(arg2
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25318 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxWindow
*arg1
= (wxWindow
*) 0 ;
25321 wxWindow
*arg2
= (wxWindow
*) 0 ;
25322 PyObject
* obj0
= 0 ;
25323 PyObject
* obj1
= 0 ;
25324 char *kwnames
[] = {
25325 (char *) "self",(char *) "win", NULL
25328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->MoveAfterInTabOrder(arg2
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 Py_INCREF(Py_None
); resultobj
= Py_None
;
25347 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxWindow
*arg1
= (wxWindow
*) 0 ;
25350 wxWindow
*arg2
= (wxWindow
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "self",(char *) "win", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->MoveBeforeInTabOrder(arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 Py_INCREF(Py_None
); resultobj
= Py_None
;
25376 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxWindow
*arg1
= (wxWindow
*) 0 ;
25380 PyObject
* obj0
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= result
;
25402 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxWindow
*arg1
= (wxWindow
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= wxPyMake_wxObject(result
, 0);
25430 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxWindow
*arg1
= (wxWindow
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= wxPyMake_wxObject(result
, 0);
25458 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
;
25460 wxWindow
*arg1
= (wxWindow
*) 0 ;
25462 PyObject
* obj0
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25486 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxWindow
*arg1
= (wxWindow
*) 0 ;
25489 wxWindow
*arg2
= (wxWindow
*) 0 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "newParent", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (bool)(arg1
)->Reparent(arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25518 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 wxWindow
*arg2
= (wxWindow
*) 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self",(char *) "child", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->AddChild(arg2
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 Py_INCREF(Py_None
); resultobj
= Py_None
;
25547 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxWindow
*arg1
= (wxWindow
*) 0 ;
25550 wxWindow
*arg2
= (wxWindow
*) 0 ;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self",(char *) "child", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 (arg1
)->RemoveChild(arg2
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 Py_INCREF(Py_None
); resultobj
= Py_None
;
25576 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxWindow
*arg1
= (wxWindow
*) 0 ;
25581 PyObject
* obj0
= 0 ;
25582 PyObject
* obj1
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "self",(char *) "winid", NULL
25587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25590 arg2
= (long)SWIG_As_long(obj1
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= wxPyMake_wxObject(result
, 0);
25608 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxWindow
*arg1
= (wxWindow
*) 0 ;
25611 wxString
*arg2
= 0 ;
25613 bool temp2
= false ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self",(char *) "name", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25624 arg2
= wxString_in_helper(obj1
);
25625 if (arg2
== NULL
) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= wxPyMake_wxObject(result
, 0);
25652 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxWindow
*arg1
= (wxWindow
*) 0 ;
25655 wxEvtHandler
*result
;
25656 PyObject
* obj0
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= wxPyMake_wxObject(result
, 0);
25680 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxWindow
*arg1
= (wxWindow
*) 0 ;
25683 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "handler", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 (arg1
)->SetEventHandler(arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxWindow
*arg1
= (wxWindow
*) 0 ;
25712 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char *kwnames
[] = {
25716 (char *) "self",(char *) "handler", NULL
25719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->PushEventHandler(arg2
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 Py_INCREF(Py_None
); resultobj
= Py_None
;
25738 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxWindow
*arg1
= (wxWindow
*) 0 ;
25741 bool arg2
= (bool) false ;
25742 wxEvtHandler
*result
;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self",(char *) "deleteHandler", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 arg2
= (bool)SWIG_As_bool(obj1
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= wxPyMake_wxObject(result
, 0);
25772 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxWindow
*arg1
= (wxWindow
*) 0 ;
25775 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "handler", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25804 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxWindow
*arg1
= (wxWindow
*) 0 ;
25807 wxValidator
*arg2
= 0 ;
25808 PyObject
* obj0
= 0 ;
25809 PyObject
* obj1
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self",(char *) "validator", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25820 if (arg2
== NULL
) {
25821 PyErr_SetString(PyExc_TypeError
,"null reference");
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 Py_INCREF(Py_None
); resultobj
= Py_None
;
25838 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxWindow
*arg1
= (wxWindow
*) 0 ;
25841 wxValidator
*result
;
25842 PyObject
* obj0
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (wxValidator
*)(arg1
)->GetValidator();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= wxPyMake_wxObject(result
, 0);
25866 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxWindow
*arg1
= (wxWindow
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (bool)(arg1
)->Validate();
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25894 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxWindow
*arg1
= (wxWindow
*) 0 ;
25898 PyObject
* obj0
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (bool)(arg1
)->TransferDataToWindow();
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25922 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxWindow
*arg1
= (wxWindow
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= (bool)(arg1
)->TransferDataFromWindow();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25950 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxWindow
*arg1
= (wxWindow
*) 0 ;
25953 PyObject
* obj0
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 (arg1
)->InitDialog();
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 Py_INCREF(Py_None
); resultobj
= Py_None
;
25975 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxWindow
*arg1
= (wxWindow
*) 0 ;
25978 wxAcceleratorTable
*arg2
= 0 ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char *kwnames
[] = {
25982 (char *) "self",(char *) "accel", NULL
25985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25991 if (arg2
== NULL
) {
25992 PyErr_SetString(PyExc_TypeError
,"null reference");
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 Py_INCREF(Py_None
); resultobj
= Py_None
;
26009 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26012 wxAcceleratorTable
*result
;
26013 PyObject
* obj0
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
26035 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxWindow
*arg1
= (wxWindow
*) 0 ;
26042 PyObject
* obj0
= 0 ;
26043 PyObject
* obj1
= 0 ;
26044 PyObject
* obj2
= 0 ;
26045 PyObject
* obj3
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26053 arg2
= (int)SWIG_As_int(obj1
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26055 arg3
= (int)SWIG_As_int(obj2
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26057 arg4
= (int)SWIG_As_int(obj3
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26075 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxWindow
*arg1
= (wxWindow
*) 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "hotkeyId", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26089 arg2
= (int)SWIG_As_int(obj1
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26107 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
;
26109 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 wxPoint
*arg2
= 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "pt", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 wxPoint
* resultptr
;
26135 resultptr
= new wxPoint((wxPoint
&) result
);
26136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26144 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxWindow
*arg1
= (wxWindow
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self",(char *) "sz", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
26157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 wxSize
* resultptr
;
26172 resultptr
= new wxSize((wxSize
&) result
);
26173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26181 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxWindow
*arg1
= (wxWindow
*) 0 ;
26184 wxPoint
*arg2
= 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "pt", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 wxPoint
* resultptr
;
26209 resultptr
= new wxPoint((wxPoint
&) result
);
26210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26218 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxWindow
*arg1
= (wxWindow
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self",(char *) "sz", NULL
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26245 wxSize
* resultptr
;
26246 resultptr
= new wxSize((wxSize
&) result
);
26247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26255 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxWindow
*arg1
= (wxWindow
*) 0 ;
26258 wxPoint
*arg2
= 0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 char *kwnames
[] = {
26264 (char *) "self",(char *) "pt", NULL
26267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 wxPoint
* resultptr
;
26283 resultptr
= new wxPoint((wxPoint
&) result
);
26284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26292 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxWindow
*arg1
= (wxWindow
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "sz", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26309 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 wxSize
* resultptr
;
26320 resultptr
= new wxSize((wxSize
&) result
);
26321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26329 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxWindow
*arg1
= (wxWindow
*) 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 PyObject
* obj2
= 0 ;
26337 char *kwnames
[] = {
26338 (char *) "self",(char *) "x",(char *) "y", NULL
26341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26344 arg2
= (int)SWIG_As_int(obj1
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26346 arg3
= (int)SWIG_As_int(obj2
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 (arg1
)->WarpPointer(arg2
,arg3
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 Py_INCREF(Py_None
); resultobj
= Py_None
;
26362 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
;
26364 wxWindow
*arg1
= (wxWindow
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 (arg1
)->CaptureMouse();
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 Py_INCREF(Py_None
); resultobj
= Py_None
;
26387 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxWindow
*arg1
= (wxWindow
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 (arg1
)->ReleaseMouse();
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 Py_INCREF(Py_None
); resultobj
= Py_None
;
26412 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26415 char *kwnames
[] = {
26419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26421 if (!wxPyCheckForApp()) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (wxWindow
*)wxWindow::GetCapture();
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= wxPyMake_wxObject(result
, 0);
26437 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26465 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxWindow
*arg1
= (wxWindow
*) 0 ;
26468 bool arg2
= (bool) true ;
26469 wxRect
*arg3
= (wxRect
*) NULL
;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 PyObject
* obj2
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 arg2
= (bool)SWIG_As_bool(obj1
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 Py_INCREF(Py_None
); resultobj
= Py_None
;
26502 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxWindow
*arg1
= (wxWindow
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self",(char *) "rect", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 Py_INCREF(Py_None
); resultobj
= Py_None
;
26534 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxWindow
*arg1
= (wxWindow
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26559 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 (arg1
)->ClearBackground();
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 Py_INCREF(Py_None
); resultobj
= Py_None
;
26584 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxWindow
*arg1
= (wxWindow
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 char *kwnames
[] = {
26589 (char *) "self", NULL
26592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26602 Py_INCREF(Py_None
); resultobj
= Py_None
;
26609 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxWindow
*arg1
= (wxWindow
*) 0 ;
26612 PyObject
* obj0
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 Py_INCREF(Py_None
); resultobj
= Py_None
;
26634 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxWindow
*arg1
= (wxWindow
*) 0 ;
26638 PyObject
* obj0
= 0 ;
26639 PyObject
* obj1
= 0 ;
26640 char *kwnames
[] = {
26641 (char *) "self",(char *) "dc", NULL
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26650 if (arg2
== NULL
) {
26651 PyErr_SetString(PyExc_TypeError
,"null reference");
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 (arg1
)->PrepareDC(*arg2
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 Py_INCREF(Py_None
); resultobj
= Py_None
;
26668 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxWindow
*arg1
= (wxWindow
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26684 result
= (wxRegion
*) &_result_ref
;
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26697 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26698 PyObject
*resultobj
;
26699 wxWindow
*arg1
= (wxWindow
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 char *kwnames
[] = {
26703 (char *) "self", NULL
26706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 wxRect
* resultptr
;
26718 resultptr
= new wxRect((wxRect
&) result
);
26719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26727 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxWindow
*arg1
= (wxWindow
*) 0 ;
26732 int arg4
= (int) 1 ;
26733 int arg5
= (int) 1 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 PyObject
* obj2
= 0 ;
26738 PyObject
* obj3
= 0 ;
26739 PyObject
* obj4
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26747 arg2
= (int)SWIG_As_int(obj1
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26749 arg3
= (int)SWIG_As_int(obj2
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 arg4
= (int)SWIG_As_int(obj3
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 arg5
= (int)SWIG_As_int(obj4
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26775 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxWindow
*arg1
= (wxWindow
*) 0 ;
26778 wxPoint
*arg2
= 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self",(char *) "pt", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26810 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxWindow
*arg1
= (wxWindow
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self",(char *) "rect", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26827 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26845 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxWindow
*arg1
= (wxWindow
*) 0 ;
26848 wxVisualAttributes result
;
26849 PyObject
* obj0
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 wxVisualAttributes
* resultptr
;
26866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26875 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26878 wxVisualAttributes result
;
26879 PyObject
* obj0
= 0 ;
26880 char *kwnames
[] = {
26881 (char *) "variant", NULL
26884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26886 arg1
= (int)SWIG_As_int(obj0
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26890 if (!wxPyCheckForApp()) SWIG_fail
;
26891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26898 wxVisualAttributes
* resultptr
;
26899 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26908 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxWindow
*arg1
= (wxWindow
*) 0 ;
26911 wxColour
*arg2
= 0 ;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "colour", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26925 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26943 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxWindow
*arg1
= (wxWindow
*) 0 ;
26946 wxColour
*arg2
= 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "colour", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 Py_INCREF(Py_None
); resultobj
= Py_None
;
26975 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxWindow
*arg1
= (wxWindow
*) 0 ;
26978 wxColour
*arg2
= 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "colour", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27010 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxWindow
*arg1
= (wxWindow
*) 0 ;
27013 wxColour
*arg2
= 0 ;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 char *kwnames
[] = {
27018 (char *) "self",(char *) "colour", NULL
27021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
27022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27026 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
27032 wxPyEndAllowThreads(__tstate
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 Py_INCREF(Py_None
); resultobj
= Py_None
;
27042 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
;
27044 wxWindow
*arg1
= (wxWindow
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
27052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27062 wxColour
* resultptr
;
27063 resultptr
= new wxColour((wxColour
&) result
);
27064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27072 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxWindow
*arg1
= (wxWindow
*) 0 ;
27076 PyObject
* obj0
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
27082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27092 wxColour
* resultptr
;
27093 resultptr
= new wxColour((wxColour
&) result
);
27094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
27102 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxWindow
*arg1
= (wxWindow
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self",(char *) "style", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 arg2
= (int)SWIG_As_int(obj1
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27134 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxWindow
*arg1
= (wxWindow
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "self", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
27144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_From_int((int)result
);
27160 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxWindow
*arg1
= (wxWindow
*) 0 ;
27163 wxCursor
*arg2
= 0 ;
27165 PyObject
* obj0
= 0 ;
27166 PyObject
* obj1
= 0 ;
27167 char *kwnames
[] = {
27168 (char *) "self",(char *) "cursor", NULL
27171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
27172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
27175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27177 if (arg2
== NULL
) {
27178 PyErr_SetString(PyExc_TypeError
,"null reference");
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27197 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxWindow
*arg1
= (wxWindow
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 result
= (arg1
)->GetCursor();
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27217 wxCursor
* resultptr
;
27218 resultptr
= new wxCursor((wxCursor
&) result
);
27219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27227 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxWindow
*arg1
= (wxWindow
*) 0 ;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self",(char *) "font", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27244 if (arg2
== NULL
) {
27245 PyErr_SetString(PyExc_TypeError
,"null reference");
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27264 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxWindow
*arg1
= (wxWindow
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 PyObject
* obj1
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self",(char *) "font", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27280 if (arg2
== NULL
) {
27281 PyErr_SetString(PyExc_TypeError
,"null reference");
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 Py_INCREF(Py_None
); resultobj
= Py_None
;
27298 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxWindow
*arg1
= (wxWindow
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 char *kwnames
[] = {
27304 (char *) "self", NULL
27307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (arg1
)->GetFont();
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 wxFont
* resultptr
;
27319 resultptr
= new wxFont((wxFont
&) result
);
27320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27328 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
;
27330 wxWindow
*arg1
= (wxWindow
*) 0 ;
27331 wxCaret
*arg2
= (wxCaret
*) 0 ;
27332 PyObject
* obj0
= 0 ;
27333 PyObject
* obj1
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "caret", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 (arg1
)->SetCaret(arg2
);
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27350 Py_INCREF(Py_None
); resultobj
= Py_None
;
27357 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxWindow
*arg1
= (wxWindow
*) 0 ;
27361 PyObject
* obj0
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27383 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxWindow
*arg1
= (wxWindow
*) 0 ;
27387 PyObject
* obj0
= 0 ;
27388 char *kwnames
[] = {
27389 (char *) "self", NULL
27392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_From_int((int)result
);
27409 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxWindow
*arg1
= (wxWindow
*) 0 ;
27413 PyObject
* obj0
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27428 resultobj
= SWIG_From_int((int)result
);
27435 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 wxString
*arg2
= 0 ;
27439 int *arg3
= (int *) 0 ;
27440 int *arg4
= (int *) 0 ;
27441 bool temp2
= false ;
27446 PyObject
* obj0
= 0 ;
27447 PyObject
* obj1
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self",(char *) "string", NULL
27452 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27453 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27458 arg2
= wxString_in_helper(obj1
);
27459 if (arg2
== NULL
) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 Py_INCREF(Py_None
); resultobj
= Py_None
;
27470 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27471 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27472 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27473 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27488 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxWindow
*arg1
= (wxWindow
*) 0 ;
27491 wxString
*arg2
= 0 ;
27492 int *arg3
= (int *) 0 ;
27493 int *arg4
= (int *) 0 ;
27494 int *arg5
= (int *) 0 ;
27495 int *arg6
= (int *) 0 ;
27496 wxFont
*arg7
= (wxFont
*) NULL
;
27497 bool temp2
= false ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 PyObject
* obj2
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "string",(char *) "font", NULL
27513 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27514 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27515 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27516 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27521 arg2
= wxString_in_helper(obj1
);
27522 if (arg2
== NULL
) SWIG_fail
;
27526 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27538 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27539 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27540 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27541 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27542 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27543 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27544 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27559 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxWindow
*arg1
= (wxWindow
*) 0 ;
27562 int *arg2
= (int *) 0 ;
27563 int *arg3
= (int *) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 PyObject
* obj2
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "x",(char *) "y", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27579 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27580 temp2
= SWIG_As_int(obj1
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 res2
= SWIG_NEWOBJ
;
27587 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27588 temp3
= SWIG_As_int(obj2
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 res3
= SWIG_NEWOBJ
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 Py_INCREF(Py_None
); resultobj
= Py_None
;
27602 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27603 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27604 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27605 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27612 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxWindow
*arg1
= (wxWindow
*) 0 ;
27615 int *arg2
= (int *) 0 ;
27616 int *arg3
= (int *) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 PyObject
* obj1
= 0 ;
27623 PyObject
* obj2
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self",(char *) "x",(char *) "y", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27633 temp2
= SWIG_As_int(obj1
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 res2
= SWIG_NEWOBJ
;
27640 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27641 temp3
= SWIG_As_int(obj2
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 res3
= SWIG_NEWOBJ
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 Py_INCREF(Py_None
); resultobj
= Py_None
;
27655 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27656 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27657 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27658 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27665 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxWindow
*arg1
= (wxWindow
*) 0 ;
27668 wxPoint
*arg2
= 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self",(char *) "pt", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 wxPoint
* resultptr
;
27693 resultptr
= new wxPoint((wxPoint
&) result
);
27694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27702 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
;
27704 wxWindow
*arg1
= (wxWindow
*) 0 ;
27705 wxPoint
*arg2
= 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self",(char *) "pt", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27729 wxPoint
* resultptr
;
27730 resultptr
= new wxPoint((wxPoint
&) result
);
27731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27739 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxWindow
*arg1
= (wxWindow
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 PyObject
* obj2
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self",(char *) "x",(char *) "y", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27755 arg2
= (int)SWIG_As_int(obj1
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27757 arg3
= (int)SWIG_As_int(obj2
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27766 resultobj
= SWIG_From_int((int)result
);
27773 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxWindow
*arg1
= (wxWindow
*) 0 ;
27776 wxPoint
*arg2
= 0 ;
27779 PyObject
* obj0
= 0 ;
27780 PyObject
* obj1
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "self",(char *) "pt", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= SWIG_From_int((int)result
);
27806 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27807 PyObject
*resultobj
;
27808 wxWindow
*arg1
= (wxWindow
*) 0 ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27814 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 arg2
= (long)SWIG_As_long(obj1
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_From_int((int)result
);
27833 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27834 PyObject
*resultobj
;
27835 wxWindow
*arg1
= (wxWindow
*) 0 ;
27837 PyObject
* obj0
= 0 ;
27839 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_From_int((int)result
);
27856 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27861 argc
= PyObject_Length(args
);
27862 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27863 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27869 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27877 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27884 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27892 _v
= SWIG_Check_long(argv
[1]);
27894 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27899 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27904 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxWindow
*arg1
= (wxWindow
*) 0 ;
27907 long arg2
= (long) wxUPDATE_UI_NONE
;
27908 PyObject
* obj0
= 0 ;
27909 PyObject
* obj1
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "self",(char *) "flags", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27918 arg2
= (long)SWIG_As_long(obj1
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 (arg1
)->UpdateWindowUI(arg2
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 Py_INCREF(Py_None
); resultobj
= Py_None
;
27935 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 wxWindow
*arg1
= (wxWindow
*) 0 ;
27938 wxMenu
*arg2
= (wxMenu
*) 0 ;
27939 int arg3
= (int) -1 ;
27940 int arg4
= (int) -1 ;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 PyObject
* obj2
= 0 ;
27945 PyObject
* obj3
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 arg3
= (int)SWIG_As_int(obj2
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27960 arg4
= (int)SWIG_As_int(obj3
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27979 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxWindow
*arg1
= (wxWindow
*) 0 ;
27982 wxMenu
*arg2
= (wxMenu
*) 0 ;
27983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27987 PyObject
* obj0
= 0 ;
27988 PyObject
* obj1
= 0 ;
27989 PyObject
* obj2
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self",(char *) "menu",(char *) "pos", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28021 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxWindow
*arg1
= (wxWindow
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 char *kwnames
[] = {
28027 (char *) "self", NULL
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
28031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (long)wxWindow_GetHandle(arg1
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= SWIG_From_long((long)result
);
28047 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxWindow
*arg1
= (wxWindow
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "handle", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 arg2
= (long)SWIG_As_long(obj1
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 wxWindow_AssociateHandle(arg1
,arg2
);
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28069 Py_INCREF(Py_None
); resultobj
= Py_None
;
28076 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28077 PyObject
*resultobj
;
28078 wxWindow
*arg1
= (wxWindow
*) 0 ;
28079 PyObject
* obj0
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "self", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
28085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 (arg1
)->DissociateHandle();
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 Py_INCREF(Py_None
); resultobj
= Py_None
;
28101 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
;
28103 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self",(char *) "orient", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
28113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28115 arg2
= (int)SWIG_As_int(obj1
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28133 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxWindow
*arg1
= (wxWindow
*) 0 ;
28140 bool arg6
= (bool) true ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 PyObject
* obj2
= 0 ;
28144 PyObject
* obj3
= 0 ;
28145 PyObject
* obj4
= 0 ;
28146 PyObject
* obj5
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28154 arg2
= (int)SWIG_As_int(obj1
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28156 arg3
= (int)SWIG_As_int(obj2
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28158 arg4
= (int)SWIG_As_int(obj3
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28160 arg5
= (int)SWIG_As_int(obj4
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 arg6
= (bool)SWIG_As_bool(obj5
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 Py_INCREF(Py_None
); resultobj
= Py_None
;
28180 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxWindow
*arg1
= (wxWindow
*) 0 ;
28185 bool arg4
= (bool) true ;
28186 PyObject
* obj0
= 0 ;
28187 PyObject
* obj1
= 0 ;
28188 PyObject
* obj2
= 0 ;
28189 PyObject
* obj3
= 0 ;
28190 char *kwnames
[] = {
28191 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28197 arg2
= (int)SWIG_As_int(obj1
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28199 arg3
= (int)SWIG_As_int(obj2
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 arg4
= (bool)SWIG_As_bool(obj3
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 Py_INCREF(Py_None
); resultobj
= Py_None
;
28219 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxWindow
*arg1
= (wxWindow
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 char *kwnames
[] = {
28227 (char *) "self",(char *) "orientation", NULL
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28233 arg2
= (int)SWIG_As_int(obj1
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_From_int((int)result
);
28249 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxWindow
*arg1
= (wxWindow
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 PyObject
* obj1
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self",(char *) "orientation", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28263 arg2
= (int)SWIG_As_int(obj1
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_From_int((int)result
);
28279 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxWindow
*arg1
= (wxWindow
*) 0 ;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "orientation", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28293 arg2
= (int)SWIG_As_int(obj1
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_From_int((int)result
);
28309 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxWindow
*arg1
= (wxWindow
*) 0 ;
28314 wxRect
*arg4
= (wxRect
*) NULL
;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 PyObject
* obj2
= 0 ;
28318 PyObject
* obj3
= 0 ;
28319 char *kwnames
[] = {
28320 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28326 arg2
= (int)SWIG_As_int(obj1
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28328 arg3
= (int)SWIG_As_int(obj2
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 Py_INCREF(Py_None
); resultobj
= Py_None
;
28348 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxWindow
*arg1
= (wxWindow
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 PyObject
* obj1
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self",(char *) "lines", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 arg2
= (int)SWIG_As_int(obj1
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (bool)(arg1
)->ScrollLines(arg2
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28380 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxWindow
*arg1
= (wxWindow
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 PyObject
* obj1
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self",(char *) "pages", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 arg2
= (int)SWIG_As_int(obj1
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (bool)(arg1
)->ScrollPages(arg2
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28412 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxWindow
*arg1
= (wxWindow
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 char *kwnames
[] = {
28418 (char *) "self", NULL
28421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (bool)(arg1
)->LineUp();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28440 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
;
28442 wxWindow
*arg1
= (wxWindow
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= (bool)(arg1
)->LineDown();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28468 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxWindow
*arg1
= (wxWindow
*) 0 ;
28472 PyObject
* obj0
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (bool)(arg1
)->PageUp();
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28496 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxWindow
*arg1
= (wxWindow
*) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 char *kwnames
[] = {
28502 (char *) "self", NULL
28505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 result
= (bool)(arg1
)->PageDown();
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28524 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxWindow
*arg1
= (wxWindow
*) 0 ;
28527 wxString
*arg2
= 0 ;
28528 bool temp2
= false ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "text", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28539 arg2
= wxString_in_helper(obj1
);
28540 if (arg2
== NULL
) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 Py_INCREF(Py_None
); resultobj
= Py_None
;
28565 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxWindow
*arg1
= (wxWindow
*) 0 ;
28568 wxString
*arg2
= 0 ;
28569 bool temp2
= false ;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "text", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28580 arg2
= wxString_in_helper(obj1
);
28581 if (arg2
== NULL
) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 Py_INCREF(Py_None
); resultobj
= Py_None
;
28606 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxWindow
*arg1
= (wxWindow
*) 0 ;
28610 PyObject
* obj0
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28638 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxWindow
*arg1
= (wxWindow
*) 0 ;
28641 wxString
*arg2
= 0 ;
28642 bool temp2
= false ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self",(char *) "tip", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28653 arg2
= wxString_in_helper(obj1
);
28654 if (arg2
== NULL
) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 Py_INCREF(Py_None
); resultobj
= Py_None
;
28679 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
;
28681 wxWindow
*arg1
= (wxWindow
*) 0 ;
28682 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 char *kwnames
[] = {
28686 (char *) "self",(char *) "tip", NULL
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 (arg1
)->SetToolTip(arg2
);
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 Py_INCREF(Py_None
); resultobj
= Py_None
;
28708 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxWindow
*arg1
= (wxWindow
*) 0 ;
28712 PyObject
* obj0
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= wxPyMake_wxObject(result
, 0);
28736 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28739 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "dropTarget", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28750 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->SetDropTarget(arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxWindow
*arg1
= (wxWindow
*) 0 ;
28768 wxPyDropTarget
*result
;
28769 PyObject
* obj0
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28791 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxWindow
*arg1
= (wxWindow
*) 0 ;
28794 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "constraints", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->SetConstraints(arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 Py_INCREF(Py_None
); resultobj
= Py_None
;
28820 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxWindow
*arg1
= (wxWindow
*) 0 ;
28823 wxLayoutConstraints
*result
;
28824 PyObject
* obj0
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28846 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxWindow
*arg1
= (wxWindow
*) 0 ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 char *kwnames
[] = {
28853 (char *) "self",(char *) "autoLayout", NULL
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28859 arg2
= (bool)SWIG_As_bool(obj1
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->SetAutoLayout(arg2
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28875 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 wxWindow
*arg1
= (wxWindow
*) 0 ;
28879 PyObject
* obj0
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28903 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
;
28905 wxWindow
*arg1
= (wxWindow
*) 0 ;
28907 PyObject
* obj0
= 0 ;
28908 char *kwnames
[] = {
28909 (char *) "self", NULL
28912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 result
= (bool)(arg1
)->Layout();
28919 wxPyEndAllowThreads(__tstate
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28931 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxWindow
*arg1
= (wxWindow
*) 0 ;
28934 wxSizer
*arg2
= (wxSizer
*) 0 ;
28935 bool arg3
= (bool) true ;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 PyObject
* obj2
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28949 arg3
= (bool)SWIG_As_bool(obj2
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->SetSizer(arg2
,arg3
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxWindow
*arg1
= (wxWindow
*) 0 ;
28969 wxSizer
*arg2
= (wxSizer
*) 0 ;
28970 bool arg3
= (bool) true ;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 PyObject
* obj2
= 0 ;
28974 char *kwnames
[] = {
28975 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28984 arg3
= (bool)SWIG_As_bool(obj2
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 Py_INCREF(Py_None
); resultobj
= Py_None
;
29001 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxWindow
*arg1
= (wxWindow
*) 0 ;
29005 PyObject
* obj0
= 0 ;
29006 char *kwnames
[] = {
29007 (char *) "self", NULL
29010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
29011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= wxPyMake_wxSizer(result
, 0);
29029 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxWindow
*arg1
= (wxWindow
*) 0 ;
29032 wxSizer
*arg2
= (wxSizer
*) 0 ;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "sizer", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
29040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
29043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 (arg1
)->SetContainingSizer(arg2
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 Py_INCREF(Py_None
); resultobj
= Py_None
;
29058 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
;
29060 wxWindow
*arg1
= (wxWindow
*) 0 ;
29062 PyObject
* obj0
= 0 ;
29063 char *kwnames
[] = {
29064 (char *) "self", NULL
29067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
29068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= wxPyMake_wxSizer(result
, 0);
29086 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxWindow
*arg1
= (wxWindow
*) 0 ;
29089 PyObject
* obj0
= 0 ;
29090 char *kwnames
[] = {
29091 (char *) "self", NULL
29094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
29095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->InheritAttributes();
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxWindow
*arg1
= (wxWindow
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29139 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29142 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29144 return Py_BuildValue((char *)"");
29146 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
;
29149 wxWindow
*arg2
= (wxWindow
*) NULL
;
29151 PyObject
* obj0
= 0 ;
29152 PyObject
* obj1
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "id",(char *) "parent", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29158 arg1
= (long)SWIG_As_long(obj0
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29165 if (!wxPyCheckForApp()) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= wxPyMake_wxObject(result
, 0);
29181 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxString
*arg1
= 0 ;
29184 wxWindow
*arg2
= (wxWindow
*) NULL
;
29186 bool temp1
= false ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char *kwnames
[] = {
29190 (char *) "name",(char *) "parent", NULL
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29195 arg1
= wxString_in_helper(obj0
);
29196 if (arg1
== NULL
) SWIG_fail
;
29200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29204 if (!wxPyCheckForApp()) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= wxPyMake_wxObject(result
, 0);
29228 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
;
29230 wxString
*arg1
= 0 ;
29231 wxWindow
*arg2
= (wxWindow
*) NULL
;
29233 bool temp1
= false ;
29234 PyObject
* obj0
= 0 ;
29235 PyObject
* obj1
= 0 ;
29236 char *kwnames
[] = {
29237 (char *) "label",(char *) "parent", NULL
29240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 arg1
= wxString_in_helper(obj0
);
29243 if (arg1
== NULL
) SWIG_fail
;
29247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 if (!wxPyCheckForApp()) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= wxPyMake_wxObject(result
, 0);
29275 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxWindow
*arg1
= (wxWindow
*) 0 ;
29278 unsigned long arg2
;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "parent",(char *) "_hWnd", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29289 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= wxPyMake_wxObject(result
, 0);
29307 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
;
29309 wxValidator
*result
;
29310 char *kwnames
[] = {
29314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (wxValidator
*)new wxValidator();
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29329 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29330 PyObject
*resultobj
;
29331 wxValidator
*arg1
= (wxValidator
*) 0 ;
29332 wxValidator
*result
;
29333 PyObject
* obj0
= 0 ;
29334 char *kwnames
[] = {
29335 (char *) "self", NULL
29338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (wxValidator
*)(arg1
)->Clone();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= wxPyMake_wxObject(result
, 0);
29357 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxValidator
*arg1
= (wxValidator
*) 0 ;
29360 wxWindow
*arg2
= (wxWindow
*) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self",(char *) "parent", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (bool)(arg1
)->Validate(arg2
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29389 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxValidator
*arg1
= (wxValidator
*) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self", NULL
29398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (bool)(arg1
)->TransferToWindow();
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29417 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
;
29419 wxValidator
*arg1
= (wxValidator
*) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 char *kwnames
[] = {
29423 (char *) "self", NULL
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (bool)(arg1
)->TransferFromWindow();
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29445 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxValidator
*arg1
= (wxValidator
*) 0 ;
29449 PyObject
* obj0
= 0 ;
29450 char *kwnames
[] = {
29451 (char *) "self", NULL
29454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29459 result
= (wxWindow
*)(arg1
)->GetWindow();
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= wxPyMake_wxObject(result
, 0);
29473 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
;
29475 wxValidator
*arg1
= (wxValidator
*) 0 ;
29476 wxWindow
*arg2
= (wxWindow
*) 0 ;
29477 PyObject
* obj0
= 0 ;
29478 PyObject
* obj1
= 0 ;
29479 char *kwnames
[] = {
29480 (char *) "self",(char *) "window", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 (arg1
)->SetWindow(arg2
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 Py_INCREF(Py_None
); resultobj
= Py_None
;
29502 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
;
29505 char *kwnames
[] = {
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (bool)wxValidator::IsSilent();
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29526 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 int arg1
= (int) true ;
29529 PyObject
* obj0
= 0 ;
29530 char *kwnames
[] = {
29531 (char *) "doIt", NULL
29534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29536 arg1
= (int)SWIG_As_int(obj0
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 wxValidator::SetBellOnError(arg1
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 Py_INCREF(Py_None
); resultobj
= Py_None
;
29553 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29556 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29558 return Py_BuildValue((char *)"");
29560 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxPyValidator
*result
;
29563 char *kwnames
[] = {
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (wxPyValidator
*)new wxPyValidator();
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29582 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29585 PyObject
*arg2
= (PyObject
*) 0 ;
29586 PyObject
*arg3
= (PyObject
*) 0 ;
29587 int arg4
= (int) true ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 PyObject
* obj2
= 0 ;
29591 PyObject
* obj3
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29602 arg4
= (int)SWIG_As_int(obj3
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 Py_INCREF(Py_None
); resultobj
= Py_None
;
29619 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29622 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29624 return Py_BuildValue((char *)"");
29626 static int _wrap_DefaultValidator_set(PyObject
*) {
29627 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29632 static PyObject
*_wrap_DefaultValidator_get() {
29635 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29640 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
;
29642 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29643 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29644 long arg2
= (long) 0 ;
29646 bool temp1
= false ;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 char *kwnames
[] = {
29650 (char *) "title",(char *) "style", NULL
29653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29656 arg1
= wxString_in_helper(obj0
);
29657 if (arg1
== NULL
) SWIG_fail
;
29662 arg2
= (long)SWIG_As_long(obj1
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29666 if (!wxPyCheckForApp()) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29688 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxMenu
*arg1
= (wxMenu
*) 0 ;
29692 wxString
*arg3
= 0 ;
29693 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29694 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29695 int arg5
= (int) wxITEM_NORMAL
;
29696 wxMenuItem
*result
;
29697 bool temp3
= false ;
29698 bool temp4
= false ;
29699 PyObject
* obj0
= 0 ;
29700 PyObject
* obj1
= 0 ;
29701 PyObject
* obj2
= 0 ;
29702 PyObject
* obj3
= 0 ;
29703 PyObject
* obj4
= 0 ;
29704 char *kwnames
[] = {
29705 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29711 arg2
= (int)SWIG_As_int(obj1
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 arg3
= wxString_in_helper(obj2
);
29715 if (arg3
== NULL
) SWIG_fail
;
29720 arg4
= wxString_in_helper(obj3
);
29721 if (arg4
== NULL
) SWIG_fail
;
29726 arg5
= (int)SWIG_As_int(obj4
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= wxPyMake_wxObject(result
, 0);
29761 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
;
29763 wxMenu
*arg1
= (wxMenu
*) 0 ;
29764 wxMenuItem
*result
;
29765 PyObject
* obj0
= 0 ;
29766 char *kwnames
[] = {
29767 (char *) "self", NULL
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= wxPyMake_wxObject(result
, 0);
29789 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
;
29791 wxMenu
*arg1
= (wxMenu
*) 0 ;
29793 wxString
*arg3
= 0 ;
29794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29796 wxMenuItem
*result
;
29797 bool temp3
= false ;
29798 bool temp4
= false ;
29799 PyObject
* obj0
= 0 ;
29800 PyObject
* obj1
= 0 ;
29801 PyObject
* obj2
= 0 ;
29802 PyObject
* obj3
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29810 arg2
= (int)SWIG_As_int(obj1
);
29811 if (PyErr_Occurred()) SWIG_fail
;
29813 arg3
= wxString_in_helper(obj2
);
29814 if (arg3
== NULL
) SWIG_fail
;
29819 arg4
= wxString_in_helper(obj3
);
29820 if (arg4
== NULL
) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= wxPyMake_wxObject(result
, 0);
29856 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
;
29858 wxMenu
*arg1
= (wxMenu
*) 0 ;
29860 wxString
*arg3
= 0 ;
29861 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29862 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29863 wxMenuItem
*result
;
29864 bool temp3
= false ;
29865 bool temp4
= false ;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 PyObject
* obj2
= 0 ;
29869 PyObject
* obj3
= 0 ;
29870 char *kwnames
[] = {
29871 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29877 arg2
= (int)SWIG_As_int(obj1
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 arg3
= wxString_in_helper(obj2
);
29881 if (arg3
== NULL
) SWIG_fail
;
29886 arg4
= wxString_in_helper(obj3
);
29887 if (arg4
== NULL
) SWIG_fail
;
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= wxPyMake_wxObject(result
, 0);
29923 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
;
29925 wxMenu
*arg1
= (wxMenu
*) 0 ;
29927 wxString
*arg3
= 0 ;
29928 wxMenu
*arg4
= (wxMenu
*) 0 ;
29929 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29930 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29931 wxMenuItem
*result
;
29932 bool temp3
= false ;
29933 bool temp5
= false ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 PyObject
* obj2
= 0 ;
29937 PyObject
* obj3
= 0 ;
29938 PyObject
* obj4
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29946 arg2
= (int)SWIG_As_int(obj1
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 arg3
= wxString_in_helper(obj2
);
29950 if (arg3
== NULL
) SWIG_fail
;
29953 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29957 arg5
= wxString_in_helper(obj4
);
29958 if (arg5
== NULL
) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= wxPyMake_wxObject(result
, 0);
29994 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
;
29996 wxMenu
*arg1
= (wxMenu
*) 0 ;
29997 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29998 wxMenuItem
*result
;
29999 PyObject
* obj0
= 0 ;
30000 PyObject
* obj1
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self",(char *) "item", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= wxPyMake_wxObject(result
, 0);
30026 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenu
*arg1
= (wxMenu
*) 0 ;
30029 PyObject
* obj0
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
30035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 Py_INCREF(Py_None
); resultobj
= Py_None
;
30051 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
;
30053 wxMenu
*arg1
= (wxMenu
*) 0 ;
30055 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
30056 wxMenuItem
*result
;
30057 PyObject
* obj0
= 0 ;
30058 PyObject
* obj1
= 0 ;
30059 PyObject
* obj2
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self",(char *) "pos",(char *) "item", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30067 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30069 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
30070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= wxPyMake_wxObject(result
, 0);
30087 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxMenu
*arg1
= (wxMenu
*) 0 ;
30092 wxString
*arg4
= 0 ;
30093 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30094 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30095 int arg6
= (int) wxITEM_NORMAL
;
30096 wxMenuItem
*result
;
30097 bool temp4
= false ;
30098 bool temp5
= false ;
30099 PyObject
* obj0
= 0 ;
30100 PyObject
* obj1
= 0 ;
30101 PyObject
* obj2
= 0 ;
30102 PyObject
* obj3
= 0 ;
30103 PyObject
* obj4
= 0 ;
30104 PyObject
* obj5
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30112 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30114 arg3
= (int)SWIG_As_int(obj2
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30117 arg4
= wxString_in_helper(obj3
);
30118 if (arg4
== NULL
) SWIG_fail
;
30123 arg5
= wxString_in_helper(obj4
);
30124 if (arg5
== NULL
) SWIG_fail
;
30129 arg6
= (int)SWIG_As_int(obj5
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= wxPyMake_wxObject(result
, 0);
30164 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxMenu
*arg1
= (wxMenu
*) 0 ;
30168 wxMenuItem
*result
;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "pos", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30178 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= wxPyMake_wxObject(result
, 0);
30196 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
;
30198 wxMenu
*arg1
= (wxMenu
*) 0 ;
30201 wxString
*arg4
= 0 ;
30202 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30203 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30204 wxMenuItem
*result
;
30205 bool temp4
= false ;
30206 bool temp5
= false ;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 PyObject
* obj2
= 0 ;
30210 PyObject
* obj3
= 0 ;
30211 PyObject
* obj4
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30219 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30221 arg3
= (int)SWIG_As_int(obj2
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 arg4
= wxString_in_helper(obj3
);
30225 if (arg4
== NULL
) SWIG_fail
;
30230 arg5
= wxString_in_helper(obj4
);
30231 if (arg5
== NULL
) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= wxPyMake_wxObject(result
, 0);
30267 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxMenu
*arg1
= (wxMenu
*) 0 ;
30272 wxString
*arg4
= 0 ;
30273 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30274 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30275 wxMenuItem
*result
;
30276 bool temp4
= false ;
30277 bool temp5
= false ;
30278 PyObject
* obj0
= 0 ;
30279 PyObject
* obj1
= 0 ;
30280 PyObject
* obj2
= 0 ;
30281 PyObject
* obj3
= 0 ;
30282 PyObject
* obj4
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30290 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30292 arg3
= (int)SWIG_As_int(obj2
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 arg4
= wxString_in_helper(obj3
);
30296 if (arg4
== NULL
) SWIG_fail
;
30301 arg5
= wxString_in_helper(obj4
);
30302 if (arg5
== NULL
) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= wxPyMake_wxObject(result
, 0);
30338 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
;
30340 wxMenu
*arg1
= (wxMenu
*) 0 ;
30343 wxString
*arg4
= 0 ;
30344 wxMenu
*arg5
= (wxMenu
*) 0 ;
30345 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30346 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30347 wxMenuItem
*result
;
30348 bool temp4
= false ;
30349 bool temp6
= false ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 PyObject
* obj2
= 0 ;
30353 PyObject
* obj3
= 0 ;
30354 PyObject
* obj4
= 0 ;
30355 PyObject
* obj5
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30363 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30365 arg3
= (int)SWIG_As_int(obj2
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 arg4
= wxString_in_helper(obj3
);
30369 if (arg4
== NULL
) SWIG_fail
;
30372 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30376 arg6
= wxString_in_helper(obj5
);
30377 if (arg6
== NULL
) SWIG_fail
;
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30385 wxPyEndAllowThreads(__tstate
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= wxPyMake_wxObject(result
, 0);
30413 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
;
30415 wxMenu
*arg1
= (wxMenu
*) 0 ;
30416 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30417 wxMenuItem
*result
;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self",(char *) "item", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= wxPyMake_wxObject(result
, 0);
30445 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
;
30447 wxMenu
*arg1
= (wxMenu
*) 0 ;
30449 wxString
*arg3
= 0 ;
30450 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30451 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30452 int arg5
= (int) wxITEM_NORMAL
;
30453 wxMenuItem
*result
;
30454 bool temp3
= false ;
30455 bool temp4
= false ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 PyObject
* obj2
= 0 ;
30459 PyObject
* obj3
= 0 ;
30460 PyObject
* obj4
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30468 arg2
= (int)SWIG_As_int(obj1
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 arg3
= wxString_in_helper(obj2
);
30472 if (arg3
== NULL
) SWIG_fail
;
30477 arg4
= wxString_in_helper(obj3
);
30478 if (arg4
== NULL
) SWIG_fail
;
30483 arg5
= (int)SWIG_As_int(obj4
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= wxPyMake_wxObject(result
, 0);
30518 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
;
30520 wxMenu
*arg1
= (wxMenu
*) 0 ;
30521 wxMenuItem
*result
;
30522 PyObject
* obj0
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= wxPyMake_wxObject(result
, 0);
30546 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxMenu
*arg1
= (wxMenu
*) 0 ;
30550 wxString
*arg3
= 0 ;
30551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30553 wxMenuItem
*result
;
30554 bool temp3
= false ;
30555 bool temp4
= false ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 PyObject
* obj2
= 0 ;
30559 PyObject
* obj3
= 0 ;
30560 char *kwnames
[] = {
30561 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30567 arg2
= (int)SWIG_As_int(obj1
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 arg3
= wxString_in_helper(obj2
);
30571 if (arg3
== NULL
) SWIG_fail
;
30576 arg4
= wxString_in_helper(obj3
);
30577 if (arg4
== NULL
) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= wxPyMake_wxObject(result
, 0);
30613 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
;
30615 wxMenu
*arg1
= (wxMenu
*) 0 ;
30617 wxString
*arg3
= 0 ;
30618 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30619 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30620 wxMenuItem
*result
;
30621 bool temp3
= false ;
30622 bool temp4
= false ;
30623 PyObject
* obj0
= 0 ;
30624 PyObject
* obj1
= 0 ;
30625 PyObject
* obj2
= 0 ;
30626 PyObject
* obj3
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30634 arg2
= (int)SWIG_As_int(obj1
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 arg3
= wxString_in_helper(obj2
);
30638 if (arg3
== NULL
) SWIG_fail
;
30643 arg4
= wxString_in_helper(obj3
);
30644 if (arg4
== NULL
) SWIG_fail
;
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= wxPyMake_wxObject(result
, 0);
30680 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
;
30682 wxMenu
*arg1
= (wxMenu
*) 0 ;
30684 wxString
*arg3
= 0 ;
30685 wxMenu
*arg4
= (wxMenu
*) 0 ;
30686 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30687 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30688 wxMenuItem
*result
;
30689 bool temp3
= false ;
30690 bool temp5
= false ;
30691 PyObject
* obj0
= 0 ;
30692 PyObject
* obj1
= 0 ;
30693 PyObject
* obj2
= 0 ;
30694 PyObject
* obj3
= 0 ;
30695 PyObject
* obj4
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30703 arg2
= (int)SWIG_As_int(obj1
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 arg3
= wxString_in_helper(obj2
);
30707 if (arg3
== NULL
) SWIG_fail
;
30710 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30714 arg5
= wxString_in_helper(obj4
);
30715 if (arg5
== NULL
) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= wxPyMake_wxObject(result
, 0);
30751 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxMenu
*arg1
= (wxMenu
*) 0 ;
30755 wxMenuItem
*result
;
30756 PyObject
* obj0
= 0 ;
30757 PyObject
* obj1
= 0 ;
30758 char *kwnames
[] = {
30759 (char *) "self",(char *) "id", NULL
30762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30765 arg2
= (int)SWIG_As_int(obj1
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= wxPyMake_wxObject(result
, 0);
30783 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
;
30785 wxMenu
*arg1
= (wxMenu
*) 0 ;
30786 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30787 wxMenuItem
*result
;
30788 PyObject
* obj0
= 0 ;
30789 PyObject
* obj1
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self",(char *) "item", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30807 resultobj
= wxPyMake_wxObject(result
, 0);
30815 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxMenu
*arg1
= (wxMenu
*) 0 ;
30820 PyObject
* obj0
= 0 ;
30821 PyObject
* obj1
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self",(char *) "id", NULL
30826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 arg2
= (int)SWIG_As_int(obj1
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (bool)(arg1
)->Delete(arg2
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30847 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
;
30849 wxMenu
*arg1
= (wxMenu
*) 0 ;
30850 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30852 PyObject
* obj0
= 0 ;
30853 PyObject
* obj1
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self",(char *) "item", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (bool)(arg1
)->Delete(arg2
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30879 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxMenu
*arg1
= (wxMenu
*) 0 ;
30882 PyObject
* obj0
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 wxMenu_Destroy(arg1
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 Py_INCREF(Py_None
); resultobj
= Py_None
;
30904 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxMenu
*arg1
= (wxMenu
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self",(char *) "id", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30918 arg2
= (int)SWIG_As_int(obj1
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)(arg1
)->Destroy(arg2
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30936 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxMenu
*arg1
= (wxMenu
*) 0 ;
30939 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 char *kwnames
[] = {
30944 (char *) "self",(char *) "item", NULL
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (bool)(arg1
)->Destroy(arg2
);
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30968 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxMenu
*arg1
= (wxMenu
*) 0 ;
30972 PyObject
* obj0
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "self", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30994 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
;
30996 wxMenu
*arg1
= (wxMenu
*) 0 ;
30998 PyObject
* obj0
= 0 ;
30999 char *kwnames
[] = {
31000 (char *) "self", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
31004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= result
;
31020 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 wxMenu
*arg1
= (wxMenu
*) 0 ;
31023 wxString
*arg2
= 0 ;
31025 bool temp2
= false ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self",(char *) "item", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31036 arg2
= wxString_in_helper(obj1
);
31037 if (arg2
== NULL
) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= SWIG_From_int((int)result
);
31062 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
;
31064 wxMenu
*arg1
= (wxMenu
*) 0 ;
31066 wxMenuItem
*result
;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self",(char *) "id", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31076 arg2
= (int)SWIG_As_int(obj1
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= wxPyMake_wxObject(result
, 0);
31094 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31095 PyObject
*resultobj
;
31096 wxMenu
*arg1
= (wxMenu
*) 0 ;
31098 wxMenuItem
*result
;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 char *kwnames
[] = {
31102 (char *) "self",(char *) "position", NULL
31105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
31106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31108 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= wxPyMake_wxObject(result
, 0);
31126 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxMenu
*arg1
= (wxMenu
*) 0 ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 PyObject
* obj2
= 0 ;
31134 char *kwnames
[] = {
31135 (char *) "self",(char *) "id",(char *) "enable", NULL
31138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31141 arg2
= (int)SWIG_As_int(obj1
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31143 arg3
= (bool)SWIG_As_bool(obj2
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 (arg1
)->Enable(arg2
,arg3
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 Py_INCREF(Py_None
); resultobj
= Py_None
;
31159 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
;
31161 wxMenu
*arg1
= (wxMenu
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 PyObject
* obj1
= 0 ;
31166 char *kwnames
[] = {
31167 (char *) "self",(char *) "id", NULL
31170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31173 arg2
= (int)SWIG_As_int(obj1
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31191 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
;
31193 wxMenu
*arg1
= (wxMenu
*) 0 ;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 PyObject
* obj2
= 0 ;
31199 char *kwnames
[] = {
31200 (char *) "self",(char *) "id",(char *) "check", NULL
31203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31206 arg2
= (int)SWIG_As_int(obj1
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31208 arg3
= (bool)SWIG_As_bool(obj2
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 (arg1
)->Check(arg2
,arg3
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 Py_INCREF(Py_None
); resultobj
= Py_None
;
31224 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
;
31226 wxMenu
*arg1
= (wxMenu
*) 0 ;
31229 PyObject
* obj0
= 0 ;
31230 PyObject
* obj1
= 0 ;
31231 char *kwnames
[] = {
31232 (char *) "self",(char *) "id", NULL
31235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31238 arg2
= (int)SWIG_As_int(obj1
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31256 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
;
31258 wxMenu
*arg1
= (wxMenu
*) 0 ;
31260 wxString
*arg3
= 0 ;
31261 bool temp3
= false ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 PyObject
* obj2
= 0 ;
31265 char *kwnames
[] = {
31266 (char *) "self",(char *) "id",(char *) "label", NULL
31269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31272 arg2
= (int)SWIG_As_int(obj1
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 arg3
= wxString_in_helper(obj2
);
31276 if (arg3
== NULL
) SWIG_fail
;
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31281 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 Py_INCREF(Py_None
); resultobj
= Py_None
;
31301 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
;
31303 wxMenu
*arg1
= (wxMenu
*) 0 ;
31306 PyObject
* obj0
= 0 ;
31307 PyObject
* obj1
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self",(char *) "id", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31315 arg2
= (int)SWIG_As_int(obj1
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31337 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxMenu
*arg1
= (wxMenu
*) 0 ;
31341 wxString
*arg3
= 0 ;
31342 bool temp3
= false ;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 PyObject
* obj2
= 0 ;
31346 char *kwnames
[] = {
31347 (char *) "self",(char *) "id",(char *) "helpString", NULL
31350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31353 arg2
= (int)SWIG_As_int(obj1
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31356 arg3
= wxString_in_helper(obj2
);
31357 if (arg3
== NULL
) SWIG_fail
;
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 Py_INCREF(Py_None
); resultobj
= Py_None
;
31382 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxMenu
*arg1
= (wxMenu
*) 0 ;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self",(char *) "id", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31396 arg2
= (int)SWIG_As_int(obj1
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31418 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxMenu
*arg1
= (wxMenu
*) 0 ;
31421 wxString
*arg2
= 0 ;
31422 bool temp2
= false ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self",(char *) "title", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 arg2
= wxString_in_helper(obj1
);
31434 if (arg2
== NULL
) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 (arg1
)->SetTitle((wxString
const &)*arg2
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 Py_INCREF(Py_None
); resultobj
= Py_None
;
31459 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
;
31461 wxMenu
*arg1
= (wxMenu
*) 0 ;
31463 PyObject
* obj0
= 0 ;
31464 char *kwnames
[] = {
31465 (char *) "self", NULL
31468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= ((wxMenu
const *)arg1
)->GetTitle();
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31491 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxMenu
*arg1
= (wxMenu
*) 0 ;
31494 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 char *kwnames
[] = {
31498 (char *) "self",(char *) "handler", NULL
31501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 (arg1
)->SetEventHandler(arg2
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 Py_INCREF(Py_None
); resultobj
= Py_None
;
31520 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
;
31522 wxMenu
*arg1
= (wxMenu
*) 0 ;
31523 wxEvtHandler
*result
;
31524 PyObject
* obj0
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= wxPyMake_wxObject(result
, 0);
31548 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
;
31550 wxMenu
*arg1
= (wxMenu
*) 0 ;
31551 wxWindow
*arg2
= (wxWindow
*) 0 ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 char *kwnames
[] = {
31555 (char *) "self",(char *) "win", NULL
31558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31565 (arg1
)->SetInvokingWindow(arg2
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 Py_INCREF(Py_None
); resultobj
= Py_None
;
31577 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxMenu
*arg1
= (wxMenu
*) 0 ;
31581 PyObject
* obj0
= 0 ;
31582 char *kwnames
[] = {
31583 (char *) "self", NULL
31586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= wxPyMake_wxObject(result
, 0);
31605 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
;
31607 wxMenu
*arg1
= (wxMenu
*) 0 ;
31609 PyObject
* obj0
= 0 ;
31610 char *kwnames
[] = {
31611 (char *) "self", NULL
31614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 resultobj
= SWIG_From_long((long)result
);
31631 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31632 PyObject
*resultobj
;
31633 wxMenu
*arg1
= (wxMenu
*) 0 ;
31634 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 char *kwnames
[] = {
31638 (char *) "self",(char *) "source", NULL
31641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 (arg1
)->UpdateUI(arg2
);
31652 wxPyEndAllowThreads(__tstate
);
31653 if (PyErr_Occurred()) SWIG_fail
;
31655 Py_INCREF(Py_None
); resultobj
= Py_None
;
31662 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxMenu
*arg1
= (wxMenu
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= wxPyMake_wxObject(result
, 0);
31690 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxMenu
*arg1
= (wxMenu
*) 0 ;
31693 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self",(char *) "menubar", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 (arg1
)->Attach(arg2
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 Py_INCREF(Py_None
); resultobj
= Py_None
;
31719 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxMenu
*arg1
= (wxMenu
*) 0 ;
31722 PyObject
* obj0
= 0 ;
31723 char *kwnames
[] = {
31724 (char *) "self", NULL
31727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 Py_INCREF(Py_None
); resultobj
= Py_None
;
31744 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
;
31746 wxMenu
*arg1
= (wxMenu
*) 0 ;
31748 PyObject
* obj0
= 0 ;
31749 char *kwnames
[] = {
31750 (char *) "self", NULL
31753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31772 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
;
31774 wxMenu
*arg1
= (wxMenu
*) 0 ;
31775 wxMenu
*arg2
= (wxMenu
*) 0 ;
31776 PyObject
* obj0
= 0 ;
31777 PyObject
* obj1
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self",(char *) "parent", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 (arg1
)->SetParent(arg2
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31794 Py_INCREF(Py_None
); resultobj
= Py_None
;
31801 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
;
31803 wxMenu
*arg1
= (wxMenu
*) 0 ;
31805 PyObject
* obj0
= 0 ;
31806 char *kwnames
[] = {
31807 (char *) "self", NULL
31810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= wxPyMake_wxObject(result
, 0);
31829 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31832 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31834 return Py_BuildValue((char *)"");
31836 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
;
31838 long arg1
= (long) 0 ;
31840 PyObject
* obj0
= 0 ;
31841 char *kwnames
[] = {
31842 (char *) "style", NULL
31845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31847 arg1
= (long)SWIG_As_long(obj0
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31851 if (!wxPyCheckForApp()) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31865 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31866 PyObject
*resultobj
;
31867 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31868 wxMenu
*arg2
= (wxMenu
*) 0 ;
31869 wxString
*arg3
= 0 ;
31871 bool temp3
= false ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 PyObject
* obj2
= 0 ;
31875 char *kwnames
[] = {
31876 (char *) "self",(char *) "menu",(char *) "title", NULL
31879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31885 arg3
= wxString_in_helper(obj2
);
31886 if (arg3
== NULL
) SWIG_fail
;
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31913 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31917 wxMenu
*arg3
= (wxMenu
*) 0 ;
31918 wxString
*arg4
= 0 ;
31920 bool temp4
= false ;
31921 PyObject
* obj0
= 0 ;
31922 PyObject
* obj1
= 0 ;
31923 PyObject
* obj2
= 0 ;
31924 PyObject
* obj3
= 0 ;
31925 char *kwnames
[] = {
31926 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31932 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31934 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31937 arg4
= wxString_in_helper(obj3
);
31938 if (arg4
== NULL
) SWIG_fail
;
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31965 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
;
31967 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31969 PyObject
* obj0
= 0 ;
31970 char *kwnames
[] = {
31971 (char *) "self", NULL
31974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31991 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31992 PyObject
*resultobj
;
31993 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31996 PyObject
* obj0
= 0 ;
31997 PyObject
* obj1
= 0 ;
31998 char *kwnames
[] = {
31999 (char *) "self",(char *) "pos", NULL
32002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32005 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32009 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= wxPyMake_wxObject(result
, 0);
32023 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
;
32025 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32027 wxMenu
*arg3
= (wxMenu
*) 0 ;
32028 wxString
*arg4
= 0 ;
32030 bool temp4
= false ;
32031 PyObject
* obj0
= 0 ;
32032 PyObject
* obj1
= 0 ;
32033 PyObject
* obj2
= 0 ;
32034 PyObject
* obj3
= 0 ;
32035 char *kwnames
[] = {
32036 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
32039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32042 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32044 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
32045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32047 arg4
= wxString_in_helper(obj3
);
32048 if (arg4
== NULL
) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32059 resultobj
= wxPyMake_wxObject(result
, 0);
32075 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
;
32077 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32080 PyObject
* obj0
= 0 ;
32081 PyObject
* obj1
= 0 ;
32082 char *kwnames
[] = {
32083 (char *) "self",(char *) "pos", NULL
32086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32089 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32093 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= wxPyMake_wxObject(result
, 0);
32107 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
;
32109 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32112 PyObject
* obj0
= 0 ;
32113 PyObject
* obj1
= 0 ;
32114 PyObject
* obj2
= 0 ;
32115 char *kwnames
[] = {
32116 (char *) "self",(char *) "pos",(char *) "enable", NULL
32119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32122 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32124 arg3
= (bool)SWIG_As_bool(obj2
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 (arg1
)->EnableTop(arg2
,arg3
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 Py_INCREF(Py_None
); resultobj
= Py_None
;
32140 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 char *kwnames
[] = {
32148 (char *) "self",(char *) "pos", NULL
32151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32154 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32155 if (PyErr_Occurred()) SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32172 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32176 wxString
*arg3
= 0 ;
32177 bool temp3
= false ;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 PyObject
* obj2
= 0 ;
32181 char *kwnames
[] = {
32182 (char *) "self",(char *) "pos",(char *) "label", NULL
32185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32188 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 arg3
= wxString_in_helper(obj2
);
32192 if (arg3
== NULL
) SWIG_fail
;
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32199 wxPyEndAllowThreads(__tstate
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32202 Py_INCREF(Py_None
); resultobj
= Py_None
;
32217 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32218 PyObject
*resultobj
;
32219 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32222 PyObject
* obj0
= 0 ;
32223 PyObject
* obj1
= 0 ;
32224 char *kwnames
[] = {
32225 (char *) "self",(char *) "pos", NULL
32228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32231 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32253 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32254 PyObject
*resultobj
;
32255 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32256 wxString
*arg2
= 0 ;
32257 wxString
*arg3
= 0 ;
32259 bool temp2
= false ;
32260 bool temp3
= false ;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 PyObject
* obj2
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "self",(char *) "menu",(char *) "item", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32272 arg2
= wxString_in_helper(obj1
);
32273 if (arg2
== NULL
) SWIG_fail
;
32277 arg3
= wxString_in_helper(obj2
);
32278 if (arg3
== NULL
) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 resultobj
= SWIG_From_int((int)result
);
32311 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
;
32313 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32315 wxMenuItem
*result
;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 char *kwnames
[] = {
32319 (char *) "self",(char *) "id", NULL
32322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32325 arg2
= (int)SWIG_As_int(obj1
);
32326 if (PyErr_Occurred()) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32335 resultobj
= wxPyMake_wxObject(result
, 0);
32343 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32344 PyObject
*resultobj
;
32345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32346 wxString
*arg2
= 0 ;
32348 bool temp2
= false ;
32349 PyObject
* obj0
= 0 ;
32350 PyObject
* obj1
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self",(char *) "title", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32359 arg2
= wxString_in_helper(obj1
);
32360 if (arg2
== NULL
) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= SWIG_From_int((int)result
);
32385 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32386 PyObject
*resultobj
;
32387 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32390 PyObject
* obj0
= 0 ;
32391 PyObject
* obj1
= 0 ;
32392 PyObject
* obj2
= 0 ;
32393 char *kwnames
[] = {
32394 (char *) "self",(char *) "id",(char *) "enable", NULL
32397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32400 arg2
= (int)SWIG_As_int(obj1
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32402 arg3
= (bool)SWIG_As_bool(obj2
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32406 (arg1
)->Enable(arg2
,arg3
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 Py_INCREF(Py_None
); resultobj
= Py_None
;
32418 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
;
32420 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self",(char *) "id",(char *) "check", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32433 arg2
= (int)SWIG_As_int(obj1
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32435 arg3
= (bool)SWIG_As_bool(obj2
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 (arg1
)->Check(arg2
,arg3
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 Py_INCREF(Py_None
); resultobj
= Py_None
;
32451 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 char *kwnames
[] = {
32459 (char *) "self",(char *) "id", NULL
32462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32465 arg2
= (int)SWIG_As_int(obj1
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32483 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
;
32485 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 PyObject
* obj1
= 0 ;
32490 char *kwnames
[] = {
32491 (char *) "self",(char *) "id", NULL
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32497 arg2
= (int)SWIG_As_int(obj1
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32515 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
;
32517 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32519 wxString
*arg3
= 0 ;
32520 bool temp3
= false ;
32521 PyObject
* obj0
= 0 ;
32522 PyObject
* obj1
= 0 ;
32523 PyObject
* obj2
= 0 ;
32524 char *kwnames
[] = {
32525 (char *) "self",(char *) "id",(char *) "label", NULL
32528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32531 arg2
= (int)SWIG_As_int(obj1
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 arg3
= wxString_in_helper(obj2
);
32535 if (arg3
== NULL
) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 Py_INCREF(Py_None
); resultobj
= Py_None
;
32560 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
;
32562 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self",(char *) "id", NULL
32571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32574 arg2
= (int)SWIG_As_int(obj1
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32596 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32597 PyObject
*resultobj
;
32598 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32600 wxString
*arg3
= 0 ;
32601 bool temp3
= false ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 PyObject
* obj2
= 0 ;
32605 char *kwnames
[] = {
32606 (char *) "self",(char *) "id",(char *) "helpString", NULL
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32612 arg2
= (int)SWIG_As_int(obj1
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 arg3
= wxString_in_helper(obj2
);
32616 if (arg3
== NULL
) SWIG_fail
;
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 Py_INCREF(Py_None
); resultobj
= Py_None
;
32641 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32642 PyObject
*resultobj
;
32643 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32646 PyObject
* obj0
= 0 ;
32647 PyObject
* obj1
= 0 ;
32648 char *kwnames
[] = {
32649 (char *) "self",(char *) "id", NULL
32652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32655 arg2
= (int)SWIG_As_int(obj1
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32677 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32678 PyObject
*resultobj
;
32679 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32681 PyObject
* obj0
= 0 ;
32682 char *kwnames
[] = {
32683 (char *) "self", NULL
32686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= wxPyMake_wxObject(result
, 0);
32705 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32706 PyObject
*resultobj
;
32707 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32709 PyObject
* obj0
= 0 ;
32710 char *kwnames
[] = {
32711 (char *) "self", NULL
32714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32733 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32736 wxFrame
*arg2
= (wxFrame
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self",(char *) "frame", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 (arg1
)->Attach(arg2
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 Py_INCREF(Py_None
); resultobj
= Py_None
;
32762 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
;
32764 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32765 PyObject
* obj0
= 0 ;
32766 char *kwnames
[] = {
32767 (char *) "self", NULL
32770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 Py_INCREF(Py_None
); resultobj
= Py_None
;
32787 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32790 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32792 return Py_BuildValue((char *)"");
32794 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxMenu
*arg1
= (wxMenu
*) NULL
;
32797 int arg2
= (int) wxID_ANY
;
32798 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32799 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32802 int arg5
= (int) wxITEM_NORMAL
;
32803 wxMenu
*arg6
= (wxMenu
*) NULL
;
32804 wxMenuItem
*result
;
32805 bool temp3
= false ;
32806 bool temp4
= false ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 PyObject
* obj2
= 0 ;
32810 PyObject
* obj3
= 0 ;
32811 PyObject
* obj4
= 0 ;
32812 PyObject
* obj5
= 0 ;
32813 char *kwnames
[] = {
32814 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32823 arg2
= (int)SWIG_As_int(obj1
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32828 arg3
= wxString_in_helper(obj2
);
32829 if (arg3
== NULL
) SWIG_fail
;
32835 arg4
= wxString_in_helper(obj3
);
32836 if (arg4
== NULL
) SWIG_fail
;
32841 arg5
= (int)SWIG_As_int(obj4
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32845 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32852 wxPyEndAllowThreads(__tstate
);
32853 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= wxPyMake_wxObject(result
, 1);
32880 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32881 PyObject
*resultobj
;
32882 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32884 PyObject
* obj0
= 0 ;
32885 char *kwnames
[] = {
32886 (char *) "self", NULL
32889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32900 resultobj
= wxPyMake_wxObject(result
, 0);
32908 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
;
32910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32911 wxMenu
*arg2
= (wxMenu
*) 0 ;
32912 PyObject
* obj0
= 0 ;
32913 PyObject
* obj1
= 0 ;
32914 char *kwnames
[] = {
32915 (char *) "self",(char *) "menu", NULL
32918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->SetMenu(arg2
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 Py_INCREF(Py_None
); resultobj
= Py_None
;
32937 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32941 PyObject
* obj0
= 0 ;
32942 PyObject
* obj1
= 0 ;
32943 char *kwnames
[] = {
32944 (char *) "self",(char *) "id", NULL
32947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32950 arg2
= (int)SWIG_As_int(obj1
);
32951 if (PyErr_Occurred()) SWIG_fail
;
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 (arg1
)->SetId(arg2
);
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 Py_INCREF(Py_None
); resultobj
= Py_None
;
32966 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32967 PyObject
*resultobj
;
32968 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32970 PyObject
* obj0
= 0 ;
32971 char *kwnames
[] = {
32972 (char *) "self", NULL
32975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 resultobj
= SWIG_From_int((int)result
);
32992 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
;
32994 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32996 PyObject
* obj0
= 0 ;
32997 char *kwnames
[] = {
32998 (char *) "self", NULL
33001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
33002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33020 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33023 wxString
*arg2
= 0 ;
33024 bool temp2
= false ;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 char *kwnames
[] = {
33028 (char *) "self",(char *) "str", NULL
33031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
33032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33035 arg2
= wxString_in_helper(obj1
);
33036 if (arg2
== NULL
) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 (arg1
)->SetText((wxString
const &)*arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 Py_INCREF(Py_None
); resultobj
= Py_None
;
33061 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33065 PyObject
* obj0
= 0 ;
33066 char *kwnames
[] = {
33067 (char *) "self", NULL
33070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
33071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33093 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33097 PyObject
* obj0
= 0 ;
33098 char *kwnames
[] = {
33099 (char *) "self", NULL
33102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
33103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
33109 result
= (wxString
*) &_result_ref
;
33112 wxPyEndAllowThreads(__tstate
);
33113 if (PyErr_Occurred()) SWIG_fail
;
33117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33128 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
;
33130 wxString
*arg1
= 0 ;
33132 bool temp1
= false ;
33133 PyObject
* obj0
= 0 ;
33134 char *kwnames
[] = {
33135 (char *) "text", NULL
33138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33140 arg1
= wxString_in_helper(obj0
);
33141 if (arg1
== NULL
) SWIG_fail
;
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33172 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
;
33174 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33176 PyObject
* obj0
= 0 ;
33177 char *kwnames
[] = {
33178 (char *) "self", NULL
33181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_From_int((int)result
);
33198 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
;
33200 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33202 PyObject
* obj0
= 0 ;
33203 PyObject
* obj1
= 0 ;
33204 char *kwnames
[] = {
33205 (char *) "self",(char *) "kind", NULL
33208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33211 arg2
= (int)SWIG_As_int(obj1
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 (arg1
)->SetKind((wxItemKind
)arg2
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 Py_INCREF(Py_None
); resultobj
= Py_None
;
33227 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33231 PyObject
* obj0
= 0 ;
33232 PyObject
* obj1
= 0 ;
33233 char *kwnames
[] = {
33234 (char *) "self",(char *) "checkable", NULL
33237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33240 arg2
= (bool)SWIG_As_bool(obj1
);
33241 if (PyErr_Occurred()) SWIG_fail
;
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33244 (arg1
)->SetCheckable(arg2
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 Py_INCREF(Py_None
); resultobj
= Py_None
;
33256 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
;
33258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33260 PyObject
* obj0
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "self", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33284 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33288 PyObject
* obj0
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33298 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33312 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
;
33314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33315 wxMenu
*arg2
= (wxMenu
*) 0 ;
33316 PyObject
* obj0
= 0 ;
33317 PyObject
* obj1
= 0 ;
33318 char *kwnames
[] = {
33319 (char *) "self",(char *) "menu", NULL
33322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 (arg1
)->SetSubMenu(arg2
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33334 Py_INCREF(Py_None
); resultobj
= Py_None
;
33341 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
;
33343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33345 PyObject
* obj0
= 0 ;
33346 char *kwnames
[] = {
33347 (char *) "self", NULL
33350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33357 wxPyEndAllowThreads(__tstate
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= wxPyMake_wxObject(result
, 0);
33369 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33370 PyObject
*resultobj
;
33371 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33372 bool arg2
= (bool) true ;
33373 PyObject
* obj0
= 0 ;
33374 PyObject
* obj1
= 0 ;
33375 char *kwnames
[] = {
33376 (char *) "self",(char *) "enable", NULL
33379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33383 arg2
= (bool)SWIG_As_bool(obj1
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 (arg1
)->Enable(arg2
);
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33393 Py_INCREF(Py_None
); resultobj
= Py_None
;
33400 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
;
33402 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33404 PyObject
* obj0
= 0 ;
33405 char *kwnames
[] = {
33406 (char *) "self", NULL
33409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33416 wxPyEndAllowThreads(__tstate
);
33417 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33428 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33431 bool arg2
= (bool) true ;
33432 PyObject
* obj0
= 0 ;
33433 PyObject
* obj1
= 0 ;
33434 char *kwnames
[] = {
33435 (char *) "self",(char *) "check", NULL
33438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33442 arg2
= (bool)SWIG_As_bool(obj1
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 (arg1
)->Check(arg2
);
33449 wxPyEndAllowThreads(__tstate
);
33450 if (PyErr_Occurred()) SWIG_fail
;
33452 Py_INCREF(Py_None
); resultobj
= Py_None
;
33459 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
;
33461 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33463 PyObject
* obj0
= 0 ;
33464 char *kwnames
[] = {
33465 (char *) "self", NULL
33468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33475 wxPyEndAllowThreads(__tstate
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33487 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33488 PyObject
*resultobj
;
33489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33490 PyObject
* obj0
= 0 ;
33491 char *kwnames
[] = {
33492 (char *) "self", NULL
33495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 Py_INCREF(Py_None
); resultobj
= Py_None
;
33512 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
;
33514 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33515 wxString
*arg2
= 0 ;
33516 bool temp2
= false ;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 char *kwnames
[] = {
33520 (char *) "self",(char *) "str", NULL
33523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33527 arg2
= wxString_in_helper(obj1
);
33528 if (arg2
== NULL
) SWIG_fail
;
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 (arg1
)->SetHelp((wxString
const &)*arg2
);
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 Py_INCREF(Py_None
); resultobj
= Py_None
;
33553 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33554 PyObject
*resultobj
;
33555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33557 PyObject
* obj0
= 0 ;
33558 char *kwnames
[] = {
33559 (char *) "self", NULL
33562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33569 result
= (wxString
*) &_result_ref
;
33572 wxPyEndAllowThreads(__tstate
);
33573 if (PyErr_Occurred()) SWIG_fail
;
33577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33588 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33589 PyObject
*resultobj
;
33590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33591 wxAcceleratorEntry
*result
;
33592 PyObject
* obj0
= 0 ;
33593 char *kwnames
[] = {
33594 (char *) "self", NULL
33597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33614 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33615 PyObject
*resultobj
;
33616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33617 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33618 PyObject
* obj0
= 0 ;
33619 PyObject
* obj1
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self",(char *) "accel", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 (arg1
)->SetAccel(arg2
);
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33636 Py_INCREF(Py_None
); resultobj
= Py_None
;
33643 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33644 PyObject
*resultobj
;
33646 char *kwnames
[] = {
33650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (int)MenuItem_GetDefaultMarginWidth();
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_From_int((int)result
);
33665 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33666 PyObject
*resultobj
;
33667 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33668 wxBitmap
*arg2
= 0 ;
33669 PyObject
* obj0
= 0 ;
33670 PyObject
* obj1
= 0 ;
33671 char *kwnames
[] = {
33672 (char *) "self",(char *) "bitmap", NULL
33675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33681 if (arg2
== NULL
) {
33682 PyErr_SetString(PyExc_TypeError
,"null reference");
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 Py_INCREF(Py_None
); resultobj
= Py_None
;
33699 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33703 PyObject
* obj0
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33715 result
= (wxBitmap
*) &_result_ref
;
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33722 wxBitmap
* resultptr
= new wxBitmap(*result
);
33723 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33731 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33734 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33736 return Py_BuildValue((char *)"");
33738 static int _wrap_ControlNameStr_set(PyObject
*) {
33739 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33744 static PyObject
*_wrap_ControlNameStr_get() {
33749 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33751 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33758 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33759 PyObject
*resultobj
;
33760 wxWindow
*arg1
= (wxWindow
*) 0 ;
33761 int arg2
= (int) -1 ;
33762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33766 long arg5
= (long) 0 ;
33767 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33768 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33769 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33774 bool temp7
= false ;
33775 PyObject
* obj0
= 0 ;
33776 PyObject
* obj1
= 0 ;
33777 PyObject
* obj2
= 0 ;
33778 PyObject
* obj3
= 0 ;
33779 PyObject
* obj4
= 0 ;
33780 PyObject
* obj5
= 0 ;
33781 PyObject
* obj6
= 0 ;
33782 char *kwnames
[] = {
33783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33790 arg2
= (int)SWIG_As_int(obj1
);
33791 if (PyErr_Occurred()) SWIG_fail
;
33796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33806 arg5
= (long)SWIG_As_long(obj4
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33810 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33813 if (arg6
== NULL
) {
33814 PyErr_SetString(PyExc_TypeError
,"null reference");
33820 arg7
= wxString_in_helper(obj6
);
33821 if (arg7
== NULL
) SWIG_fail
;
33826 if (!wxPyCheckForApp()) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33848 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
;
33851 char *kwnames
[] = {
33855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33857 if (!wxPyCheckForApp()) SWIG_fail
;
33858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33859 result
= (wxControl
*)new wxControl();
33861 wxPyEndAllowThreads(__tstate
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33871 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33872 PyObject
*resultobj
;
33873 wxControl
*arg1
= (wxControl
*) 0 ;
33874 wxWindow
*arg2
= (wxWindow
*) 0 ;
33875 int arg3
= (int) -1 ;
33876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33880 long arg6
= (long) 0 ;
33881 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33882 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33883 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33884 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33888 bool temp8
= false ;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 PyObject
* obj2
= 0 ;
33892 PyObject
* obj3
= 0 ;
33893 PyObject
* obj4
= 0 ;
33894 PyObject
* obj5
= 0 ;
33895 PyObject
* obj6
= 0 ;
33896 PyObject
* obj7
= 0 ;
33897 char *kwnames
[] = {
33898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33907 arg3
= (int)SWIG_As_int(obj2
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33913 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33919 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33923 arg6
= (long)SWIG_As_long(obj5
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33927 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33930 if (arg7
== NULL
) {
33931 PyErr_SetString(PyExc_TypeError
,"null reference");
33937 arg8
= wxString_in_helper(obj7
);
33938 if (arg8
== NULL
) SWIG_fail
;
33943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33966 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
;
33968 wxControl
*arg1
= (wxControl
*) 0 ;
33969 wxCommandEvent
*arg2
= 0 ;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 char *kwnames
[] = {
33973 (char *) "self",(char *) "event", NULL
33976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33982 if (arg2
== NULL
) {
33983 PyErr_SetString(PyExc_TypeError
,"null reference");
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33988 (arg1
)->Command(*arg2
);
33990 wxPyEndAllowThreads(__tstate
);
33991 if (PyErr_Occurred()) SWIG_fail
;
33993 Py_INCREF(Py_None
); resultobj
= Py_None
;
34000 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
;
34002 wxControl
*arg1
= (wxControl
*) 0 ;
34004 PyObject
* obj0
= 0 ;
34005 char *kwnames
[] = {
34006 (char *) "self", NULL
34009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34014 result
= (arg1
)->GetLabel();
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34032 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
;
34034 wxControl
*arg1
= (wxControl
*) 0 ;
34035 wxString
*arg2
= 0 ;
34036 bool temp2
= false ;
34037 PyObject
* obj0
= 0 ;
34038 PyObject
* obj1
= 0 ;
34039 char *kwnames
[] = {
34040 (char *) "self",(char *) "label", NULL
34043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34047 arg2
= wxString_in_helper(obj1
);
34048 if (arg2
== NULL
) SWIG_fail
;
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 (arg1
)->SetLabel((wxString
const &)*arg2
);
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34058 Py_INCREF(Py_None
); resultobj
= Py_None
;
34073 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34076 wxVisualAttributes result
;
34077 PyObject
* obj0
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "variant", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34084 arg1
= (int)SWIG_As_int(obj0
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34088 if (!wxPyCheckForApp()) SWIG_fail
;
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34096 wxVisualAttributes
* resultptr
;
34097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34106 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34109 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34111 return Py_BuildValue((char *)"");
34113 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34114 PyObject
*resultobj
;
34115 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34116 wxString
*arg2
= 0 ;
34117 PyObject
*arg3
= (PyObject
*) NULL
;
34119 bool temp2
= false ;
34120 PyObject
* obj0
= 0 ;
34121 PyObject
* obj1
= 0 ;
34122 PyObject
* obj2
= 0 ;
34123 char *kwnames
[] = {
34124 (char *) "self",(char *) "item",(char *) "clientData", NULL
34127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34131 arg2
= wxString_in_helper(obj1
);
34132 if (arg2
== NULL
) SWIG_fail
;
34139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34140 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34142 wxPyEndAllowThreads(__tstate
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34145 resultobj
= SWIG_From_int((int)result
);
34160 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
;
34162 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34163 wxArrayString
*arg2
= 0 ;
34164 bool temp2
= false ;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char *kwnames
[] = {
34168 (char *) "self",(char *) "strings", NULL
34171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34175 if (! PySequence_Check(obj1
)) {
34176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34179 arg2
= new wxArrayString
;
34181 int i
, len
=PySequence_Length(obj1
);
34182 for (i
=0; i
<len
; i
++) {
34183 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34185 PyObject
* str
= PyObject_Unicode(item
);
34187 PyObject
* str
= PyObject_Str(item
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34190 arg2
->Add(Py2wxString(str
));
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 (arg1
)->Append((wxArrayString
const &)*arg2
);
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34202 Py_INCREF(Py_None
); resultobj
= Py_None
;
34204 if (temp2
) delete arg2
;
34209 if (temp2
) delete arg2
;
34215 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34218 wxString
*arg2
= 0 ;
34220 PyObject
*arg4
= (PyObject
*) NULL
;
34222 bool temp2
= false ;
34223 PyObject
* obj0
= 0 ;
34224 PyObject
* obj1
= 0 ;
34225 PyObject
* obj2
= 0 ;
34226 PyObject
* obj3
= 0 ;
34227 char *kwnames
[] = {
34228 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34235 arg2
= wxString_in_helper(obj1
);
34236 if (arg2
== NULL
) SWIG_fail
;
34239 arg3
= (int)SWIG_As_int(obj2
);
34240 if (PyErr_Occurred()) SWIG_fail
;
34245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34251 resultobj
= SWIG_From_int((int)result
);
34266 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34267 PyObject
*resultobj
;
34268 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34269 PyObject
* obj0
= 0 ;
34270 char *kwnames
[] = {
34271 (char *) "self", NULL
34274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34284 Py_INCREF(Py_None
); resultobj
= Py_None
;
34291 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34292 PyObject
*resultobj
;
34293 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34295 PyObject
* obj0
= 0 ;
34296 PyObject
* obj1
= 0 ;
34297 char *kwnames
[] = {
34298 (char *) "self",(char *) "n", NULL
34301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34304 arg2
= (int)SWIG_As_int(obj1
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 (arg1
)->Delete(arg2
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34313 Py_INCREF(Py_None
); resultobj
= Py_None
;
34320 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
;
34322 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34324 PyObject
* obj0
= 0 ;
34325 char *kwnames
[] = {
34326 (char *) "self", NULL
34329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34336 wxPyEndAllowThreads(__tstate
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34339 resultobj
= SWIG_From_int((int)result
);
34346 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34347 PyObject
*resultobj
;
34348 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34350 PyObject
* obj0
= 0 ;
34351 char *kwnames
[] = {
34352 (char *) "self", NULL
34355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34374 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34375 PyObject
*resultobj
;
34376 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 PyObject
* obj1
= 0 ;
34381 char *kwnames
[] = {
34382 (char *) "self",(char *) "n", NULL
34385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34388 arg2
= (int)SWIG_As_int(obj1
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34410 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34411 PyObject
*resultobj
;
34412 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34413 wxArrayString result
;
34414 PyObject
* obj0
= 0 ;
34415 char *kwnames
[] = {
34416 (char *) "self", NULL
34419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= wxArrayString2PyList_helper(result
);
34438 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34442 wxString
*arg3
= 0 ;
34443 bool temp3
= false ;
34444 PyObject
* obj0
= 0 ;
34445 PyObject
* obj1
= 0 ;
34446 PyObject
* obj2
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self",(char *) "n",(char *) "s", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34454 arg2
= (int)SWIG_As_int(obj1
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34457 arg3
= wxString_in_helper(obj2
);
34458 if (arg3
== NULL
) SWIG_fail
;
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 Py_INCREF(Py_None
); resultobj
= Py_None
;
34483 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34484 PyObject
*resultobj
;
34485 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34486 wxString
*arg2
= 0 ;
34488 bool temp2
= false ;
34489 PyObject
* obj0
= 0 ;
34490 PyObject
* obj1
= 0 ;
34491 char *kwnames
[] = {
34492 (char *) "self",(char *) "s", NULL
34495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34499 arg2
= wxString_in_helper(obj1
);
34500 if (arg2
== NULL
) SWIG_fail
;
34504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34505 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34507 wxPyEndAllowThreads(__tstate
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34510 resultobj
= SWIG_From_int((int)result
);
34525 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34526 PyObject
*resultobj
;
34527 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 PyObject
* obj1
= 0 ;
34531 char *kwnames
[] = {
34532 (char *) "self",(char *) "n", NULL
34535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34538 arg2
= (int)SWIG_As_int(obj1
);
34539 if (PyErr_Occurred()) SWIG_fail
;
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 (arg1
)->Select(arg2
);
34544 wxPyEndAllowThreads(__tstate
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 Py_INCREF(Py_None
); resultobj
= Py_None
;
34554 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34555 PyObject
*resultobj
;
34556 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34558 PyObject
* obj0
= 0 ;
34559 char *kwnames
[] = {
34560 (char *) "self", NULL
34563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34570 wxPyEndAllowThreads(__tstate
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34573 resultobj
= SWIG_From_int((int)result
);
34580 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34581 PyObject
*resultobj
;
34582 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34584 PyObject
* obj0
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34612 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34613 PyObject
*resultobj
;
34614 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 char *kwnames
[] = {
34620 (char *) "self",(char *) "n", NULL
34623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34626 arg2
= (int)SWIG_As_int(obj1
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= result
;
34642 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
;
34644 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34646 PyObject
*arg3
= (PyObject
*) 0 ;
34647 PyObject
* obj0
= 0 ;
34648 PyObject
* obj1
= 0 ;
34649 PyObject
* obj2
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self",(char *) "n",(char *) "clientData", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34657 arg2
= (int)SWIG_As_int(obj1
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 Py_INCREF(Py_None
); resultobj
= Py_None
;
34674 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34677 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34679 return Py_BuildValue((char *)"");
34681 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34684 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34686 return Py_BuildValue((char *)"");
34688 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
;
34690 wxSizerItem
*result
;
34691 char *kwnames
[] = {
34695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 result
= (wxSizerItem
*)new wxSizerItem();
34700 wxPyEndAllowThreads(__tstate
);
34701 if (PyErr_Occurred()) SWIG_fail
;
34703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34710 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34711 PyObject
*resultobj
;
34712 wxWindow
*arg1
= (wxWindow
*) 0 ;
34716 PyObject
*arg5
= (PyObject
*) NULL
;
34717 wxSizerItem
*result
;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 PyObject
* obj2
= 0 ;
34721 PyObject
* obj3
= 0 ;
34722 PyObject
* obj4
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34730 arg2
= (int)SWIG_As_int(obj1
);
34731 if (PyErr_Occurred()) SWIG_fail
;
34732 arg3
= (int)SWIG_As_int(obj2
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34734 arg4
= (int)SWIG_As_int(obj3
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34743 wxPyEndAllowThreads(__tstate
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34753 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34754 PyObject
*resultobj
;
34760 PyObject
*arg6
= (PyObject
*) NULL
;
34761 wxSizerItem
*result
;
34762 PyObject
* obj0
= 0 ;
34763 PyObject
* obj1
= 0 ;
34764 PyObject
* obj2
= 0 ;
34765 PyObject
* obj3
= 0 ;
34766 PyObject
* obj4
= 0 ;
34767 PyObject
* obj5
= 0 ;
34768 char *kwnames
[] = {
34769 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34773 arg1
= (int)SWIG_As_int(obj0
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34775 arg2
= (int)SWIG_As_int(obj1
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34777 arg3
= (int)SWIG_As_int(obj2
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34779 arg4
= (int)SWIG_As_int(obj3
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34781 arg5
= (int)SWIG_As_int(obj4
);
34782 if (PyErr_Occurred()) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34800 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
;
34802 wxSizer
*arg1
= (wxSizer
*) 0 ;
34806 PyObject
*arg5
= (PyObject
*) NULL
;
34807 wxSizerItem
*result
;
34808 PyObject
* obj0
= 0 ;
34809 PyObject
* obj1
= 0 ;
34810 PyObject
* obj2
= 0 ;
34811 PyObject
* obj3
= 0 ;
34812 PyObject
* obj4
= 0 ;
34813 char *kwnames
[] = {
34814 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34820 arg2
= (int)SWIG_As_int(obj1
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34822 arg3
= (int)SWIG_As_int(obj2
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34824 arg4
= (int)SWIG_As_int(obj3
);
34825 if (PyErr_Occurred()) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34843 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34846 PyObject
* obj0
= 0 ;
34847 char *kwnames
[] = {
34848 (char *) "self", NULL
34851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34856 (arg1
)->DeleteWindows();
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34861 Py_INCREF(Py_None
); resultobj
= Py_None
;
34868 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
;
34870 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34871 PyObject
* obj0
= 0 ;
34872 char *kwnames
[] = {
34873 (char *) "self", NULL
34876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34881 (arg1
)->DetachSizer();
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34886 Py_INCREF(Py_None
); resultobj
= Py_None
;
34893 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
;
34895 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34897 PyObject
* obj0
= 0 ;
34898 char *kwnames
[] = {
34899 (char *) "self", NULL
34902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (arg1
)->GetSize();
34909 wxPyEndAllowThreads(__tstate
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34913 wxSize
* resultptr
;
34914 resultptr
= new wxSize((wxSize
&) result
);
34915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34923 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34924 PyObject
*resultobj
;
34925 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34927 PyObject
* obj0
= 0 ;
34928 char *kwnames
[] = {
34929 (char *) "self", NULL
34932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 result
= (arg1
)->CalcMin();
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34943 wxSize
* resultptr
;
34944 resultptr
= new wxSize((wxSize
&) result
);
34945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34953 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34954 PyObject
*resultobj
;
34955 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 PyObject
* obj2
= 0 ;
34963 char *kwnames
[] = {
34964 (char *) "self",(char *) "pos",(char *) "size", NULL
34967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34970 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34971 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34973 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34974 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 (arg1
)->SetDimension(arg2
,arg3
);
34980 wxPyEndAllowThreads(__tstate
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 Py_INCREF(Py_None
); resultobj
= Py_None
;
34990 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34991 PyObject
*resultobj
;
34992 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34994 PyObject
* obj0
= 0 ;
34995 char *kwnames
[] = {
34996 (char *) "self", NULL
34999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 result
= (arg1
)->GetMinSize();
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35010 wxSize
* resultptr
;
35011 resultptr
= new wxSize((wxSize
&) result
);
35012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35020 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
;
35022 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35024 PyObject
* obj0
= 0 ;
35025 char *kwnames
[] = {
35026 (char *) "self", NULL
35029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35034 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35040 wxSize
* resultptr
;
35041 resultptr
= new wxSize((wxSize
&) result
);
35042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35050 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35051 PyObject
*resultobj
;
35052 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35055 PyObject
* obj0
= 0 ;
35056 PyObject
* obj1
= 0 ;
35057 PyObject
* obj2
= 0 ;
35058 char *kwnames
[] = {
35059 (char *) "self",(char *) "x",(char *) "y", NULL
35062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35065 arg2
= (int)SWIG_As_int(obj1
);
35066 if (PyErr_Occurred()) SWIG_fail
;
35067 arg3
= (int)SWIG_As_int(obj2
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 (arg1
)->SetInitSize(arg2
,arg3
);
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35076 Py_INCREF(Py_None
); resultobj
= Py_None
;
35083 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
;
35085 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35088 PyObject
* obj0
= 0 ;
35089 PyObject
* obj1
= 0 ;
35090 PyObject
* obj2
= 0 ;
35091 char *kwnames
[] = {
35092 (char *) "self",(char *) "width",(char *) "height", NULL
35095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35098 arg2
= (int)SWIG_As_int(obj1
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35100 arg3
= (int)SWIG_As_int(obj2
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35104 (arg1
)->SetRatio(arg2
,arg3
);
35106 wxPyEndAllowThreads(__tstate
);
35107 if (PyErr_Occurred()) SWIG_fail
;
35109 Py_INCREF(Py_None
); resultobj
= Py_None
;
35116 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35117 PyObject
*resultobj
;
35118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35121 PyObject
* obj0
= 0 ;
35122 PyObject
* obj1
= 0 ;
35123 char *kwnames
[] = {
35124 (char *) "self",(char *) "size", NULL
35127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35130 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35131 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35135 (arg1
)->SetRatio(arg2
);
35137 wxPyEndAllowThreads(__tstate
);
35138 if (PyErr_Occurred()) SWIG_fail
;
35140 Py_INCREF(Py_None
); resultobj
= Py_None
;
35147 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35148 PyObject
*resultobj
;
35149 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35151 PyObject
* obj0
= 0 ;
35152 PyObject
* obj1
= 0 ;
35153 char *kwnames
[] = {
35154 (char *) "self",(char *) "ratio", NULL
35157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35160 arg2
= (float)SWIG_As_float(obj1
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 (arg1
)->SetRatio(arg2
);
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35169 Py_INCREF(Py_None
); resultobj
= Py_None
;
35176 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35177 PyObject
*resultobj
;
35178 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35180 PyObject
* obj0
= 0 ;
35181 char *kwnames
[] = {
35182 (char *) "self", NULL
35185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 result
= (float)(arg1
)->GetRatio();
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 resultobj
= SWIG_From_float((float)result
);
35202 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
;
35204 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35206 PyObject
* obj0
= 0 ;
35207 char *kwnames
[] = {
35208 (char *) "self", NULL
35211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 result
= (arg1
)->GetRect();
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35222 wxRect
* resultptr
;
35223 resultptr
= new wxRect((wxRect
&) result
);
35224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35232 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
;
35234 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 result
= (bool)(arg1
)->IsWindow();
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35260 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35264 PyObject
* obj0
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 result
= (bool)(arg1
)->IsSizer();
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35288 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
;
35290 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35292 PyObject
* obj0
= 0 ;
35293 char *kwnames
[] = {
35294 (char *) "self", NULL
35297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 result
= (bool)(arg1
)->IsSpacer();
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35316 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35317 PyObject
*resultobj
;
35318 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 PyObject
* obj1
= 0 ;
35322 char *kwnames
[] = {
35323 (char *) "self",(char *) "proportion", NULL
35326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35329 arg2
= (int)SWIG_As_int(obj1
);
35330 if (PyErr_Occurred()) SWIG_fail
;
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 (arg1
)->SetProportion(arg2
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 Py_INCREF(Py_None
); resultobj
= Py_None
;
35345 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 char *kwnames
[] = {
35351 (char *) "self", NULL
35354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 result
= (int)(arg1
)->GetProportion();
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35364 resultobj
= SWIG_From_int((int)result
);
35371 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35372 PyObject
*resultobj
;
35373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35375 PyObject
* obj0
= 0 ;
35376 PyObject
* obj1
= 0 ;
35377 char *kwnames
[] = {
35378 (char *) "self",(char *) "flag", NULL
35381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35384 arg2
= (int)SWIG_As_int(obj1
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 (arg1
)->SetFlag(arg2
);
35390 wxPyEndAllowThreads(__tstate
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35393 Py_INCREF(Py_None
); resultobj
= Py_None
;
35400 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35401 PyObject
*resultobj
;
35402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35404 PyObject
* obj0
= 0 ;
35405 char *kwnames
[] = {
35406 (char *) "self", NULL
35409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35414 result
= (int)(arg1
)->GetFlag();
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= SWIG_From_int((int)result
);
35426 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35427 PyObject
*resultobj
;
35428 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 char *kwnames
[] = {
35433 (char *) "self",(char *) "border", NULL
35436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35439 arg2
= (int)SWIG_As_int(obj1
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 (arg1
)->SetBorder(arg2
);
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35448 Py_INCREF(Py_None
); resultobj
= Py_None
;
35455 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
;
35457 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35459 PyObject
* obj0
= 0 ;
35460 char *kwnames
[] = {
35461 (char *) "self", NULL
35464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 result
= (int)(arg1
)->GetBorder();
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 resultobj
= SWIG_From_int((int)result
);
35481 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35485 PyObject
* obj0
= 0 ;
35486 char *kwnames
[] = {
35487 (char *) "self", NULL
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 result
= (wxWindow
*)(arg1
)->GetWindow();
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35501 resultobj
= wxPyMake_wxObject(result
, 0);
35509 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35510 PyObject
*resultobj
;
35511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35512 wxWindow
*arg2
= (wxWindow
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self",(char *) "window", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35526 (arg1
)->SetWindow(arg2
);
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35531 Py_INCREF(Py_None
); resultobj
= Py_None
;
35538 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
;
35540 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 char *kwnames
[] = {
35544 (char *) "self", NULL
35547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= (wxSizer
*)(arg1
)->GetSizer();
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35558 resultobj
= wxPyMake_wxSizer(result
, 0);
35566 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35567 PyObject
*resultobj
;
35568 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35569 wxSizer
*arg2
= (wxSizer
*) 0 ;
35570 PyObject
* obj0
= 0 ;
35571 PyObject
* obj1
= 0 ;
35572 char *kwnames
[] = {
35573 (char *) "self",(char *) "sizer", NULL
35576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35583 (arg1
)->SetSizer(arg2
);
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 Py_INCREF(Py_None
); resultobj
= Py_None
;
35595 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
;
35597 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35599 PyObject
* obj0
= 0 ;
35600 char *kwnames
[] = {
35601 (char *) "self", NULL
35604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35610 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35611 result
= (wxSize
*) &_result_ref
;
35614 wxPyEndAllowThreads(__tstate
);
35615 if (PyErr_Occurred()) SWIG_fail
;
35617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35624 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
;
35626 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35629 PyObject
* obj0
= 0 ;
35630 PyObject
* obj1
= 0 ;
35631 char *kwnames
[] = {
35632 (char *) "self",(char *) "size", NULL
35635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 Py_INCREF(Py_None
); resultobj
= Py_None
;
35656 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35660 PyObject
* obj0
= 0 ;
35661 PyObject
* obj1
= 0 ;
35662 char *kwnames
[] = {
35663 (char *) "self",(char *) "show", NULL
35666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35669 arg2
= (bool)SWIG_As_bool(obj1
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 (arg1
)->Show(arg2
);
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35678 Py_INCREF(Py_None
); resultobj
= Py_None
;
35685 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35686 PyObject
*resultobj
;
35687 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35689 PyObject
* obj0
= 0 ;
35690 char *kwnames
[] = {
35691 (char *) "self", NULL
35694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35699 result
= (bool)(arg1
)->IsShown();
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35713 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35714 PyObject
*resultobj
;
35715 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35717 PyObject
* obj0
= 0 ;
35718 char *kwnames
[] = {
35719 (char *) "self", NULL
35722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35727 result
= (arg1
)->GetPosition();
35729 wxPyEndAllowThreads(__tstate
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35733 wxPoint
* resultptr
;
35734 resultptr
= new wxPoint((wxPoint
&) result
);
35735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35743 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
;
35745 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35747 PyObject
* obj0
= 0 ;
35748 char *kwnames
[] = {
35749 (char *) "self", NULL
35752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= result
;
35769 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35772 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35774 return Py_BuildValue((char *)"");
35776 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35777 PyObject
*resultobj
;
35778 wxSizer
*arg1
= (wxSizer
*) 0 ;
35779 PyObject
*arg2
= (PyObject
*) 0 ;
35780 PyObject
* obj0
= 0 ;
35781 PyObject
* obj1
= 0 ;
35782 char *kwnames
[] = {
35783 (char *) "self",(char *) "_self", NULL
35786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 wxSizer__setOORInfo(arg1
,arg2
);
35794 wxPyEndAllowThreads(__tstate
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35797 Py_INCREF(Py_None
); resultobj
= Py_None
;
35804 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35805 PyObject
*resultobj
;
35806 wxSizer
*arg1
= (wxSizer
*) 0 ;
35807 PyObject
*arg2
= (PyObject
*) 0 ;
35808 int arg3
= (int) 0 ;
35809 int arg4
= (int) 0 ;
35810 int arg5
= (int) 0 ;
35811 PyObject
*arg6
= (PyObject
*) NULL
;
35812 wxSizerItem
*result
;
35813 PyObject
* obj0
= 0 ;
35814 PyObject
* obj1
= 0 ;
35815 PyObject
* obj2
= 0 ;
35816 PyObject
* obj3
= 0 ;
35817 PyObject
* obj4
= 0 ;
35818 PyObject
* obj5
= 0 ;
35819 char *kwnames
[] = {
35820 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35828 arg3
= (int)SWIG_As_int(obj2
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35832 arg4
= (int)SWIG_As_int(obj3
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35836 arg5
= (int)SWIG_As_int(obj4
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35844 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35846 wxPyEndAllowThreads(__tstate
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35856 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
;
35858 wxSizer
*arg1
= (wxSizer
*) 0 ;
35860 PyObject
*arg3
= (PyObject
*) 0 ;
35861 int arg4
= (int) 0 ;
35862 int arg5
= (int) 0 ;
35863 int arg6
= (int) 0 ;
35864 PyObject
*arg7
= (PyObject
*) NULL
;
35865 wxSizerItem
*result
;
35866 PyObject
* obj0
= 0 ;
35867 PyObject
* obj1
= 0 ;
35868 PyObject
* obj2
= 0 ;
35869 PyObject
* obj3
= 0 ;
35870 PyObject
* obj4
= 0 ;
35871 PyObject
* obj5
= 0 ;
35872 PyObject
* obj6
= 0 ;
35873 char *kwnames
[] = {
35874 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35880 arg2
= (int)SWIG_As_int(obj1
);
35881 if (PyErr_Occurred()) SWIG_fail
;
35884 arg4
= (int)SWIG_As_int(obj3
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35888 arg5
= (int)SWIG_As_int(obj4
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35892 arg6
= (int)SWIG_As_int(obj5
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35900 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35912 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35913 PyObject
*resultobj
;
35914 wxSizer
*arg1
= (wxSizer
*) 0 ;
35915 PyObject
*arg2
= (PyObject
*) 0 ;
35916 int arg3
= (int) 0 ;
35917 int arg4
= (int) 0 ;
35918 int arg5
= (int) 0 ;
35919 PyObject
*arg6
= (PyObject
*) NULL
;
35920 wxSizerItem
*result
;
35921 PyObject
* obj0
= 0 ;
35922 PyObject
* obj1
= 0 ;
35923 PyObject
* obj2
= 0 ;
35924 PyObject
* obj3
= 0 ;
35925 PyObject
* obj4
= 0 ;
35926 PyObject
* obj5
= 0 ;
35927 char *kwnames
[] = {
35928 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35936 arg3
= (int)SWIG_As_int(obj2
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35940 arg4
= (int)SWIG_As_int(obj3
);
35941 if (PyErr_Occurred()) SWIG_fail
;
35944 arg5
= (int)SWIG_As_int(obj4
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35952 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35954 wxPyEndAllowThreads(__tstate
);
35955 if (PyErr_Occurred()) SWIG_fail
;
35957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35964 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35965 PyObject
*resultobj
;
35966 wxSizer
*arg1
= (wxSizer
*) 0 ;
35967 PyObject
*arg2
= (PyObject
*) 0 ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 char *kwnames
[] = {
35972 (char *) "self",(char *) "item", NULL
35975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35995 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35996 PyObject
*resultobj
;
35997 wxSizer
*arg1
= (wxSizer
*) 0 ;
35998 PyObject
*arg2
= (PyObject
*) 0 ;
36000 PyObject
* obj0
= 0 ;
36001 PyObject
* obj1
= 0 ;
36002 char *kwnames
[] = {
36003 (char *) "self",(char *) "item", NULL
36006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36012 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36014 wxPyEndAllowThreads(__tstate
);
36015 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36026 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36027 PyObject
*resultobj
;
36028 wxSizer
*arg1
= (wxSizer
*) 0 ;
36029 PyObject
*arg2
= (PyObject
*) 0 ;
36030 wxSizerItem
*result
;
36031 PyObject
* obj0
= 0 ;
36032 PyObject
* obj1
= 0 ;
36033 char *kwnames
[] = {
36034 (char *) "self",(char *) "item", NULL
36037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36043 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36045 wxPyEndAllowThreads(__tstate
);
36046 if (PyErr_Occurred()) SWIG_fail
;
36048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36055 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36056 PyObject
*resultobj
;
36057 wxSizer
*arg1
= (wxSizer
*) 0 ;
36058 PyObject
*arg2
= (PyObject
*) 0 ;
36061 PyObject
* obj0
= 0 ;
36062 PyObject
* obj1
= 0 ;
36063 PyObject
* obj2
= 0 ;
36064 char *kwnames
[] = {
36065 (char *) "self",(char *) "item",(char *) "size", NULL
36068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36074 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36078 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36080 wxPyEndAllowThreads(__tstate
);
36081 if (PyErr_Occurred()) SWIG_fail
;
36083 Py_INCREF(Py_None
); resultobj
= Py_None
;
36090 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
;
36092 wxSizer
*arg1
= (wxSizer
*) 0 ;
36093 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36094 wxSizerItem
*result
;
36095 PyObject
* obj0
= 0 ;
36096 PyObject
* obj1
= 0 ;
36097 char *kwnames
[] = {
36098 (char *) "self",(char *) "item", NULL
36101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36110 wxPyEndAllowThreads(__tstate
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36120 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36121 PyObject
*resultobj
;
36122 wxSizer
*arg1
= (wxSizer
*) 0 ;
36124 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36125 wxSizerItem
*result
;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 PyObject
* obj2
= 0 ;
36129 char *kwnames
[] = {
36130 (char *) "self",(char *) "index",(char *) "item", NULL
36133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36136 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36137 if (PyErr_Occurred()) SWIG_fail
;
36138 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36142 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36154 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36155 PyObject
*resultobj
;
36156 wxSizer
*arg1
= (wxSizer
*) 0 ;
36157 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36158 wxSizerItem
*result
;
36159 PyObject
* obj0
= 0 ;
36160 PyObject
* obj1
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self",(char *) "item", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36184 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxSizer
*arg1
= (wxSizer
*) 0 ;
36191 PyObject
* obj0
= 0 ;
36192 PyObject
* obj1
= 0 ;
36193 PyObject
* obj2
= 0 ;
36194 PyObject
* obj3
= 0 ;
36195 PyObject
* obj4
= 0 ;
36196 char *kwnames
[] = {
36197 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36203 arg2
= (int)SWIG_As_int(obj1
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36205 arg3
= (int)SWIG_As_int(obj2
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36207 arg4
= (int)SWIG_As_int(obj3
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36209 arg5
= (int)SWIG_As_int(obj4
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 Py_INCREF(Py_None
); resultobj
= Py_None
;
36225 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36226 PyObject
*resultobj
;
36227 wxSizer
*arg1
= (wxSizer
*) 0 ;
36230 PyObject
* obj0
= 0 ;
36231 PyObject
* obj1
= 0 ;
36232 char *kwnames
[] = {
36233 (char *) "self",(char *) "size", NULL
36236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36245 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36247 wxPyEndAllowThreads(__tstate
);
36248 if (PyErr_Occurred()) SWIG_fail
;
36250 Py_INCREF(Py_None
); resultobj
= Py_None
;
36257 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36258 PyObject
*resultobj
;
36259 wxSizer
*arg1
= (wxSizer
*) 0 ;
36261 PyObject
* obj0
= 0 ;
36262 char *kwnames
[] = {
36263 (char *) "self", NULL
36266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36271 result
= (arg1
)->GetSize();
36273 wxPyEndAllowThreads(__tstate
);
36274 if (PyErr_Occurred()) SWIG_fail
;
36277 wxSize
* resultptr
;
36278 resultptr
= new wxSize((wxSize
&) result
);
36279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36287 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36288 PyObject
*resultobj
;
36289 wxSizer
*arg1
= (wxSizer
*) 0 ;
36291 PyObject
* obj0
= 0 ;
36292 char *kwnames
[] = {
36293 (char *) "self", NULL
36296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 result
= (arg1
)->GetPosition();
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36307 wxPoint
* resultptr
;
36308 resultptr
= new wxPoint((wxPoint
&) result
);
36309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36317 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
;
36319 wxSizer
*arg1
= (wxSizer
*) 0 ;
36321 PyObject
* obj0
= 0 ;
36322 char *kwnames
[] = {
36323 (char *) "self", NULL
36326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36331 result
= (arg1
)->GetMinSize();
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36337 wxSize
* resultptr
;
36338 resultptr
= new wxSize((wxSize
&) result
);
36339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36347 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36348 PyObject
*resultobj
;
36349 wxSizer
*arg1
= (wxSizer
*) 0 ;
36350 PyObject
* obj0
= 0 ;
36351 char *kwnames
[] = {
36352 (char *) "self", NULL
36355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36360 (arg1
)->RecalcSizes();
36362 wxPyEndAllowThreads(__tstate
);
36363 if (PyErr_Occurred()) SWIG_fail
;
36365 Py_INCREF(Py_None
); resultobj
= Py_None
;
36372 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36373 PyObject
*resultobj
;
36374 wxSizer
*arg1
= (wxSizer
*) 0 ;
36376 PyObject
* obj0
= 0 ;
36377 char *kwnames
[] = {
36378 (char *) "self", NULL
36381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36386 result
= (arg1
)->CalcMin();
36388 wxPyEndAllowThreads(__tstate
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36392 wxSize
* resultptr
;
36393 resultptr
= new wxSize((wxSize
&) result
);
36394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36402 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
;
36404 wxSizer
*arg1
= (wxSizer
*) 0 ;
36405 PyObject
* obj0
= 0 ;
36406 char *kwnames
[] = {
36407 (char *) "self", NULL
36410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 Py_INCREF(Py_None
); resultobj
= Py_None
;
36427 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
;
36429 wxSizer
*arg1
= (wxSizer
*) 0 ;
36430 wxWindow
*arg2
= (wxWindow
*) 0 ;
36432 PyObject
* obj0
= 0 ;
36433 PyObject
* obj1
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self",(char *) "window", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36445 result
= (arg1
)->Fit(arg2
);
36447 wxPyEndAllowThreads(__tstate
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36451 wxSize
* resultptr
;
36452 resultptr
= new wxSize((wxSize
&) result
);
36453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36461 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36462 PyObject
*resultobj
;
36463 wxSizer
*arg1
= (wxSizer
*) 0 ;
36464 wxWindow
*arg2
= (wxWindow
*) 0 ;
36465 PyObject
* obj0
= 0 ;
36466 PyObject
* obj1
= 0 ;
36467 char *kwnames
[] = {
36468 (char *) "self",(char *) "window", NULL
36471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 (arg1
)->FitInside(arg2
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 Py_INCREF(Py_None
); resultobj
= Py_None
;
36490 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36491 PyObject
*resultobj
;
36492 wxSizer
*arg1
= (wxSizer
*) 0 ;
36493 wxWindow
*arg2
= (wxWindow
*) 0 ;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 char *kwnames
[] = {
36497 (char *) "self",(char *) "window", NULL
36500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 (arg1
)->SetSizeHints(arg2
);
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36512 Py_INCREF(Py_None
); resultobj
= Py_None
;
36519 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
;
36521 wxSizer
*arg1
= (wxSizer
*) 0 ;
36522 wxWindow
*arg2
= (wxWindow
*) 0 ;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 char *kwnames
[] = {
36526 (char *) "self",(char *) "window", NULL
36529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36536 (arg1
)->SetVirtualSizeHints(arg2
);
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 Py_INCREF(Py_None
); resultobj
= Py_None
;
36548 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
;
36550 wxSizer
*arg1
= (wxSizer
*) 0 ;
36551 bool arg2
= (bool) false ;
36552 PyObject
* obj0
= 0 ;
36553 PyObject
* obj1
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self",(char *) "deleteWindows", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36562 arg2
= (bool)SWIG_As_bool(obj1
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36567 (arg1
)->Clear(arg2
);
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 Py_INCREF(Py_None
); resultobj
= Py_None
;
36579 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36580 PyObject
*resultobj
;
36581 wxSizer
*arg1
= (wxSizer
*) 0 ;
36582 PyObject
* obj0
= 0 ;
36583 char *kwnames
[] = {
36584 (char *) "self", NULL
36587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 (arg1
)->DeleteWindows();
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36597 Py_INCREF(Py_None
); resultobj
= Py_None
;
36604 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36605 PyObject
*resultobj
;
36606 wxSizer
*arg1
= (wxSizer
*) 0 ;
36608 PyObject
* obj0
= 0 ;
36609 char *kwnames
[] = {
36610 (char *) "self", NULL
36613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 resultobj
= result
;
36630 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36631 PyObject
*resultobj
;
36632 wxSizer
*arg1
= (wxSizer
*) 0 ;
36633 PyObject
*arg2
= (PyObject
*) 0 ;
36634 bool arg3
= (bool) true ;
36635 bool arg4
= (bool) false ;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 PyObject
* obj2
= 0 ;
36640 PyObject
* obj3
= 0 ;
36641 char *kwnames
[] = {
36642 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36650 arg3
= (bool)SWIG_As_bool(obj2
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36654 arg4
= (bool)SWIG_As_bool(obj3
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36673 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
;
36675 wxSizer
*arg1
= (wxSizer
*) 0 ;
36676 PyObject
*arg2
= (PyObject
*) 0 ;
36678 PyObject
* obj0
= 0 ;
36679 PyObject
* obj1
= 0 ;
36680 char *kwnames
[] = {
36681 (char *) "self",(char *) "item", NULL
36684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36704 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36705 PyObject
*resultobj
;
36706 wxSizer
*arg1
= (wxSizer
*) 0 ;
36708 PyObject
* obj0
= 0 ;
36709 PyObject
* obj1
= 0 ;
36710 char *kwnames
[] = {
36711 (char *) "self",(char *) "show", NULL
36714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36717 arg2
= (bool)SWIG_As_bool(obj1
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 (arg1
)->ShowItems(arg2
);
36723 wxPyEndAllowThreads(__tstate
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 Py_INCREF(Py_None
); resultobj
= Py_None
;
36733 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36736 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36738 return Py_BuildValue((char *)"");
36740 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36741 PyObject
*resultobj
;
36743 char *kwnames
[] = {
36747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36750 result
= (wxPySizer
*)new wxPySizer();
36752 wxPyEndAllowThreads(__tstate
);
36753 if (PyErr_Occurred()) SWIG_fail
;
36755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36762 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36763 PyObject
*resultobj
;
36764 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36765 PyObject
*arg2
= (PyObject
*) 0 ;
36766 PyObject
*arg3
= (PyObject
*) 0 ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 PyObject
* obj2
= 0 ;
36770 char *kwnames
[] = {
36771 (char *) "self",(char *) "self",(char *) "_class", NULL
36774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36783 wxPyEndAllowThreads(__tstate
);
36784 if (PyErr_Occurred()) SWIG_fail
;
36786 Py_INCREF(Py_None
); resultobj
= Py_None
;
36793 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36796 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36798 return Py_BuildValue((char *)"");
36800 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
;
36802 int arg1
= (int) wxHORIZONTAL
;
36803 wxBoxSizer
*result
;
36804 PyObject
* obj0
= 0 ;
36805 char *kwnames
[] = {
36806 (char *) "orient", NULL
36809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36811 arg1
= (int)SWIG_As_int(obj0
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36816 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36818 wxPyEndAllowThreads(__tstate
);
36819 if (PyErr_Occurred()) SWIG_fail
;
36821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36828 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36829 PyObject
*resultobj
;
36830 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36832 PyObject
* obj0
= 0 ;
36833 char *kwnames
[] = {
36834 (char *) "self", NULL
36837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 result
= (int)(arg1
)->GetOrientation();
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_From_int((int)result
);
36854 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36855 PyObject
*resultobj
;
36856 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36858 PyObject
* obj0
= 0 ;
36859 PyObject
* obj1
= 0 ;
36860 char *kwnames
[] = {
36861 (char *) "self",(char *) "orient", NULL
36864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36867 arg2
= (int)SWIG_As_int(obj1
);
36868 if (PyErr_Occurred()) SWIG_fail
;
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 (arg1
)->SetOrientation(arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 Py_INCREF(Py_None
); resultobj
= Py_None
;
36883 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36886 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36888 return Py_BuildValue((char *)"");
36890 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
;
36892 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36893 int arg2
= (int) wxHORIZONTAL
;
36894 wxStaticBoxSizer
*result
;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 char *kwnames
[] = {
36898 (char *) "box",(char *) "orient", NULL
36901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36905 arg2
= (int)SWIG_As_int(obj1
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36910 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36922 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36923 PyObject
*resultobj
;
36924 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36925 wxStaticBox
*result
;
36926 PyObject
* obj0
= 0 ;
36927 char *kwnames
[] = {
36928 (char *) "self", NULL
36931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36936 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36938 wxPyEndAllowThreads(__tstate
);
36939 if (PyErr_Occurred()) SWIG_fail
;
36942 resultobj
= wxPyMake_wxObject(result
, 0);
36950 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36953 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36955 return Py_BuildValue((char *)"");
36957 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 int arg1
= (int) 1 ;
36960 int arg2
= (int) 0 ;
36961 int arg3
= (int) 0 ;
36962 int arg4
= (int) 0 ;
36963 wxGridSizer
*result
;
36964 PyObject
* obj0
= 0 ;
36965 PyObject
* obj1
= 0 ;
36966 PyObject
* obj2
= 0 ;
36967 PyObject
* obj3
= 0 ;
36968 char *kwnames
[] = {
36969 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36974 arg1
= (int)SWIG_As_int(obj0
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36978 arg2
= (int)SWIG_As_int(obj1
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36982 arg3
= (int)SWIG_As_int(obj2
);
36983 if (PyErr_Occurred()) SWIG_fail
;
36986 arg4
= (int)SWIG_As_int(obj3
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37003 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
;
37005 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37007 PyObject
* obj0
= 0 ;
37008 PyObject
* obj1
= 0 ;
37009 char *kwnames
[] = {
37010 (char *) "self",(char *) "cols", NULL
37013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37016 arg2
= (int)SWIG_As_int(obj1
);
37017 if (PyErr_Occurred()) SWIG_fail
;
37019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37020 (arg1
)->SetCols(arg2
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37025 Py_INCREF(Py_None
); resultobj
= Py_None
;
37032 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
;
37034 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37036 PyObject
* obj0
= 0 ;
37037 PyObject
* obj1
= 0 ;
37038 char *kwnames
[] = {
37039 (char *) "self",(char *) "rows", NULL
37042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37045 arg2
= (int)SWIG_As_int(obj1
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37049 (arg1
)->SetRows(arg2
);
37051 wxPyEndAllowThreads(__tstate
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37054 Py_INCREF(Py_None
); resultobj
= Py_None
;
37061 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37062 PyObject
*resultobj
;
37063 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37065 PyObject
* obj0
= 0 ;
37066 PyObject
* obj1
= 0 ;
37067 char *kwnames
[] = {
37068 (char *) "self",(char *) "gap", NULL
37071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37074 arg2
= (int)SWIG_As_int(obj1
);
37075 if (PyErr_Occurred()) SWIG_fail
;
37077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37078 (arg1
)->SetVGap(arg2
);
37080 wxPyEndAllowThreads(__tstate
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37083 Py_INCREF(Py_None
); resultobj
= Py_None
;
37090 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37091 PyObject
*resultobj
;
37092 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37094 PyObject
* obj0
= 0 ;
37095 PyObject
* obj1
= 0 ;
37096 char *kwnames
[] = {
37097 (char *) "self",(char *) "gap", NULL
37100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37103 arg2
= (int)SWIG_As_int(obj1
);
37104 if (PyErr_Occurred()) SWIG_fail
;
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 (arg1
)->SetHGap(arg2
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 Py_INCREF(Py_None
); resultobj
= Py_None
;
37119 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37120 PyObject
*resultobj
;
37121 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37123 PyObject
* obj0
= 0 ;
37124 char *kwnames
[] = {
37125 (char *) "self", NULL
37128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37133 result
= (int)(arg1
)->GetCols();
37135 wxPyEndAllowThreads(__tstate
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37138 resultobj
= SWIG_From_int((int)result
);
37145 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
;
37147 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37149 PyObject
* obj0
= 0 ;
37150 char *kwnames
[] = {
37151 (char *) "self", NULL
37154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= (int)(arg1
)->GetRows();
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37164 resultobj
= SWIG_From_int((int)result
);
37171 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37172 PyObject
*resultobj
;
37173 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37175 PyObject
* obj0
= 0 ;
37176 char *kwnames
[] = {
37177 (char *) "self", NULL
37180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37185 result
= (int)(arg1
)->GetVGap();
37187 wxPyEndAllowThreads(__tstate
);
37188 if (PyErr_Occurred()) SWIG_fail
;
37190 resultobj
= SWIG_From_int((int)result
);
37197 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
;
37199 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37201 PyObject
* obj0
= 0 ;
37202 char *kwnames
[] = {
37203 (char *) "self", NULL
37206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 result
= (int)(arg1
)->GetHGap();
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 resultobj
= SWIG_From_int((int)result
);
37223 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37226 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37228 return Py_BuildValue((char *)"");
37230 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37231 PyObject
*resultobj
;
37232 int arg1
= (int) 1 ;
37233 int arg2
= (int) 0 ;
37234 int arg3
= (int) 0 ;
37235 int arg4
= (int) 0 ;
37236 wxFlexGridSizer
*result
;
37237 PyObject
* obj0
= 0 ;
37238 PyObject
* obj1
= 0 ;
37239 PyObject
* obj2
= 0 ;
37240 PyObject
* obj3
= 0 ;
37241 char *kwnames
[] = {
37242 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37247 arg1
= (int)SWIG_As_int(obj0
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37251 arg2
= (int)SWIG_As_int(obj1
);
37252 if (PyErr_Occurred()) SWIG_fail
;
37255 arg3
= (int)SWIG_As_int(obj2
);
37256 if (PyErr_Occurred()) SWIG_fail
;
37259 arg4
= (int)SWIG_As_int(obj3
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37264 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37276 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
;
37278 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37280 int arg3
= (int) 0 ;
37281 PyObject
* obj0
= 0 ;
37282 PyObject
* obj1
= 0 ;
37283 PyObject
* obj2
= 0 ;
37284 char *kwnames
[] = {
37285 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37291 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37294 arg3
= (int)SWIG_As_int(obj2
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 (arg1
)->AddGrowableRow(arg2
,arg3
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 Py_INCREF(Py_None
); resultobj
= Py_None
;
37311 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37312 PyObject
*resultobj
;
37313 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37315 PyObject
* obj0
= 0 ;
37316 PyObject
* obj1
= 0 ;
37317 char *kwnames
[] = {
37318 (char *) "self",(char *) "idx", NULL
37321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37324 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37325 if (PyErr_Occurred()) SWIG_fail
;
37327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37328 (arg1
)->RemoveGrowableRow(arg2
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 Py_INCREF(Py_None
); resultobj
= Py_None
;
37340 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37344 int arg3
= (int) 0 ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 PyObject
* obj2
= 0 ;
37348 char *kwnames
[] = {
37349 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37355 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37358 arg3
= (int)SWIG_As_int(obj2
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37363 (arg1
)->AddGrowableCol(arg2
,arg3
);
37365 wxPyEndAllowThreads(__tstate
);
37366 if (PyErr_Occurred()) SWIG_fail
;
37368 Py_INCREF(Py_None
); resultobj
= Py_None
;
37375 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37376 PyObject
*resultobj
;
37377 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37379 PyObject
* obj0
= 0 ;
37380 PyObject
* obj1
= 0 ;
37381 char *kwnames
[] = {
37382 (char *) "self",(char *) "idx", NULL
37385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37388 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37389 if (PyErr_Occurred()) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 (arg1
)->RemoveGrowableCol(arg2
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 Py_INCREF(Py_None
); resultobj
= Py_None
;
37404 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 PyObject
* obj1
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self",(char *) "direction", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37417 arg2
= (int)SWIG_As_int(obj1
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37421 (arg1
)->SetFlexibleDirection(arg2
);
37423 wxPyEndAllowThreads(__tstate
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37426 Py_INCREF(Py_None
); resultobj
= Py_None
;
37433 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37434 PyObject
*resultobj
;
37435 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37437 PyObject
* obj0
= 0 ;
37438 char *kwnames
[] = {
37439 (char *) "self", NULL
37442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37447 result
= (int)(arg1
)->GetFlexibleDirection();
37449 wxPyEndAllowThreads(__tstate
);
37450 if (PyErr_Occurred()) SWIG_fail
;
37452 resultobj
= SWIG_From_int((int)result
);
37459 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37460 PyObject
*resultobj
;
37461 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37463 PyObject
* obj0
= 0 ;
37464 PyObject
* obj1
= 0 ;
37465 char *kwnames
[] = {
37466 (char *) "self",(char *) "mode", NULL
37469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37472 arg2
= (int)SWIG_As_int(obj1
);
37473 if (PyErr_Occurred()) SWIG_fail
;
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37476 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 Py_INCREF(Py_None
); resultobj
= Py_None
;
37488 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37489 PyObject
*resultobj
;
37490 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37492 PyObject
* obj0
= 0 ;
37493 char *kwnames
[] = {
37494 (char *) "self", NULL
37497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 resultobj
= SWIG_From_int((int)result
);
37514 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37517 wxArrayInt
*result
;
37518 PyObject
* obj0
= 0 ;
37519 char *kwnames
[] = {
37520 (char *) "self", NULL
37523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37529 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37530 result
= (wxArrayInt
*) &_result_ref
;
37533 wxPyEndAllowThreads(__tstate
);
37534 if (PyErr_Occurred()) SWIG_fail
;
37537 resultobj
= PyList_New(0);
37539 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37540 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37541 PyList_Append(resultobj
, val
);
37551 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
;
37553 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37554 wxArrayInt
*result
;
37555 PyObject
* obj0
= 0 ;
37556 char *kwnames
[] = {
37557 (char *) "self", NULL
37560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37567 result
= (wxArrayInt
*) &_result_ref
;
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37574 resultobj
= PyList_New(0);
37576 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37577 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37578 PyList_Append(resultobj
, val
);
37588 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37591 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37593 return Py_BuildValue((char *)"");
37595 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37596 PyObject
*resultobj
;
37597 int arg1
= (int) 0 ;
37598 int arg2
= (int) 0 ;
37599 wxGBPosition
*result
;
37600 PyObject
* obj0
= 0 ;
37601 PyObject
* obj1
= 0 ;
37602 char *kwnames
[] = {
37603 (char *) "row",(char *) "col", NULL
37606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37608 arg1
= (int)SWIG_As_int(obj0
);
37609 if (PyErr_Occurred()) SWIG_fail
;
37612 arg2
= (int)SWIG_As_int(obj1
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37617 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37619 wxPyEndAllowThreads(__tstate
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37629 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37630 PyObject
*resultobj
;
37631 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37633 PyObject
* obj0
= 0 ;
37634 char *kwnames
[] = {
37635 (char *) "self", NULL
37638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37648 resultobj
= SWIG_From_int((int)result
);
37655 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37656 PyObject
*resultobj
;
37657 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37659 PyObject
* obj0
= 0 ;
37660 char *kwnames
[] = {
37661 (char *) "self", NULL
37664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37669 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37671 wxPyEndAllowThreads(__tstate
);
37672 if (PyErr_Occurred()) SWIG_fail
;
37674 resultobj
= SWIG_From_int((int)result
);
37681 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37682 PyObject
*resultobj
;
37683 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37685 PyObject
* obj0
= 0 ;
37686 PyObject
* obj1
= 0 ;
37687 char *kwnames
[] = {
37688 (char *) "self",(char *) "row", NULL
37691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37694 arg2
= (int)SWIG_As_int(obj1
);
37695 if (PyErr_Occurred()) SWIG_fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 (arg1
)->SetRow(arg2
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 Py_INCREF(Py_None
); resultobj
= Py_None
;
37710 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37714 PyObject
* obj0
= 0 ;
37715 PyObject
* obj1
= 0 ;
37716 char *kwnames
[] = {
37717 (char *) "self",(char *) "col", NULL
37720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37723 arg2
= (int)SWIG_As_int(obj1
);
37724 if (PyErr_Occurred()) SWIG_fail
;
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 (arg1
)->SetCol(arg2
);
37729 wxPyEndAllowThreads(__tstate
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37732 Py_INCREF(Py_None
); resultobj
= Py_None
;
37739 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37740 PyObject
*resultobj
;
37741 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37742 wxGBPosition
*arg2
= 0 ;
37744 wxGBPosition temp2
;
37745 PyObject
* obj0
= 0 ;
37746 PyObject
* obj1
= 0 ;
37747 char *kwnames
[] = {
37748 (char *) "self",(char *) "other", NULL
37751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37756 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37774 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37775 PyObject
*resultobj
;
37776 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37777 wxGBPosition
*arg2
= 0 ;
37779 wxGBPosition temp2
;
37780 PyObject
* obj0
= 0 ;
37781 PyObject
* obj1
= 0 ;
37782 char *kwnames
[] = {
37783 (char *) "self",(char *) "other", NULL
37786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37791 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37795 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37797 wxPyEndAllowThreads(__tstate
);
37798 if (PyErr_Occurred()) SWIG_fail
;
37801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37809 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37810 PyObject
*resultobj
;
37811 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37812 int arg2
= (int) 0 ;
37813 int arg3
= (int) 0 ;
37814 PyObject
* obj0
= 0 ;
37815 PyObject
* obj1
= 0 ;
37816 PyObject
* obj2
= 0 ;
37817 char *kwnames
[] = {
37818 (char *) "self",(char *) "row",(char *) "col", NULL
37821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37825 arg2
= (int)SWIG_As_int(obj1
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37829 arg3
= (int)SWIG_As_int(obj2
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37834 wxGBPosition_Set(arg1
,arg2
,arg3
);
37836 wxPyEndAllowThreads(__tstate
);
37837 if (PyErr_Occurred()) SWIG_fail
;
37839 Py_INCREF(Py_None
); resultobj
= Py_None
;
37846 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
;
37848 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37850 PyObject
* obj0
= 0 ;
37851 char *kwnames
[] = {
37852 (char *) "self", NULL
37855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37865 resultobj
= result
;
37872 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37875 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37877 return Py_BuildValue((char *)"");
37879 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37880 PyObject
*resultobj
;
37881 int arg1
= (int) 1 ;
37882 int arg2
= (int) 1 ;
37884 PyObject
* obj0
= 0 ;
37885 PyObject
* obj1
= 0 ;
37886 char *kwnames
[] = {
37887 (char *) "rowspan",(char *) "colspan", NULL
37890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37892 arg1
= (int)SWIG_As_int(obj0
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37896 arg2
= (int)SWIG_As_int(obj1
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37913 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
;
37915 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37917 PyObject
* obj0
= 0 ;
37918 char *kwnames
[] = {
37919 (char *) "self", NULL
37922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37929 wxPyEndAllowThreads(__tstate
);
37930 if (PyErr_Occurred()) SWIG_fail
;
37932 resultobj
= SWIG_From_int((int)result
);
37939 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37940 PyObject
*resultobj
;
37941 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37943 PyObject
* obj0
= 0 ;
37944 char *kwnames
[] = {
37945 (char *) "self", NULL
37948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37958 resultobj
= SWIG_From_int((int)result
);
37965 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
;
37967 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37969 PyObject
* obj0
= 0 ;
37970 PyObject
* obj1
= 0 ;
37971 char *kwnames
[] = {
37972 (char *) "self",(char *) "rowspan", NULL
37975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37978 arg2
= (int)SWIG_As_int(obj1
);
37979 if (PyErr_Occurred()) SWIG_fail
;
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->SetRowspan(arg2
);
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37987 Py_INCREF(Py_None
); resultobj
= Py_None
;
37994 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37995 PyObject
*resultobj
;
37996 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37998 PyObject
* obj0
= 0 ;
37999 PyObject
* obj1
= 0 ;
38000 char *kwnames
[] = {
38001 (char *) "self",(char *) "colspan", NULL
38004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38007 arg2
= (int)SWIG_As_int(obj1
);
38008 if (PyErr_Occurred()) SWIG_fail
;
38010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38011 (arg1
)->SetColspan(arg2
);
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38016 Py_INCREF(Py_None
); resultobj
= Py_None
;
38023 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38024 PyObject
*resultobj
;
38025 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38026 wxGBSpan
*arg2
= 0 ;
38029 PyObject
* obj0
= 0 ;
38030 PyObject
* obj1
= 0 ;
38031 char *kwnames
[] = {
38032 (char *) "self",(char *) "other", NULL
38035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38040 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38058 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38059 PyObject
*resultobj
;
38060 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38061 wxGBSpan
*arg2
= 0 ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38066 char *kwnames
[] = {
38067 (char *) "self",(char *) "other", NULL
38070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38075 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38079 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38093 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38094 PyObject
*resultobj
;
38095 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38096 int arg2
= (int) 1 ;
38097 int arg3
= (int) 1 ;
38098 PyObject
* obj0
= 0 ;
38099 PyObject
* obj1
= 0 ;
38100 PyObject
* obj2
= 0 ;
38101 char *kwnames
[] = {
38102 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38109 arg2
= (int)SWIG_As_int(obj1
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38113 arg3
= (int)SWIG_As_int(obj2
);
38114 if (PyErr_Occurred()) SWIG_fail
;
38117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38118 wxGBSpan_Set(arg1
,arg2
,arg3
);
38120 wxPyEndAllowThreads(__tstate
);
38121 if (PyErr_Occurred()) SWIG_fail
;
38123 Py_INCREF(Py_None
); resultobj
= Py_None
;
38130 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
;
38132 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38134 PyObject
* obj0
= 0 ;
38135 char *kwnames
[] = {
38136 (char *) "self", NULL
38139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38144 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38146 wxPyEndAllowThreads(__tstate
);
38147 if (PyErr_Occurred()) SWIG_fail
;
38149 resultobj
= result
;
38156 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38159 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38161 return Py_BuildValue((char *)"");
38163 static int _wrap_DefaultSpan_set(PyObject
*) {
38164 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38169 static PyObject
*_wrap_DefaultSpan_get() {
38172 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38177 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38178 PyObject
*resultobj
;
38179 wxGBSizerItem
*result
;
38180 char *kwnames
[] = {
38184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38199 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38200 PyObject
*resultobj
;
38201 wxWindow
*arg1
= (wxWindow
*) 0 ;
38202 wxGBPosition
*arg2
= 0 ;
38203 wxGBSpan
*arg3
= 0 ;
38206 PyObject
*arg6
= (PyObject
*) NULL
;
38207 wxGBSizerItem
*result
;
38208 wxGBPosition temp2
;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 PyObject
* obj2
= 0 ;
38213 PyObject
* obj3
= 0 ;
38214 PyObject
* obj4
= 0 ;
38215 PyObject
* obj5
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38225 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38229 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38231 arg4
= (int)SWIG_As_int(obj3
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38233 arg5
= (int)SWIG_As_int(obj4
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38240 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38242 wxPyEndAllowThreads(__tstate
);
38243 if (PyErr_Occurred()) SWIG_fail
;
38245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38252 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38253 PyObject
*resultobj
;
38254 wxSizer
*arg1
= (wxSizer
*) 0 ;
38255 wxGBPosition
*arg2
= 0 ;
38256 wxGBSpan
*arg3
= 0 ;
38259 PyObject
*arg6
= (PyObject
*) NULL
;
38260 wxGBSizerItem
*result
;
38261 wxGBPosition temp2
;
38263 PyObject
* obj0
= 0 ;
38264 PyObject
* obj1
= 0 ;
38265 PyObject
* obj2
= 0 ;
38266 PyObject
* obj3
= 0 ;
38267 PyObject
* obj4
= 0 ;
38268 PyObject
* obj5
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38278 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38282 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38284 arg4
= (int)SWIG_As_int(obj3
);
38285 if (PyErr_Occurred()) SWIG_fail
;
38286 arg5
= (int)SWIG_As_int(obj4
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38293 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38295 wxPyEndAllowThreads(__tstate
);
38296 if (PyErr_Occurred()) SWIG_fail
;
38298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38305 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
;
38309 wxGBPosition
*arg3
= 0 ;
38310 wxGBSpan
*arg4
= 0 ;
38313 PyObject
*arg7
= (PyObject
*) NULL
;
38314 wxGBSizerItem
*result
;
38315 wxGBPosition temp3
;
38317 PyObject
* obj0
= 0 ;
38318 PyObject
* obj1
= 0 ;
38319 PyObject
* obj2
= 0 ;
38320 PyObject
* obj3
= 0 ;
38321 PyObject
* obj4
= 0 ;
38322 PyObject
* obj5
= 0 ;
38323 PyObject
* obj6
= 0 ;
38324 char *kwnames
[] = {
38325 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38329 arg1
= (int)SWIG_As_int(obj0
);
38330 if (PyErr_Occurred()) SWIG_fail
;
38331 arg2
= (int)SWIG_As_int(obj1
);
38332 if (PyErr_Occurred()) SWIG_fail
;
38335 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38339 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38341 arg5
= (int)SWIG_As_int(obj4
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38343 arg6
= (int)SWIG_As_int(obj5
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38362 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38363 PyObject
*resultobj
;
38364 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38365 wxGBPosition result
;
38366 PyObject
* obj0
= 0 ;
38367 char *kwnames
[] = {
38368 (char *) "self", NULL
38371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38376 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38378 wxPyEndAllowThreads(__tstate
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38382 wxGBPosition
* resultptr
;
38383 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38392 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38393 PyObject
*resultobj
;
38394 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38396 PyObject
* obj0
= 0 ;
38397 char *kwnames
[] = {
38398 (char *) "self", NULL
38401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38406 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38412 wxGBSpan
* resultptr
;
38413 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38422 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38423 PyObject
*resultobj
;
38424 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38425 wxGBPosition
*arg2
= 0 ;
38427 wxGBPosition temp2
;
38428 PyObject
* obj0
= 0 ;
38429 PyObject
* obj1
= 0 ;
38430 char *kwnames
[] = {
38431 (char *) "self",(char *) "pos", NULL
38434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38439 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38445 wxPyEndAllowThreads(__tstate
);
38446 if (PyErr_Occurred()) SWIG_fail
;
38449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38457 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38458 PyObject
*resultobj
;
38459 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38460 wxGBSpan
*arg2
= 0 ;
38463 PyObject
* obj0
= 0 ;
38464 PyObject
* obj1
= 0 ;
38465 char *kwnames
[] = {
38466 (char *) "self",(char *) "span", NULL
38469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38474 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38480 wxPyEndAllowThreads(__tstate
);
38481 if (PyErr_Occurred()) SWIG_fail
;
38484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38492 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38493 PyObject
*resultobj
;
38494 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38495 wxGBSizerItem
*arg2
= 0 ;
38497 PyObject
* obj0
= 0 ;
38498 PyObject
* obj1
= 0 ;
38499 char *kwnames
[] = {
38500 (char *) "self",(char *) "other", NULL
38503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38509 if (arg2
== NULL
) {
38510 PyErr_SetString(PyExc_TypeError
,"null reference");
38514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38517 wxPyEndAllowThreads(__tstate
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38529 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38530 PyObject
*resultobj
;
38531 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38532 wxGBPosition
*arg2
= 0 ;
38533 wxGBSpan
*arg3
= 0 ;
38535 wxGBPosition temp2
;
38537 PyObject
* obj0
= 0 ;
38538 PyObject
* obj1
= 0 ;
38539 PyObject
* obj2
= 0 ;
38540 char *kwnames
[] = {
38541 (char *) "self",(char *) "pos",(char *) "span", NULL
38544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38549 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38553 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38559 wxPyEndAllowThreads(__tstate
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38571 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38572 PyObject
*resultobj
;
38573 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38574 wxGBPosition result
;
38575 PyObject
* obj0
= 0 ;
38576 char *kwnames
[] = {
38577 (char *) "self", NULL
38580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38585 result
= wxGBSizerItem_GetEndPos(arg1
);
38587 wxPyEndAllowThreads(__tstate
);
38588 if (PyErr_Occurred()) SWIG_fail
;
38591 wxGBPosition
* resultptr
;
38592 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38601 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38602 PyObject
*resultobj
;
38603 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38604 wxGridBagSizer
*result
;
38605 PyObject
* obj0
= 0 ;
38606 char *kwnames
[] = {
38607 (char *) "self", NULL
38610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38615 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38617 wxPyEndAllowThreads(__tstate
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38627 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38628 PyObject
*resultobj
;
38629 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38630 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38631 PyObject
* obj0
= 0 ;
38632 PyObject
* obj1
= 0 ;
38633 char *kwnames
[] = {
38634 (char *) "self",(char *) "sizer", NULL
38637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38644 (arg1
)->SetGBSizer(arg2
);
38646 wxPyEndAllowThreads(__tstate
);
38647 if (PyErr_Occurred()) SWIG_fail
;
38649 Py_INCREF(Py_None
); resultobj
= Py_None
;
38656 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38659 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38661 return Py_BuildValue((char *)"");
38663 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38664 PyObject
*resultobj
;
38665 int arg1
= (int) 0 ;
38666 int arg2
= (int) 0 ;
38667 wxGridBagSizer
*result
;
38668 PyObject
* obj0
= 0 ;
38669 PyObject
* obj1
= 0 ;
38670 char *kwnames
[] = {
38671 (char *) "vgap",(char *) "hgap", NULL
38674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38676 arg1
= (int)SWIG_As_int(obj0
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38680 arg2
= (int)SWIG_As_int(obj1
);
38681 if (PyErr_Occurred()) SWIG_fail
;
38684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38685 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38697 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38698 PyObject
*resultobj
;
38699 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38700 PyObject
*arg2
= (PyObject
*) 0 ;
38701 wxGBPosition
*arg3
= 0 ;
38702 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38703 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38704 int arg5
= (int) 0 ;
38705 int arg6
= (int) 0 ;
38706 PyObject
*arg7
= (PyObject
*) NULL
;
38707 wxGBSizerItem
*result
;
38708 wxGBPosition temp3
;
38710 PyObject
* obj0
= 0 ;
38711 PyObject
* obj1
= 0 ;
38712 PyObject
* obj2
= 0 ;
38713 PyObject
* obj3
= 0 ;
38714 PyObject
* obj4
= 0 ;
38715 PyObject
* obj5
= 0 ;
38716 PyObject
* obj6
= 0 ;
38717 char *kwnames
[] = {
38718 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38727 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38732 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38736 arg5
= (int)SWIG_As_int(obj4
);
38737 if (PyErr_Occurred()) SWIG_fail
;
38740 arg6
= (int)SWIG_As_int(obj5
);
38741 if (PyErr_Occurred()) SWIG_fail
;
38747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38748 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38750 wxPyEndAllowThreads(__tstate
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38760 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38761 PyObject
*resultobj
;
38762 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38763 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38764 wxGBSizerItem
*result
;
38765 PyObject
* obj0
= 0 ;
38766 PyObject
* obj1
= 0 ;
38767 char *kwnames
[] = {
38768 (char *) "self",(char *) "item", NULL
38771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38778 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38790 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38791 PyObject
*resultobj
;
38792 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38796 PyObject
* obj0
= 0 ;
38797 PyObject
* obj1
= 0 ;
38798 PyObject
* obj2
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self",(char *) "row",(char *) "col", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38806 arg2
= (int)SWIG_As_int(obj1
);
38807 if (PyErr_Occurred()) SWIG_fail
;
38808 arg3
= (int)SWIG_As_int(obj2
);
38809 if (PyErr_Occurred()) SWIG_fail
;
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38818 wxSize
* resultptr
;
38819 resultptr
= new wxSize((wxSize
&) result
);
38820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38828 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38829 PyObject
*resultobj
;
38830 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38832 PyObject
* obj0
= 0 ;
38833 char *kwnames
[] = {
38834 (char *) "self", NULL
38837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38842 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38844 wxPyEndAllowThreads(__tstate
);
38845 if (PyErr_Occurred()) SWIG_fail
;
38848 wxSize
* resultptr
;
38849 resultptr
= new wxSize((wxSize
&) result
);
38850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38858 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38859 PyObject
*resultobj
;
38860 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38863 PyObject
* obj0
= 0 ;
38864 PyObject
* obj1
= 0 ;
38865 char *kwnames
[] = {
38866 (char *) "self",(char *) "sz", NULL
38869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38878 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38883 Py_INCREF(Py_None
); resultobj
= Py_None
;
38890 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38891 PyObject
*resultobj
;
38892 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38893 wxWindow
*arg2
= (wxWindow
*) 0 ;
38894 wxGBPosition result
;
38895 PyObject
* obj0
= 0 ;
38896 PyObject
* obj1
= 0 ;
38898 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38905 result
= (arg1
)->GetItemPosition(arg2
);
38907 wxPyEndAllowThreads(__tstate
);
38908 if (PyErr_Occurred()) SWIG_fail
;
38911 wxGBPosition
* resultptr
;
38912 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38921 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38922 PyObject
*resultobj
;
38923 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38924 wxSizer
*arg2
= (wxSizer
*) 0 ;
38925 wxGBPosition result
;
38926 PyObject
* obj0
= 0 ;
38927 PyObject
* obj1
= 0 ;
38929 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38936 result
= (arg1
)->GetItemPosition(arg2
);
38938 wxPyEndAllowThreads(__tstate
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38942 wxGBPosition
* resultptr
;
38943 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38952 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38953 PyObject
*resultobj
;
38954 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38956 wxGBPosition result
;
38957 PyObject
* obj0
= 0 ;
38958 PyObject
* obj1
= 0 ;
38960 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38963 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38964 if (PyErr_Occurred()) SWIG_fail
;
38966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38967 result
= (arg1
)->GetItemPosition(arg2
);
38969 wxPyEndAllowThreads(__tstate
);
38970 if (PyErr_Occurred()) SWIG_fail
;
38973 wxGBPosition
* resultptr
;
38974 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38983 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38988 argc
= PyObject_Length(args
);
38989 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38990 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38996 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39006 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39014 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39022 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39032 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39040 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39056 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39058 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39063 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39068 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39069 PyObject
*resultobj
;
39070 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39071 wxWindow
*arg2
= (wxWindow
*) 0 ;
39072 wxGBPosition
*arg3
= 0 ;
39074 wxGBPosition temp3
;
39075 PyObject
* obj0
= 0 ;
39076 PyObject
* obj1
= 0 ;
39077 PyObject
* obj2
= 0 ;
39079 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39086 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39090 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39092 wxPyEndAllowThreads(__tstate
);
39093 if (PyErr_Occurred()) SWIG_fail
;
39096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39104 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39105 PyObject
*resultobj
;
39106 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39107 wxSizer
*arg2
= (wxSizer
*) 0 ;
39108 wxGBPosition
*arg3
= 0 ;
39110 wxGBPosition temp3
;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 PyObject
* obj2
= 0 ;
39115 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39122 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39126 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39140 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39141 PyObject
*resultobj
;
39142 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39144 wxGBPosition
*arg3
= 0 ;
39146 wxGBPosition temp3
;
39147 PyObject
* obj0
= 0 ;
39148 PyObject
* obj1
= 0 ;
39149 PyObject
* obj2
= 0 ;
39151 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39154 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39158 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39162 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39164 wxPyEndAllowThreads(__tstate
);
39165 if (PyErr_Occurred()) SWIG_fail
;
39168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39176 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39181 argc
= PyObject_Length(args
);
39182 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39183 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39189 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39199 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39208 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39211 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39230 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39239 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39242 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39259 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39262 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39265 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39271 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39276 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39277 PyObject
*resultobj
;
39278 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39279 wxWindow
*arg2
= (wxWindow
*) 0 ;
39281 PyObject
* obj0
= 0 ;
39282 PyObject
* obj1
= 0 ;
39284 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39291 result
= (arg1
)->GetItemSpan(arg2
);
39293 wxPyEndAllowThreads(__tstate
);
39294 if (PyErr_Occurred()) SWIG_fail
;
39297 wxGBSpan
* resultptr
;
39298 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39307 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39308 PyObject
*resultobj
;
39309 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39310 wxSizer
*arg2
= (wxSizer
*) 0 ;
39312 PyObject
* obj0
= 0 ;
39313 PyObject
* obj1
= 0 ;
39315 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39322 result
= (arg1
)->GetItemSpan(arg2
);
39324 wxPyEndAllowThreads(__tstate
);
39325 if (PyErr_Occurred()) SWIG_fail
;
39328 wxGBSpan
* resultptr
;
39329 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39338 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39339 PyObject
*resultobj
;
39340 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39343 PyObject
* obj0
= 0 ;
39344 PyObject
* obj1
= 0 ;
39346 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39349 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39350 if (PyErr_Occurred()) SWIG_fail
;
39352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39353 result
= (arg1
)->GetItemSpan(arg2
);
39355 wxPyEndAllowThreads(__tstate
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39359 wxGBSpan
* resultptr
;
39360 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39369 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39374 argc
= PyObject_Length(args
);
39375 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39376 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39382 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39392 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39400 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39408 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39418 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39426 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39434 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39442 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39444 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39449 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39454 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39455 PyObject
*resultobj
;
39456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39457 wxWindow
*arg2
= (wxWindow
*) 0 ;
39458 wxGBSpan
*arg3
= 0 ;
39461 PyObject
* obj0
= 0 ;
39462 PyObject
* obj1
= 0 ;
39463 PyObject
* obj2
= 0 ;
39465 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39472 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39476 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39478 wxPyEndAllowThreads(__tstate
);
39479 if (PyErr_Occurred()) SWIG_fail
;
39482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39490 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39491 PyObject
*resultobj
;
39492 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39493 wxSizer
*arg2
= (wxSizer
*) 0 ;
39494 wxGBSpan
*arg3
= 0 ;
39497 PyObject
* obj0
= 0 ;
39498 PyObject
* obj1
= 0 ;
39499 PyObject
* obj2
= 0 ;
39501 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39508 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39514 wxPyEndAllowThreads(__tstate
);
39515 if (PyErr_Occurred()) SWIG_fail
;
39518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39526 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39527 PyObject
*resultobj
;
39528 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39530 wxGBSpan
*arg3
= 0 ;
39533 PyObject
* obj0
= 0 ;
39534 PyObject
* obj1
= 0 ;
39535 PyObject
* obj2
= 0 ;
39537 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39540 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39544 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39548 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39550 wxPyEndAllowThreads(__tstate
);
39551 if (PyErr_Occurred()) SWIG_fail
;
39554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39562 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39567 argc
= PyObject_Length(args
);
39568 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39569 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39575 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39585 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39594 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39597 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39606 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39616 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39625 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39628 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39637 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39645 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39648 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39651 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39657 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39662 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39663 PyObject
*resultobj
;
39664 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39665 wxWindow
*arg2
= (wxWindow
*) 0 ;
39666 wxGBSizerItem
*result
;
39667 PyObject
* obj0
= 0 ;
39668 PyObject
* obj1
= 0 ;
39670 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39679 wxPyEndAllowThreads(__tstate
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39689 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39690 PyObject
*resultobj
;
39691 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39692 wxSizer
*arg2
= (wxSizer
*) 0 ;
39693 wxGBSizerItem
*result
;
39694 PyObject
* obj0
= 0 ;
39695 PyObject
* obj1
= 0 ;
39697 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39716 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39721 argc
= PyObject_Length(args
);
39722 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39723 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39729 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39739 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39747 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39755 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39765 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39773 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39778 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39783 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39784 PyObject
*resultobj
;
39785 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39786 wxGBPosition
*arg2
= 0 ;
39787 wxGBSizerItem
*result
;
39788 wxGBPosition temp2
;
39789 PyObject
* obj0
= 0 ;
39790 PyObject
* obj1
= 0 ;
39791 char *kwnames
[] = {
39792 (char *) "self",(char *) "pos", NULL
39795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39800 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39816 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39817 PyObject
*resultobj
;
39818 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39819 wxPoint
*arg2
= 0 ;
39820 wxGBSizerItem
*result
;
39822 PyObject
* obj0
= 0 ;
39823 PyObject
* obj1
= 0 ;
39824 char *kwnames
[] = {
39825 (char *) "self",(char *) "pt", NULL
39828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39839 wxPyEndAllowThreads(__tstate
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39849 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39850 PyObject
*resultobj
;
39851 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39852 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39853 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39855 PyObject
* obj0
= 0 ;
39856 PyObject
* obj1
= 0 ;
39857 PyObject
* obj2
= 0 ;
39858 char *kwnames
[] = {
39859 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39873 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39887 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39888 PyObject
*resultobj
;
39889 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39890 wxGBPosition
*arg2
= 0 ;
39891 wxGBSpan
*arg3
= 0 ;
39892 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39894 wxGBPosition temp2
;
39896 PyObject
* obj0
= 0 ;
39897 PyObject
* obj1
= 0 ;
39898 PyObject
* obj2
= 0 ;
39899 PyObject
* obj3
= 0 ;
39900 char *kwnames
[] = {
39901 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39909 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39913 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39916 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39921 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39923 wxPyEndAllowThreads(__tstate
);
39924 if (PyErr_Occurred()) SWIG_fail
;
39927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39935 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39938 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39940 return Py_BuildValue((char *)"");
39942 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39943 PyObject
*resultobj
;
39944 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39946 wxWindow
*arg3
= (wxWindow
*) 0 ;
39948 int arg5
= (int) 0 ;
39949 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39950 PyObject
* obj0
= 0 ;
39951 PyObject
* obj1
= 0 ;
39952 PyObject
* obj2
= 0 ;
39953 PyObject
* obj3
= 0 ;
39954 PyObject
* obj4
= 0 ;
39955 PyObject
* obj5
= 0 ;
39956 char *kwnames
[] = {
39957 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39963 arg2
= (int)SWIG_As_int(obj1
);
39964 if (PyErr_Occurred()) SWIG_fail
;
39965 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39967 arg4
= (int)SWIG_As_int(obj3
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 arg5
= (int)SWIG_As_int(obj4
);
39971 if (PyErr_Occurred()) SWIG_fail
;
39974 arg6
= (int)SWIG_As_int(obj5
);
39975 if (PyErr_Occurred()) SWIG_fail
;
39978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39979 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39981 wxPyEndAllowThreads(__tstate
);
39982 if (PyErr_Occurred()) SWIG_fail
;
39984 Py_INCREF(Py_None
); resultobj
= Py_None
;
39991 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39992 PyObject
*resultobj
;
39993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39994 wxWindow
*arg2
= (wxWindow
*) 0 ;
39995 int arg3
= (int) 0 ;
39996 PyObject
* obj0
= 0 ;
39997 PyObject
* obj1
= 0 ;
39998 PyObject
* obj2
= 0 ;
39999 char *kwnames
[] = {
40000 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40009 arg3
= (int)SWIG_As_int(obj2
);
40010 if (PyErr_Occurred()) SWIG_fail
;
40013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40014 (arg1
)->LeftOf(arg2
,arg3
);
40016 wxPyEndAllowThreads(__tstate
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40019 Py_INCREF(Py_None
); resultobj
= Py_None
;
40026 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40027 PyObject
*resultobj
;
40028 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40029 wxWindow
*arg2
= (wxWindow
*) 0 ;
40030 int arg3
= (int) 0 ;
40031 PyObject
* obj0
= 0 ;
40032 PyObject
* obj1
= 0 ;
40033 PyObject
* obj2
= 0 ;
40034 char *kwnames
[] = {
40035 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40044 arg3
= (int)SWIG_As_int(obj2
);
40045 if (PyErr_Occurred()) SWIG_fail
;
40048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40049 (arg1
)->RightOf(arg2
,arg3
);
40051 wxPyEndAllowThreads(__tstate
);
40052 if (PyErr_Occurred()) SWIG_fail
;
40054 Py_INCREF(Py_None
); resultobj
= Py_None
;
40061 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
;
40063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40064 wxWindow
*arg2
= (wxWindow
*) 0 ;
40065 int arg3
= (int) 0 ;
40066 PyObject
* obj0
= 0 ;
40067 PyObject
* obj1
= 0 ;
40068 PyObject
* obj2
= 0 ;
40069 char *kwnames
[] = {
40070 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40079 arg3
= (int)SWIG_As_int(obj2
);
40080 if (PyErr_Occurred()) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 (arg1
)->Above(arg2
,arg3
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 Py_INCREF(Py_None
); resultobj
= Py_None
;
40096 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40099 wxWindow
*arg2
= (wxWindow
*) 0 ;
40100 int arg3
= (int) 0 ;
40101 PyObject
* obj0
= 0 ;
40102 PyObject
* obj1
= 0 ;
40103 PyObject
* obj2
= 0 ;
40104 char *kwnames
[] = {
40105 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40114 arg3
= (int)SWIG_As_int(obj2
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40119 (arg1
)->Below(arg2
,arg3
);
40121 wxPyEndAllowThreads(__tstate
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40124 Py_INCREF(Py_None
); resultobj
= Py_None
;
40131 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40132 PyObject
*resultobj
;
40133 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40134 wxWindow
*arg2
= (wxWindow
*) 0 ;
40136 int arg4
= (int) 0 ;
40137 PyObject
* obj0
= 0 ;
40138 PyObject
* obj1
= 0 ;
40139 PyObject
* obj2
= 0 ;
40140 PyObject
* obj3
= 0 ;
40141 char *kwnames
[] = {
40142 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40150 arg3
= (int)SWIG_As_int(obj2
);
40151 if (PyErr_Occurred()) SWIG_fail
;
40153 arg4
= (int)SWIG_As_int(obj3
);
40154 if (PyErr_Occurred()) SWIG_fail
;
40157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40158 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 Py_INCREF(Py_None
); resultobj
= Py_None
;
40170 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40171 PyObject
*resultobj
;
40172 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40173 wxWindow
*arg2
= (wxWindow
*) 0 ;
40176 PyObject
* obj0
= 0 ;
40177 PyObject
* obj1
= 0 ;
40178 PyObject
* obj2
= 0 ;
40179 PyObject
* obj3
= 0 ;
40180 char *kwnames
[] = {
40181 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40189 arg3
= (int)SWIG_As_int(obj2
);
40190 if (PyErr_Occurred()) SWIG_fail
;
40191 arg4
= (int)SWIG_As_int(obj3
);
40192 if (PyErr_Occurred()) SWIG_fail
;
40194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40195 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40200 Py_INCREF(Py_None
); resultobj
= Py_None
;
40207 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40208 PyObject
*resultobj
;
40209 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40211 PyObject
* obj0
= 0 ;
40212 PyObject
* obj1
= 0 ;
40213 char *kwnames
[] = {
40214 (char *) "self",(char *) "val", NULL
40217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40220 arg2
= (int)SWIG_As_int(obj1
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40224 (arg1
)->Absolute(arg2
);
40226 wxPyEndAllowThreads(__tstate
);
40227 if (PyErr_Occurred()) SWIG_fail
;
40229 Py_INCREF(Py_None
); resultobj
= Py_None
;
40236 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40237 PyObject
*resultobj
;
40238 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40239 PyObject
* obj0
= 0 ;
40240 char *kwnames
[] = {
40241 (char *) "self", NULL
40244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40249 (arg1
)->Unconstrained();
40251 wxPyEndAllowThreads(__tstate
);
40252 if (PyErr_Occurred()) SWIG_fail
;
40254 Py_INCREF(Py_None
); resultobj
= Py_None
;
40261 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40262 PyObject
*resultobj
;
40263 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40264 PyObject
* obj0
= 0 ;
40265 char *kwnames
[] = {
40266 (char *) "self", NULL
40269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40276 wxPyEndAllowThreads(__tstate
);
40277 if (PyErr_Occurred()) SWIG_fail
;
40279 Py_INCREF(Py_None
); resultobj
= Py_None
;
40286 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
;
40288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40290 PyObject
* obj0
= 0 ;
40291 char *kwnames
[] = {
40292 (char *) "self", NULL
40295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40300 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40306 resultobj
= wxPyMake_wxObject(result
, 0);
40314 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40315 PyObject
*resultobj
;
40316 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40318 PyObject
* obj0
= 0 ;
40319 char *kwnames
[] = {
40320 (char *) "self", NULL
40323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40330 wxPyEndAllowThreads(__tstate
);
40331 if (PyErr_Occurred()) SWIG_fail
;
40333 resultobj
= SWIG_From_int((int)result
);
40340 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40341 PyObject
*resultobj
;
40342 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40344 PyObject
* obj0
= 0 ;
40345 PyObject
* obj1
= 0 ;
40346 char *kwnames
[] = {
40347 (char *) "self",(char *) "which", NULL
40350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40353 arg2
= (int)SWIG_As_int(obj1
);
40354 if (PyErr_Occurred()) SWIG_fail
;
40356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40357 (arg1
)->SetEdge((wxEdge
)arg2
);
40359 wxPyEndAllowThreads(__tstate
);
40360 if (PyErr_Occurred()) SWIG_fail
;
40362 Py_INCREF(Py_None
); resultobj
= Py_None
;
40369 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40370 PyObject
*resultobj
;
40371 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40373 PyObject
* obj0
= 0 ;
40374 PyObject
* obj1
= 0 ;
40375 char *kwnames
[] = {
40376 (char *) "self",(char *) "v", NULL
40379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40382 arg2
= (int)SWIG_As_int(obj1
);
40383 if (PyErr_Occurred()) SWIG_fail
;
40385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40386 (arg1
)->SetValue(arg2
);
40388 wxPyEndAllowThreads(__tstate
);
40389 if (PyErr_Occurred()) SWIG_fail
;
40391 Py_INCREF(Py_None
); resultobj
= Py_None
;
40398 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40399 PyObject
*resultobj
;
40400 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40402 PyObject
* obj0
= 0 ;
40403 char *kwnames
[] = {
40404 (char *) "self", NULL
40407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40412 result
= (int)(arg1
)->GetMargin();
40414 wxPyEndAllowThreads(__tstate
);
40415 if (PyErr_Occurred()) SWIG_fail
;
40417 resultobj
= SWIG_From_int((int)result
);
40424 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40425 PyObject
*resultobj
;
40426 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40428 PyObject
* obj0
= 0 ;
40429 PyObject
* obj1
= 0 ;
40430 char *kwnames
[] = {
40431 (char *) "self",(char *) "m", NULL
40434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40437 arg2
= (int)SWIG_As_int(obj1
);
40438 if (PyErr_Occurred()) SWIG_fail
;
40440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40441 (arg1
)->SetMargin(arg2
);
40443 wxPyEndAllowThreads(__tstate
);
40444 if (PyErr_Occurred()) SWIG_fail
;
40446 Py_INCREF(Py_None
); resultobj
= Py_None
;
40453 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40454 PyObject
*resultobj
;
40455 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40457 PyObject
* obj0
= 0 ;
40458 char *kwnames
[] = {
40459 (char *) "self", NULL
40462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40467 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40469 wxPyEndAllowThreads(__tstate
);
40470 if (PyErr_Occurred()) SWIG_fail
;
40472 resultobj
= SWIG_From_int((int)result
);
40479 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40480 PyObject
*resultobj
;
40481 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40483 PyObject
* obj0
= 0 ;
40484 char *kwnames
[] = {
40485 (char *) "self", NULL
40488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40493 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40495 wxPyEndAllowThreads(__tstate
);
40496 if (PyErr_Occurred()) SWIG_fail
;
40498 resultobj
= SWIG_From_int((int)result
);
40505 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40506 PyObject
*resultobj
;
40507 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40509 PyObject
* obj0
= 0 ;
40510 char *kwnames
[] = {
40511 (char *) "self", NULL
40514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40519 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40521 wxPyEndAllowThreads(__tstate
);
40522 if (PyErr_Occurred()) SWIG_fail
;
40524 resultobj
= SWIG_From_int((int)result
);
40531 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40532 PyObject
*resultobj
;
40533 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40535 PyObject
* obj0
= 0 ;
40536 char *kwnames
[] = {
40537 (char *) "self", NULL
40540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40545 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40547 wxPyEndAllowThreads(__tstate
);
40548 if (PyErr_Occurred()) SWIG_fail
;
40551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40559 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40560 PyObject
*resultobj
;
40561 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40563 PyObject
* obj0
= 0 ;
40564 PyObject
* obj1
= 0 ;
40565 char *kwnames
[] = {
40566 (char *) "self",(char *) "d", NULL
40569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40572 arg2
= (bool)SWIG_As_bool(obj1
);
40573 if (PyErr_Occurred()) SWIG_fail
;
40575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40576 (arg1
)->SetDone(arg2
);
40578 wxPyEndAllowThreads(__tstate
);
40579 if (PyErr_Occurred()) SWIG_fail
;
40581 Py_INCREF(Py_None
); resultobj
= Py_None
;
40588 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40589 PyObject
*resultobj
;
40590 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40592 PyObject
* obj0
= 0 ;
40593 char *kwnames
[] = {
40594 (char *) "self", NULL
40597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40602 result
= (int)(arg1
)->GetRelationship();
40604 wxPyEndAllowThreads(__tstate
);
40605 if (PyErr_Occurred()) SWIG_fail
;
40607 resultobj
= SWIG_From_int((int)result
);
40614 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
;
40616 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40618 PyObject
* obj0
= 0 ;
40619 PyObject
* obj1
= 0 ;
40620 char *kwnames
[] = {
40621 (char *) "self",(char *) "r", NULL
40624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40627 arg2
= (int)SWIG_As_int(obj1
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40631 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40633 wxPyEndAllowThreads(__tstate
);
40634 if (PyErr_Occurred()) SWIG_fail
;
40636 Py_INCREF(Py_None
); resultobj
= Py_None
;
40643 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40644 PyObject
*resultobj
;
40645 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40646 wxWindow
*arg2
= (wxWindow
*) 0 ;
40648 PyObject
* obj0
= 0 ;
40649 PyObject
* obj1
= 0 ;
40650 char *kwnames
[] = {
40651 (char *) "self",(char *) "otherW", NULL
40654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40661 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40663 wxPyEndAllowThreads(__tstate
);
40664 if (PyErr_Occurred()) SWIG_fail
;
40667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40675 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40676 PyObject
*resultobj
;
40677 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40678 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40679 wxWindow
*arg3
= (wxWindow
*) 0 ;
40681 PyObject
* obj0
= 0 ;
40682 PyObject
* obj1
= 0 ;
40683 PyObject
* obj2
= 0 ;
40684 char *kwnames
[] = {
40685 (char *) "self",(char *) "constraints",(char *) "win", NULL
40688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40693 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40697 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40699 wxPyEndAllowThreads(__tstate
);
40700 if (PyErr_Occurred()) SWIG_fail
;
40703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40711 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40712 PyObject
*resultobj
;
40713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40715 wxWindow
*arg3
= (wxWindow
*) 0 ;
40716 wxWindow
*arg4
= (wxWindow
*) 0 ;
40718 PyObject
* obj0
= 0 ;
40719 PyObject
* obj1
= 0 ;
40720 PyObject
* obj2
= 0 ;
40721 PyObject
* obj3
= 0 ;
40722 char *kwnames
[] = {
40723 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40729 arg2
= (int)SWIG_As_int(obj1
);
40730 if (PyErr_Occurred()) SWIG_fail
;
40731 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40733 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40737 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40739 wxPyEndAllowThreads(__tstate
);
40740 if (PyErr_Occurred()) SWIG_fail
;
40742 resultobj
= SWIG_From_int((int)result
);
40749 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40752 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40754 return Py_BuildValue((char *)"");
40756 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40757 PyObject
*resultobj
;
40758 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40759 wxIndividualLayoutConstraint
*result
;
40760 PyObject
* obj0
= 0 ;
40761 char *kwnames
[] = {
40762 (char *) "self", NULL
40765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40768 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40777 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40778 PyObject
*resultobj
;
40779 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40780 wxIndividualLayoutConstraint
*result
;
40781 PyObject
* obj0
= 0 ;
40782 char *kwnames
[] = {
40783 (char *) "self", NULL
40786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40789 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40798 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40799 PyObject
*resultobj
;
40800 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40801 wxIndividualLayoutConstraint
*result
;
40802 PyObject
* obj0
= 0 ;
40803 char *kwnames
[] = {
40804 (char *) "self", NULL
40807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40810 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40819 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40820 PyObject
*resultobj
;
40821 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40822 wxIndividualLayoutConstraint
*result
;
40823 PyObject
* obj0
= 0 ;
40824 char *kwnames
[] = {
40825 (char *) "self", NULL
40828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40831 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40840 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40841 PyObject
*resultobj
;
40842 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40843 wxIndividualLayoutConstraint
*result
;
40844 PyObject
* obj0
= 0 ;
40845 char *kwnames
[] = {
40846 (char *) "self", NULL
40849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40852 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40861 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40862 PyObject
*resultobj
;
40863 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40864 wxIndividualLayoutConstraint
*result
;
40865 PyObject
* obj0
= 0 ;
40866 char *kwnames
[] = {
40867 (char *) "self", NULL
40870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40873 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40882 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40883 PyObject
*resultobj
;
40884 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40885 wxIndividualLayoutConstraint
*result
;
40886 PyObject
* obj0
= 0 ;
40887 char *kwnames
[] = {
40888 (char *) "self", NULL
40891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40894 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40903 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40904 PyObject
*resultobj
;
40905 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40906 wxIndividualLayoutConstraint
*result
;
40907 PyObject
* obj0
= 0 ;
40908 char *kwnames
[] = {
40909 (char *) "self", NULL
40912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40915 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40924 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40925 PyObject
*resultobj
;
40926 wxLayoutConstraints
*result
;
40927 char *kwnames
[] = {
40931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40934 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40936 wxPyEndAllowThreads(__tstate
);
40937 if (PyErr_Occurred()) SWIG_fail
;
40939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40946 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40947 PyObject
*resultobj
;
40948 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40949 wxWindow
*arg2
= (wxWindow
*) 0 ;
40950 int *arg3
= (int *) 0 ;
40954 PyObject
* obj0
= 0 ;
40955 PyObject
* obj1
= 0 ;
40956 char *kwnames
[] = {
40957 (char *) "self",(char *) "win", NULL
40960 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40968 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40970 wxPyEndAllowThreads(__tstate
);
40971 if (PyErr_Occurred()) SWIG_fail
;
40974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40976 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40977 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40984 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40985 PyObject
*resultobj
;
40986 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40988 PyObject
* obj0
= 0 ;
40989 char *kwnames
[] = {
40990 (char *) "self", NULL
40993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40998 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41000 wxPyEndAllowThreads(__tstate
);
41001 if (PyErr_Occurred()) SWIG_fail
;
41004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41012 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41015 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41017 return Py_BuildValue((char *)"");
41019 static PyMethodDef SwigMethods
[] = {
41020 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41021 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41022 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41025 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41046 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41059 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41074 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41127 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41155 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41174 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41176 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41184 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41185 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41197 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41209 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41213 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41219 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41229 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41239 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41243 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41317 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41319 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41321 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41323 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41325 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41327 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41329 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41331 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41333 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41335 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41337 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41339 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41341 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41355 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41373 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41376 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41379 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41391 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41396 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41402 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41408 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41471 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41478 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41514 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41524 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41534 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41536 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41538 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41541 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41545 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41548 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41551 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41553 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41558 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41566 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41570 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41573 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41575 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41579 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41596 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41598 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41601 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41603 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41607 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41611 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41620 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41623 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41626 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41630 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41637 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41642 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41647 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41692 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41712 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41719 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41723 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41733 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41902 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41942 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41956 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41959 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42014 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42040 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42041 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42071 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42079 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42096 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42097 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42134 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42164 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42167 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42171 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42174 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42184 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42196 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42206 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42216 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42223 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42230 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42237 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42238 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42239 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42240 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42241 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42246 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42265 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42273 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42279 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42282 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42285 { NULL
, NULL
, 0, NULL
}
42289 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42291 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42292 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42294 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42295 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42297 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42298 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42300 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42301 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42303 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42304 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42306 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42307 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42309 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42310 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42312 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42313 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42315 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42316 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42318 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42319 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42321 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42322 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42324 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42325 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42327 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42328 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42330 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42331 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42333 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42334 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42336 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42339 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42340 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42342 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42343 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42345 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42346 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42348 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42349 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42351 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42352 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42354 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42355 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42357 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42358 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42360 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42361 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42363 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42364 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42366 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42367 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42369 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42370 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42372 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42373 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42375 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42376 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42378 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42379 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42381 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42382 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42384 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42385 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42387 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42388 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42390 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42391 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42393 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42394 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42396 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42399 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42400 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42402 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42403 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42405 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42408 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42411 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42412 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42414 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42415 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42417 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42418 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42420 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42421 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42423 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42424 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42426 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42427 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42429 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42430 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42432 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42433 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42435 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42438 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42439 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42441 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42444 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42445 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42447 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42448 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42450 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42451 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42453 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42454 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42456 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42457 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42459 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42460 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42462 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42463 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42465 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42466 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42468 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42469 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42471 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42472 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42474 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42475 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42477 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42478 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42480 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42481 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42483 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42484 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42486 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42487 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42489 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42490 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42492 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42493 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42495 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42496 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42498 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42499 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42501 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42502 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42504 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42505 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42507 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42508 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42510 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42511 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42513 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42514 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42516 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42517 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42519 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42520 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42522 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42523 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42525 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42526 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42528 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42531 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42532 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42534 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42535 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42537 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42538 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42540 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42541 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42543 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42546 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42549 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42550 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42552 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42553 return (void *)((wxObject
*) ((wxSizer
*) x
));
42555 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42556 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42558 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42559 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42561 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42562 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42564 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42565 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42567 static void *_p_wxImageTo_p_wxObject(void *x
) {
42568 return (void *)((wxObject
*) ((wxImage
*) x
));
42570 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42573 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42576 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42577 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42579 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42582 static void *_p_wxControlTo_p_wxObject(void *x
) {
42583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42585 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42586 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42588 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42589 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42591 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42592 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42594 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42597 static void *_p_wxEventTo_p_wxObject(void *x
) {
42598 return (void *)((wxObject
*) ((wxEvent
*) x
));
42600 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42601 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42603 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42604 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42606 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42607 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42609 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42610 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42612 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42613 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42615 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42616 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42618 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42621 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42622 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42624 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42627 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42628 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42630 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42631 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42633 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42634 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42636 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42639 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42640 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42642 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42643 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42645 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42646 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42648 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42651 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42654 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42657 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42660 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42663 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42666 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42667 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42669 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42670 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42672 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42675 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42676 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42678 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42679 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42681 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42682 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42684 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42685 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42687 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42688 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42690 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42691 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42693 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42696 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42697 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42699 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42700 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42702 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42703 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42705 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42706 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42708 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42709 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42711 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42712 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42714 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42715 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42717 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42720 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42721 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42723 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42724 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42726 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42729 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42730 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42732 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42733 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42735 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42736 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42738 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42739 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42741 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42742 return (void *)((wxWindow
*) ((wxControl
*) x
));
42744 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42745 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42747 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42748 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42750 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42751 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42753 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42754 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42756 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42757 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42759 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42760 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42762 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42763 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42765 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42766 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42768 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42769 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42771 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42772 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42774 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42775 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42777 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}};
42778 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}};
42779 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}};
42780 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}};
42781 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}};
42782 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}};
42783 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}};
42784 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}};
42785 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}};
42786 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}};
42787 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}};
42788 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}};
42789 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}};
42790 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}};
42791 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}};
42792 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}};
42793 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}};
42794 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}};
42795 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}};
42796 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}};
42797 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}};
42798 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}};
42799 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}};
42800 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}};
42801 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}};
42802 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}};
42803 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}};
42804 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}};
42805 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}};
42806 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}};
42807 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}};
42808 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}};
42809 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}};
42810 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}};
42811 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}};
42812 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}};
42813 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}};
42814 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}};
42815 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}};
42816 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}};
42817 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}};
42818 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}};
42819 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}};
42820 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}};
42821 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}};
42822 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}};
42823 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}};
42824 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}};
42825 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}};
42826 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}};
42827 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}};
42828 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}};
42829 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}};
42830 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}};
42831 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}};
42832 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}};
42833 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}};
42834 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}};
42835 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}};
42836 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}};
42837 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}};
42838 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}};
42839 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}};
42840 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}};
42841 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}};
42842 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}};
42843 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}};
42844 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}};
42845 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}};
42846 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}};
42847 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}};
42848 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}};
42849 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}};
42850 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}};
42851 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}};
42852 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}};
42853 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}};
42854 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}};
42855 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}};
42856 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}};
42857 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}};
42858 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}};
42859 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}};
42860 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}};
42861 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}};
42862 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}};
42863 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}};
42864 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}};
42865 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}};
42866 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}};
42867 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}};
42868 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}};
42869 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}};
42870 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}};
42871 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}};
42872 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}};
42873 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}};
42874 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}};
42875 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}};
42876 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}};
42877 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}};
42878 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}};
42879 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}};
42880 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}};
42881 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}};
42882 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}};
42883 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}};
42884 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}};
42885 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}};
42886 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}};
42887 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}};
42888 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}};
42889 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}};
42890 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}};
42891 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}};
42892 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}};
42893 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}};
42895 static swig_type_info
*swig_types_initial
[] = {
42896 _swigt__p_wxLayoutConstraints
,
42897 _swigt__p_wxRealPoint
,
42898 _swigt__p_wxSizerItem
,
42899 _swigt__p_wxGBSizerItem
,
42900 _swigt__p_wxScrollEvent
,
42901 _swigt__p_wxEventLoop
,
42902 _swigt__p_wxIndividualLayoutConstraint
,
42904 _swigt__p_wxBoxSizer
,
42905 _swigt__p_wxStaticBoxSizer
,
42906 _swigt__p_wxGridBagSizer
,
42907 _swigt__p_wxAcceleratorEntry
,
42908 _swigt__p_wxUpdateUIEvent
,
42911 _swigt__p_wxGridSizer
,
42912 _swigt__p_wxFlexGridSizer
,
42913 _swigt__p_wxInitDialogEvent
,
42914 _swigt__p_wxItemContainer
,
42915 _swigt__p_wxNcPaintEvent
,
42916 _swigt__p_wxPaintEvent
,
42917 _swigt__p_wxSysColourChangedEvent
,
42918 _swigt__p_wxMouseCaptureChangedEvent
,
42919 _swigt__p_wxDisplayChangedEvent
,
42920 _swigt__p_wxPaletteChangedEvent
,
42921 _swigt__p_wxControl
,
42923 _swigt__p_wxMenuBarBase
,
42924 _swigt__p_wxSetCursorEvent
,
42925 _swigt__p_wxFSFile
,
42927 _swigt__p_wxRegion
,
42928 _swigt__p_wxPoint2D
,
42932 _swigt__p_wxPySizer
,
42933 _swigt__p_wxVisualAttributes
,
42934 _swigt__p_wxNotifyEvent
,
42935 _swigt__p_wxPyEvent
,
42936 _swigt__p_wxPropagationDisabler
,
42937 _swigt__p_wxAppTraits
,
42938 _swigt__p_wxArrayString
,
42939 _swigt__p_wxShowEvent
,
42940 _swigt__p_wxToolTip
,
42941 _swigt__p_wxIconizeEvent
,
42942 _swigt__p_wxActivateEvent
,
42943 _swigt__p_wxMoveEvent
,
42944 _swigt__p_wxSizeEvent
,
42945 _swigt__p_wxMaximizeEvent
,
42946 _swigt__p_wxQueryNewPaletteEvent
,
42947 _swigt__p_wxWindowCreateEvent
,
42948 _swigt__p_wxIdleEvent
,
42949 _swigt__p_wxMenuItem
,
42950 _swigt__p_wxStaticBox
,
42952 _swigt__p_wxTIFFHandler
,
42953 _swigt__p_wxXPMHandler
,
42954 _swigt__p_wxPNMHandler
,
42955 _swigt__p_wxJPEGHandler
,
42956 _swigt__p_wxPCXHandler
,
42957 _swigt__p_wxGIFHandler
,
42958 _swigt__p_wxPNGHandler
,
42959 _swigt__p_wxANIHandler
,
42960 _swigt__p_wxMemoryFSHandler
,
42961 _swigt__p_wxEvtHandler
,
42962 _swigt__p_wxCURHandler
,
42963 _swigt__p_wxICOHandler
,
42964 _swigt__p_wxBMPHandler
,
42965 _swigt__p_wxImageHandler
,
42966 _swigt__p_wxFileSystemHandler
,
42967 _swigt__p_wxPyFileSystemHandler
,
42968 _swigt__p_wxInternetFSHandler
,
42969 _swigt__p_wxZipFSHandler
,
42971 _swigt__p_wxGBSpan
,
42972 _swigt__p_wxPropagateOnce
,
42973 _swigt__p_wxAcceleratorTable
,
42975 _swigt__p_wxGBPosition
,
42978 _swigt__p_wxScrollWinEvent
,
42979 _swigt__p_wxImageHistogram
,
42982 _swigt__p_wxCursor
,
42983 _swigt__p_wxObject
,
42984 _swigt__p_wxPyInputStream
,
42985 _swigt__p_wxOutputStream
,
42986 _swigt__p_wxInputStream
,
42987 _swigt__p_wxDateTime
,
42988 _swigt__p_wxKeyEvent
,
42989 _swigt__p_wxNavigationKeyEvent
,
42990 _swigt__p_wxWindowDestroyEvent
,
42991 _swigt__p_wxWindow
,
42992 _swigt__p_wxMenuBar
,
42993 _swigt__p_wxFileSystem
,
42994 _swigt__p_wxBitmap
,
42995 _swigt__p_wxMenuEvent
,
42996 _swigt__p_wxContextMenuEvent
,
42997 _swigt__p_unsigned_char
,
42998 _swigt__p_wxCloseEvent
,
42999 _swigt__p_wxEraseEvent
,
43000 _swigt__p_wxMouseEvent
,
43002 _swigt__p_wxCommandEvent
,
43003 _swigt__p_wxPyCommandEvent
,
43004 _swigt__p_wxPyDropTarget
,
43005 _swigt__p_wxQuantize
,
43006 _swigt__p_wxChildFocusEvent
,
43007 _swigt__p_wxFocusEvent
,
43008 _swigt__p_wxDropFilesEvent
,
43009 _swigt__p_wxControlWithItems
,
43010 _swigt__p_wxColour
,
43011 _swigt__p_wxValidator
,
43012 _swigt__p_wxPyValidator
,
43017 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43019 static swig_const_info swig_const_table
[] = {
43020 {0, 0, 0, 0.0, 0, 0}};
43029 SWIGEXPORT(void) SWIG_init(void) {
43030 static PyObject
*SWIG_globals
= 0;
43031 static int typeinit
= 0;
43034 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43035 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43036 d
= PyModule_GetDict(m
);
43039 for (i
= 0; swig_types_initial
[i
]; i
++) {
43040 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43044 SWIG_InstallConstants(d
,swig_const_table
);
43047 #ifndef wxPyUSE_EXPORT
43048 // Make our API structure a CObject so other modules can import it
43049 // from this module.
43050 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43051 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43055 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43056 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43057 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43058 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43059 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43060 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43061 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43062 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43063 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43064 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43065 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43066 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43067 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43068 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43069 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43070 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43071 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43072 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43073 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43074 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43075 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43076 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43077 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43078 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43079 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43080 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43081 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43082 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43083 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43084 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43085 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43086 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43087 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43088 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43089 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43090 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43091 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43092 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43093 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43094 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43095 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43096 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43097 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43098 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43099 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43100 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43101 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43102 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43103 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43104 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43105 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43106 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43107 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43108 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43109 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43110 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43111 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43112 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43113 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43114 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43115 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43116 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43117 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43118 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43119 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43120 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43121 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43122 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43123 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43124 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43125 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43126 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43127 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43128 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43129 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43130 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43131 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43132 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43133 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43134 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43135 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43136 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43137 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43138 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43139 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43140 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43141 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43142 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43143 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43144 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43145 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43146 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43147 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43148 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43149 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43150 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43151 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43152 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43153 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43154 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43155 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43156 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43157 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43158 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43159 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43160 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43161 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43162 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43163 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43164 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43165 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43166 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43167 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43168 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43169 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43170 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43171 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43172 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43173 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43174 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43175 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43176 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43177 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43178 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43179 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43180 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43181 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43182 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43183 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43184 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43185 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43186 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43187 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43188 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43189 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43190 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43191 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43192 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43193 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43194 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43195 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43196 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43197 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43198 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43199 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43200 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43201 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43202 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43203 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43204 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43205 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43206 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43207 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43208 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43209 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43210 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43211 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43212 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43213 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43214 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43215 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43216 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43217 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43218 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43219 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43220 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43221 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43222 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43223 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43224 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43225 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43226 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43227 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43228 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43229 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43230 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43231 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43232 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43233 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43234 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43235 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43236 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43237 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43238 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43239 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43240 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43241 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43242 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43243 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43244 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43245 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43246 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43247 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43248 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43249 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43250 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43251 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43252 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43253 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43254 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43255 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43256 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43257 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43258 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43259 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43260 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43261 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43262 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43263 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43264 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43265 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43266 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43267 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43268 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43269 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43270 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43271 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43272 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43273 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43274 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43275 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43276 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43277 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43278 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43279 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43280 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43281 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43282 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43283 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43284 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43285 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43286 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43287 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43288 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43289 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43290 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43291 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43292 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43293 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43294 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43295 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43296 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43297 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43298 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43299 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43300 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43301 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43302 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43303 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43304 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43305 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43306 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43307 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43308 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43309 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43310 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43311 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43312 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43313 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43314 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43315 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43316 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43317 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43318 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43319 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43320 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43321 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43322 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43323 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43324 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43325 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43326 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43327 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43328 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43329 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43330 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43331 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43332 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43333 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43334 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43335 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43336 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43337 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43338 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43339 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43340 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43341 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43342 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43343 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43344 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43345 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43346 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43347 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43348 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43349 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43350 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43351 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43352 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43353 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43354 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43355 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43356 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43357 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43358 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43359 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43360 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43361 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43362 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43363 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43364 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43365 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43366 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43367 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43368 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43369 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43370 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43371 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43372 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43373 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43374 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43375 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43376 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43377 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43378 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43379 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43380 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43381 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43382 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43383 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43384 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43385 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43386 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43387 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43388 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43389 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43390 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43391 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43392 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43393 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43394 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43395 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43396 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43397 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43398 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43399 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43400 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43401 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43402 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43403 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43404 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43405 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43406 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43407 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43408 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43409 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43410 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43411 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43412 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43413 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43414 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43415 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43416 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43417 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43418 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43419 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43420 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43421 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43422 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43423 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43424 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43425 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43426 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43427 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43428 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43429 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43430 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43431 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43432 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43433 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43434 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43435 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43436 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43437 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43438 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43439 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43440 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43441 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43442 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43443 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43444 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43445 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43446 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43447 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43448 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43449 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43450 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43451 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43452 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43453 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43454 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43455 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43456 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43457 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43458 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43459 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43460 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43461 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43462 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43463 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43464 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43465 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43466 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43467 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43468 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43469 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43470 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43471 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43472 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43473 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43474 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43475 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43476 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43477 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43478 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43479 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43480 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43481 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43482 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43483 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43484 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43485 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43486 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43487 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43488 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43489 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43490 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43491 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43492 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43493 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43494 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43495 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43496 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43497 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43498 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43499 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43500 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43501 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43502 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43503 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43504 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43505 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43506 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43507 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43508 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43509 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43510 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43511 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43512 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43513 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43514 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43515 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43516 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43517 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43518 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43519 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43520 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43521 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43522 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43523 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43524 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43525 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43526 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43527 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43528 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43529 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43530 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43531 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43532 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43533 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43534 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43535 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43536 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43537 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43538 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43539 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43540 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43541 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43542 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43543 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43544 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43545 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43546 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43547 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43548 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43549 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43550 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43551 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43552 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43553 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43554 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43555 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43556 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43557 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43558 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43559 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43560 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43561 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43562 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43563 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43564 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43565 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43566 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43567 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43568 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43569 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43570 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43571 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43572 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43573 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43574 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43575 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43576 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43577 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43578 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43579 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43580 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43581 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43582 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43583 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43584 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43585 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43586 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43587 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43588 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43589 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43590 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43591 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43592 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43593 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43594 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43595 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43596 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43597 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43598 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43599 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43600 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43601 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43602 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43603 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43604 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43605 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43606 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43607 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43608 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43609 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43610 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43611 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43612 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43613 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43614 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43615 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43616 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43617 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43618 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43619 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43620 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43621 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43622 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43623 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43624 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43625 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43626 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43627 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43628 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43629 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43630 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43631 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43632 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43633 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43634 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43635 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43636 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43637 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43638 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43639 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43640 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43641 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43642 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43643 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43644 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43645 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43646 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43647 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43648 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43649 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43650 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43651 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43652 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43653 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43655 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43658 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43660 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43661 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43662 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43663 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43664 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43665 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43666 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43667 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43668 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43669 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43670 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43671 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43672 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43673 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43674 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43675 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43676 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43677 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43678 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43679 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43680 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43681 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43682 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43683 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43684 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43685 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43686 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43687 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43689 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43690 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43691 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43692 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43693 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43694 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43695 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43696 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43697 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43698 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43699 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43700 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43701 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43702 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43703 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43704 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43705 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43706 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43707 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43708 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43709 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43710 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43711 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43712 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43713 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43714 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43715 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43716 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43717 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43718 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43719 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43720 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43721 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43722 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43723 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43724 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43725 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43726 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43727 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43728 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43729 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43730 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43731 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43732 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43733 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43734 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43735 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43736 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43737 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43738 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43739 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43740 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43741 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43742 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43743 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43744 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43745 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43746 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43747 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43748 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43749 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43750 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43752 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43753 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43754 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43755 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43756 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43757 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43758 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43759 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43760 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43761 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43762 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43763 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43764 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43765 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43766 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43767 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43768 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43769 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43770 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43771 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43772 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43773 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43774 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43775 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43776 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43777 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43778 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43779 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43780 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43781 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43782 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43783 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43784 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43785 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43786 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43787 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43788 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43789 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43790 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43791 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43792 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43793 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43794 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43795 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43796 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43797 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43798 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43799 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43800 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43801 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43802 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43803 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43804 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43805 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43806 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43807 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43808 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43809 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43810 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43811 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43812 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43813 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43814 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43815 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43816 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43817 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43818 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43819 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43820 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43821 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43822 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43823 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43824 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43825 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43826 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43827 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43828 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43829 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43830 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43831 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43832 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43833 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43834 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43835 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43836 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43837 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43838 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43839 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43840 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43841 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43842 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43843 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43844 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43846 // Initialize threading, some globals and such
43850 // Although these are defined in __version__ they need to be here too so
43851 // that an assert can be done to ensure that the wxPython and the wxWindows
43853 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43854 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43855 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));