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_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
248 #define SWIGTYPE_p_wxAppTraits swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxShowEvent swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
253 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
255 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
256 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
257 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
258 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
259 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
260 #define SWIGTYPE_p_wxMenuItem swig_types[51]
261 #define SWIGTYPE_p_wxStaticBox swig_types[52]
262 #define SWIGTYPE_p_long swig_types[53]
263 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
264 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
265 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
266 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
267 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
268 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
269 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
270 #define SWIGTYPE_p_wxANIHandler swig_types[61]
271 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
272 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
273 #define SWIGTYPE_p_wxCURHandler swig_types[64]
274 #define SWIGTYPE_p_wxICOHandler swig_types[65]
275 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
276 #define SWIGTYPE_p_wxImageHandler swig_types[67]
277 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
278 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
280 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxRect swig_types[72]
282 #define SWIGTYPE_p_wxGBSpan swig_types[73]
283 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
284 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
285 #define SWIGTYPE_p_char swig_types[76]
286 #define SWIGTYPE_p_wxGBPosition swig_types[77]
287 #define SWIGTYPE_p_wxImage swig_types[78]
288 #define SWIGTYPE_p_wxFrame swig_types[79]
289 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
290 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
291 #define SWIGTYPE_p_byte swig_types[82]
292 #define SWIGTYPE_p_wxPoint swig_types[83]
293 #define SWIGTYPE_p_wxCursor swig_types[84]
294 #define SWIGTYPE_p_wxObject swig_types[85]
295 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
296 #define SWIGTYPE_p_wxOutputStream swig_types[87]
297 #define SWIGTYPE_p_wxInputStream swig_types[88]
298 #define SWIGTYPE_p_wxDateTime swig_types[89]
299 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
300 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindow swig_types[93]
303 #define SWIGTYPE_p_wxMenuBar swig_types[94]
304 #define SWIGTYPE_p_wxFileSystem swig_types[95]
305 #define SWIGTYPE_p_wxBitmap swig_types[96]
306 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
307 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
308 #define SWIGTYPE_p_unsigned_char swig_types[99]
309 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
310 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
311 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
312 #define SWIGTYPE_p_wxPyApp swig_types[103]
313 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
314 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
316 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
317 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
319 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
320 #define SWIGTYPE_p_wxColour swig_types[111]
321 #define SWIGTYPE_p_wxValidator swig_types[112]
322 #define SWIGTYPE_p_wxPyValidator swig_types[113]
323 static swig_type_info
*swig_types
[115];
325 /* -------- TYPES TABLE (END) -------- */
328 /*-----------------------------------------------
330 ------------------------------------------------*/
331 #define SWIG_init init_core
333 #define SWIG_name "_core"
335 /* Auxiliar swig macros */
338 #define SWIGSTATICINLINE(a) static inline a
339 #define SWIGSTATIC(a) static a
340 #define swig_new_array(type, size) (new type[(size)])
341 #define swig_delete_array(cptr) delete[] cptr
342 #define swig_const_cast(type,a) const_cast<type>(a)
343 #define swig_static_cast(type,a) static_cast<type>(a)
344 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
346 #ifdef HAVE_NUMERIC_CAST
347 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
349 #define swig_numeric_cast(type,a) static_cast<type>(a)
354 #define SWIGSTATICINLINE(a) static a
355 #define SWIGSTATIC(a) static a
356 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
357 #define swig_delete_array(cptr) free((char*)cptr)
358 #define swig_const_cast(type,a) (type)(a)
359 #define swig_static_cast(type,a) (type)(a)
360 #define swig_reinterpret_cast(type,a) (type)(a)
361 #define swig_numeric_cast(type,a) (type)(a)
363 #endif /* __cplusplus */
366 #define SWIG_FromSignedChar PyInt_FromLong
367 #define SWIG_FromUnsignedChar PyInt_FromLong
368 #define SWIG_FromShort PyInt_FromLong
369 #define SWIG_FromUnsignedShort PyInt_FromLong
370 #define SWIG_FromInt PyInt_FromLong
371 #define SWIG_FromLong PyInt_FromLong
372 #define SWIG_FromFloat PyFloat_FromDouble
373 #define SWIG_FromDouble PyFloat_FromDouble
374 #define SWIG_FromFloat PyFloat_FromDouble
375 #define SWIG_FromDouble PyFloat_FromDouble
378 #include "wx/wxPython/wxPython_int.h"
379 #include "wx/wxPython/pyclasses.h"
382 #ifndef wxPyUSE_EXPORT
383 // Helper functions for dealing with SWIG objects and such. These are
384 // located here so they know about the SWIG types and functions declared
385 // in the wrapper code.
387 #include <wx/hashmap.h>
388 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
391 // Maintains a hashmap of className to swig_type_info pointers. Given the
392 // name of a class either looks up the type info in the cache, or scans the
393 // SWIG tables for it.
394 extern PyObject
* wxPyPtrTypeMap
;
396 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
398 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
400 if (typeInfoCache
== NULL
)
401 typeInfoCache
= new wxPyTypeInfoHashMap
;
403 wxString
name(className
);
404 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
407 // it wasn't in the cache, so look it up from SWIG
408 name
.Append(wxT(" *"));
409 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
411 // if it still wasn't found, try looking for a mapped name
416 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
417 (char*)(const char*)name
.mbc_str())) != NULL
) {
418 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
419 name
.Append(wxT(" *"));
420 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
424 // and add it to the map if found
425 (*typeInfoCache
)[className
] = swigType
;
432 // Check if a class name is a type known to SWIG
433 bool wxPyCheckSwigType(const wxChar
* className
) {
435 swig_type_info
* swigType
= wxPyFindSwigType(className
);
436 return swigType
!= NULL
;
440 // Given a pointer to a C++ object and a class name, construct a Python proxy
442 PyObject
* wxPyConstructObject(void* ptr
,
443 const wxChar
* className
,
446 swig_type_info
* swigType
= wxPyFindSwigType(className
);
447 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
449 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
453 // Extract a pointer to the wrapped C++ object from a Python proxy object.
454 // Ensures that the proxy object is of the specified (or derived) type. If
455 // not able to perform the conversion then a Python exception is set and the
456 // error should be handled properly in the caller. Returns True on success.
457 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
458 const wxChar
* className
) {
460 swig_type_info
* swigType
= wxPyFindSwigType(className
);
461 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
463 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
467 // Make a SWIGified pointer object suitable for a .this attribute
468 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
470 PyObject
* robj
= NULL
;
472 swig_type_info
* swigType
= wxPyFindSwigType(className
);
473 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
475 #ifdef SWIG_COBJECT_TYPES
476 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
482 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
483 strcpy(r
, swigType
->name
);
484 robj
= PyString_FromString(result
);
494 // Export a C API in a struct. Other modules will be able to load this from
495 // the wx.core module and will then have safe access to these functions, even if
496 // they are located in another shared library.
497 static wxPyCoreAPI API
= {
499 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
500 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
501 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
502 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
503 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
504 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
505 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
506 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
507 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
508 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
509 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
510 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
511 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
512 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
513 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
514 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
515 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
522 wxPyBeginAllowThreads
,
524 wxPyBeginBlockThreads
,
538 wxBitmap_LIST_helper
,
539 wxString_LIST_helper
,
540 wxAcceleratorEntry_LIST_helper
,
549 wxPySimple_typecheck
,
552 wxPyCBH_setCallbackInfo
,
553 wxPyCBH_findCallback
,
554 wxPyCBH_callCallback
,
555 wxPyCBH_callCallbackObj
,
563 wxArrayString2PyList_helper
,
564 wxArrayInt2PyList_helper
,
568 wxPyOORClientData_dtor
,
570 wxPyCBInputStream_create
,
573 wxPySwigInstance_Check
581 enum wxHotkeyModifier
589 #define wxEVT_HOTKEY 9999
592 static const wxString
wxPyEmptyString(wxEmptyString
);
593 wxString
wxObject_GetClassName(wxObject
*self
){
594 return self
->GetClassInfo()->GetClassName();
596 void wxObject_Destroy(wxObject
*self
){
601 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
608 SWIGSTATICINLINE(long)
609 SWIG_CheckLongInRange(long value
, const char* type
,
610 long min_value
, long max_value
)
612 if (!PyErr_Occurred()) {
613 if (value
< min_value
) {
615 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
616 value
, type
, min_value
);
618 PyErr_SetObject(PyExc_OverflowError
, err
);
620 } else if (value
> max_value
) {
622 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
623 value
, type
, max_value
);
624 PyErr_SetObject(PyExc_OverflowError
, err
);
632 SWIGSTATICINLINE(long)
633 SWIG_AsLong(PyObject
* obj
)
635 if (PyNumber_Check(obj
))
636 return PyInt_AsLong(obj
);
638 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
639 obj
->ob_type
->tp_name
);
640 PyErr_SetObject(PyExc_TypeError
, errmsg
);
647 #if INT_MAX != LONG_MAX
648 SWIGSTATICINLINE(int)
649 SWIG_AsInt(PyObject
*obj
)
651 return swig_numeric_cast(int,
652 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
653 "int", INT_MIN
, INT_MAX
));
656 #define SWIG_AsInt SWIG_AsLong
660 SWIGSTATICINLINE(int)
661 SWIG_CheckInt(PyObject
* obj
)
664 if (PyErr_Occurred()) {
672 PyObject
*wxSize_Get(wxSize
*self
){
673 bool blocked
= wxPyBeginBlockThreads();
674 PyObject
* tup
= PyTuple_New(2);
675 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
676 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
677 wxPyEndBlockThreads(blocked
);
681 SWIGSTATICINLINE(double)
682 SWIG_AsDouble(PyObject
*obj
)
684 if (PyNumber_Check(obj
))
685 return PyFloat_AsDouble(obj
);
687 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
688 obj
->ob_type
->tp_name
);
689 PyErr_SetObject(PyExc_TypeError
, errmsg
);
696 SWIGSTATICINLINE(int)
697 SWIG_CheckDouble(PyObject
* obj
)
700 if (PyErr_Occurred()) {
708 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
712 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
713 bool blocked
= wxPyBeginBlockThreads();
714 PyObject
* tup
= PyTuple_New(2);
715 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
716 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
717 wxPyEndBlockThreads(blocked
);
721 SWIGSTATICINLINE(int)
722 SWIG_CheckLong(PyObject
* obj
)
725 if (PyErr_Occurred()) {
733 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
737 PyObject
*wxPoint_Get(wxPoint
*self
){
738 bool blocked
= wxPyBeginBlockThreads();
739 PyObject
* tup
= PyTuple_New(2);
740 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
741 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
742 wxPyEndBlockThreads(blocked
);
745 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
749 self
->height
= height
;
751 PyObject
*wxRect_Get(wxRect
*self
){
752 bool blocked
= wxPyBeginBlockThreads();
753 PyObject
* tup
= PyTuple_New(4);
754 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
755 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
756 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
757 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
758 wxPyEndBlockThreads(blocked
);
762 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
765 wxRect
dest(0,0,0,0);
768 reg1
.Intersect(reg2
);
769 dest
= reg1
.GetBox();
771 if (dest
!= wxRect(0,0,0,0)) {
772 bool blocked
= wxPyBeginBlockThreads();
773 wxRect
* newRect
= new wxRect(dest
);
774 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
775 wxPyEndBlockThreads(blocked
);
783 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
789 } else if (target
== Py_None
) {
793 if (!PyTuple_Check(target
)) {
795 target
= PyTuple_New(1);
796 PyTuple_SetItem(target
, 0, o2
);
799 PyTuple_SetItem(o3
, 0, o
);
802 target
= PySequence_Concat(o2
, o3
);
809 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
813 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
814 bool blocked
= wxPyBeginBlockThreads();
815 PyObject
* tup
= PyTuple_New(2);
816 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
817 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
818 wxPyEndBlockThreads(blocked
);
822 #include "wx/wxPython/pyistream.h"
824 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
825 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
827 return new wxPyInputStream(wxis
);
832 SWIGSTATICINLINE(PyObject
*)
833 SWIG_FromChar(char c
)
835 return PyString_FromStringAndSize(&c
,1);
839 SWIGSTATICINLINE(PyObject
* )
840 SWIG_FromUnsignedLong(unsigned long value
)
842 return (value
> LONG_MAX
) ?
843 PyLong_FromUnsignedLong(value
)
844 : PyInt_FromLong(swig_numeric_cast(long,value
));
848 /* returns '1' if the input is a raw char*, '0' if is a PyString */
850 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
852 static swig_type_info
* pchar_info
= 0;
854 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
856 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
858 PyString_AsStringAndSize(obj
, cptr
, &psize
);
859 if (PyErr_Occurred()) {
861 PyErr_SetString(PyExc_TypeError
,"a string is expected");
863 if (size
) *size
= psize
;
866 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
873 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
875 char* cptr
; size_t csize
;
876 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
877 if (PyErr_Occurred()) {
880 PyString_FromFormat("a char array of size %d is expected", size
);
881 PyErr_SetObject(PyExc_TypeError
, err
);
884 /* in C (but not in C++) you can do:
888 ie, assing the array using an extra '0' char.
891 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
895 PyString_FromFormat("a char array of maximum size %d is expected",
897 PyErr_SetObject(PyExc_TypeError
, err
);
900 if (csize
) memcpy(carray
, cptr
, csize
);
901 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
907 SWIGSTATICINLINE(char)
908 SWIG_AsChar(PyObject
*obj
)
911 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
912 c
= swig_numeric_cast(char,
913 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
914 "char", CHAR_MIN
, CHAR_MAX
));
916 SWIG_AsCharArray(obj
, &c
, 1);
917 if (PyErr_Occurred()) {
919 PyErr_SetString(PyExc_TypeError
, "a char is expected");
926 SWIGSTATICINLINE(int)
927 SWIG_CheckChar(PyObject
* obj
)
930 if (PyErr_Occurred()) {
938 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
939 // We use only strings for the streams, not unicode
940 PyObject
* str
= PyObject_Str(obj
);
942 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
945 self
->Write(PyString_AS_STRING(str
),
946 PyString_GET_SIZE(str
));
950 #include "wx/wxPython/pyistream.h"
953 class wxPyFileSystemHandler
: public wxFileSystemHandler
956 wxPyFileSystemHandler() : wxFileSystemHandler() {}
958 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
959 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
960 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
961 DEC_PYCALLBACK_STRING__pure(FindNext
);
963 wxString
GetProtocol(const wxString
& location
) {
964 return wxFileSystemHandler::GetProtocol(location
);
967 wxString
GetLeftLocation(const wxString
& location
) {
968 return wxFileSystemHandler::GetLeftLocation(location
);
971 wxString
GetAnchor(const wxString
& location
) {
972 return wxFileSystemHandler::GetAnchor(location
);
975 wxString
GetRightLocation(const wxString
& location
) {
976 return wxFileSystemHandler::GetRightLocation(location
);
979 wxString
GetMimeTypeFromExt(const wxString
& location
) {
980 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
987 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
988 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
989 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
990 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
993 SWIGSTATICINLINE(bool)
994 SWIG_AsBool(PyObject
*obj
)
996 return PyObject_IsTrue(obj
) ? true : false;
1000 SWIGSTATICINLINE(int)
1001 SWIG_CheckBool(PyObject
* obj
)
1004 if (PyErr_Occurred()) {
1013 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1014 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1015 return fname
.GetFullPath();
1019 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1022 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1025 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1026 const wxBitmap
& bitmap
,
1028 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1031 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1033 wxMemoryFSHandler::AddFile(filename
,
1034 // TODO: Verify data type
1035 (void*)PyString_AsString(data
),
1036 (size_t)PyString_Size(data
));
1040 #include "wx/wxPython/pyistream.h"
1043 SWIGSTATICINLINE(unsigned long)
1044 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1045 unsigned long max_value
)
1047 if (!PyErr_Occurred()) {
1048 if (value
> max_value
) {
1050 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1051 value
, type
, max_value
);
1052 PyErr_SetObject(PyExc_OverflowError
, err
);
1060 SWIGSTATICINLINE(unsigned long)
1061 SWIG_AsUnsignedLong(PyObject
* obj
)
1063 if (PyLong_Check(obj
)) {
1064 return PyLong_AsUnsignedLong(obj
);
1066 long i
= SWIG_AsLong(obj
);
1067 if ( !PyErr_Occurred() && (i
< 0)) {
1068 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1075 SWIGSTATICINLINE(unsigned char)
1076 SWIG_AsUnsignedChar(PyObject
*obj
)
1078 return swig_numeric_cast(unsigned char,
1079 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1080 "unsigned char", UCHAR_MAX
));
1084 SWIGSTATICINLINE(int)
1085 SWIG_CheckUnsignedChar(PyObject
* obj
)
1087 SWIG_AsUnsignedChar(obj
);
1088 if (PyErr_Occurred()) {
1096 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1097 if (width
> 0 && height
> 0)
1098 return new wxImage(width
, height
, clear
);
1102 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1103 return new wxImage(bitmap
.ConvertToImage());
1105 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1106 // Copy the source data so the wxImage can clean it up later
1107 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1112 memcpy(copy
, data
, width
*height
*3);
1113 return new wxImage(width
, height
, copy
, False
);
1115 PyObject
*wxImage_GetData(wxImage
*self
){
1116 unsigned char* data
= self
->GetData();
1117 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1119 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1122 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1123 unsigned char* dataPtr
;
1125 if (! PyString_Check(data
)) {
1126 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1130 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1131 dataPtr
= (unsigned char*) malloc(len
);
1132 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1133 self
->SetData(dataPtr
);
1134 // wxImage takes ownership of dataPtr...
1136 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1137 unsigned char* data
= self
->GetData();
1138 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1140 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1143 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1144 unsigned char* buffer
;
1147 bool blocked
= wxPyBeginBlockThreads();
1148 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1151 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1152 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1155 self
->SetData(buffer
);
1157 wxPyEndBlockThreads(blocked
);
1159 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1160 unsigned char* data
= self
->GetAlpha();
1164 int len
= self
->GetWidth() * self
->GetHeight();
1166 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1170 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1171 unsigned char* dataPtr
;
1173 if (! PyString_Check(data
)) {
1174 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1178 size_t len
= self
->GetWidth() * self
->GetHeight();
1179 dataPtr
= (unsigned char*) malloc(len
);
1180 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1181 self
->SetAlpha(dataPtr
);
1182 // wxImage takes ownership of dataPtr...
1184 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1185 unsigned char* data
= self
->GetAlpha();
1186 int len
= self
->GetWidth() * self
->GetHeight();
1188 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1191 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1192 unsigned char* buffer
;
1195 bool blocked
= wxPyBeginBlockThreads();
1196 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1199 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1200 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1203 self
->SetAlpha(buffer
);
1205 wxPyEndBlockThreads(blocked
);
1208 SWIGSTATICINLINE(int)
1209 SWIG_CheckUnsignedLong(PyObject
* obj
)
1211 SWIG_AsUnsignedLong(obj
);
1212 if (PyErr_Occurred()) {
1220 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1221 wxBitmap
bitmap(*self
);
1224 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1225 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1226 wxBitmap
bitmap( mono
, 1 );
1229 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1230 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1231 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1232 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1233 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1234 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1235 if (PyCallable_Check(func
)) {
1236 self
->Connect(id
, lastId
, eventType
,
1237 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1238 new wxPyCallback(func
));
1240 else if (func
== Py_None
) {
1241 self
->Disconnect(id
, lastId
, eventType
,
1242 (wxObjectEventFunction
)
1243 &wxPyCallback::EventThunker
);
1246 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1249 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1250 return self
->Disconnect(id
, lastId
, eventType
,
1251 (wxObjectEventFunction
)
1252 &wxPyCallback::EventThunker
);
1254 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1255 if (_self
&& _self
!= Py_None
) {
1256 self
->SetClientObject(new wxPyOORClientData(_self
));
1259 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1261 self
->SetClientObject(NULL
); // This will delete it too
1265 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1267 return self
->m_uniChar
;
1273 #if UINT_MAX < LONG_MAX
1274 #define SWIG_FromUnsignedInt SWIG_FromLong
1276 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1280 #if UINT_MAX != ULONG_MAX
1281 SWIGSTATICINLINE(unsigned int)
1282 SWIG_AsUnsignedInt(PyObject
*obj
)
1284 return swig_numeric_cast(unsigned int,
1285 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1286 "unsigned int", UINT_MAX
));
1289 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1293 SWIGSTATICINLINE(int)
1294 SWIG_CheckUnsignedInt(PyObject
* obj
)
1296 SWIG_AsUnsignedInt(obj
);
1297 if (PyErr_Occurred()) {
1305 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1306 self
->m_size
= size
;
1308 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1311 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1312 int count
= self
->GetNumberOfFiles();
1313 wxString
* files
= self
->GetFiles();
1314 PyObject
* list
= PyList_New(count
);
1317 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1321 for (int i
=0; i
<count
; i
++) {
1322 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1328 wxPyApp
*new_wxPyApp(){
1329 wxPythonApp
= new wxPyApp();
1333 void wxApp_CleanUp() {
1338 wxPyApp
* wxGetApp() {
1339 return (wxPyApp
*)wxTheApp
;
1344 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1345 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1346 wxWindowList
& list
= self
->GetChildren();
1347 return wxPy_ConvertList(&list
);
1349 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1356 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1363 long wxWindow_GetHandle(wxWindow
*self
){
1364 return wxPyGetWinHandle(self
);
1367 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1368 return wxWindow::FindWindowById(id
, parent
);
1371 wxWindow
* wxFindWindowByName( const wxString
& name
,
1372 const wxWindow
*parent
= NULL
) {
1373 return wxWindow::FindWindowByName(name
, parent
);
1376 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1377 const wxWindow
*parent
= NULL
) {
1378 return wxWindow::FindWindowByLabel(label
, parent
);
1383 #include <wx/msw/private.h> // to get wxGetWindowId
1387 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1389 WXHWND hWnd
= (WXHWND
)_hWnd
;
1390 long id
= wxGetWindowId(hWnd
);
1391 wxWindow
* win
= new wxWindow
;
1392 parent
->AddChild(win
);
1393 win
->SetEventHandler(win
);
1396 win
->SubclassWin(hWnd
);
1397 win
->AdoptAttributesFromHWND();
1398 win
->SetupColours();
1401 wxPyRaiseNotImplemented();
1407 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1408 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1409 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1411 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1413 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1414 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1415 wxMenuItemList
& list
= self
->GetMenuItems();
1416 return wxPy_ConvertList(&list
);
1418 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1419 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1421 wxPyClientData
* data
= new wxPyClientData(clientData
);
1422 return self
->Append(item
, data
);
1424 return self
->Append(item
);
1426 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1428 wxPyClientData
* data
= new wxPyClientData(clientData
);
1429 return self
->Insert(item
, pos
, data
);
1431 return self
->Insert(item
, pos
);
1433 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1434 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1436 Py_INCREF(data
->m_obj
);
1443 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1444 wxPyClientData
* data
= new wxPyClientData(clientData
);
1445 self
->SetClientObject(n
, data
);
1453 SWIG_FloatCast(double value
)
1456 if (!PyErr_Occurred()) {
1457 if (value
< FLT_MIN
) {
1459 PyString_FromFormat("value %g is less than float minimum %g",
1461 PyErr_SetObject(PyExc_OverflowError
, err
);
1463 } else if (value
> FLT_MAX
) {
1465 PyString_FromFormat("value %g is greater than float maximum %g",
1467 PyErr_SetObject(PyExc_OverflowError
, err
);
1470 f
= swig_numeric_cast(float, value
);
1477 SWIGSTATICINLINE(float)
1478 SWIG_AsFloat(PyObject
*obj
)
1480 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1484 SWIGSTATICINLINE(int)
1485 SWIG_CheckFloat(PyObject
* obj
)
1488 if (PyErr_Occurred()) {
1496 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1497 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1499 Py_INCREF(data
->m_obj
);
1507 // Figure out the type of the sizer item
1509 struct wxPySizerItemInfo
{
1511 : window(NULL
), sizer(NULL
), gotSize(False
),
1512 size(wxDefaultSize
), gotPos(False
), pos(-1)
1523 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1525 wxPySizerItemInfo info
;
1527 wxSize
* sizePtr
= &size
;
1529 // Find out what the type of the item is
1531 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1536 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1540 // try wxSize or (w,h)
1541 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1542 info
.size
= *sizePtr
;
1543 info
.gotSize
= True
;
1547 if (checkIdx
&& PyInt_Check(item
)) {
1548 info
.pos
= PyInt_AsLong(item
);
1554 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1555 // no expected type, figure out what kind of error message to generate
1556 if ( !checkSize
&& !checkIdx
)
1557 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1558 else if ( checkSize
&& !checkIdx
)
1559 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1560 else if ( !checkSize
&& checkIdx
)
1561 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1563 // can this one happen?
1564 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1570 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1571 self
->SetClientObject(new wxPyOORClientData(_self
));
1573 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1575 wxPyUserData
* data
= NULL
;
1576 bool blocked
= wxPyBeginBlockThreads();
1577 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1578 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1579 data
= new wxPyUserData(userData
);
1580 wxPyEndBlockThreads(blocked
);
1582 // Now call the real Add method if a valid item type was found
1584 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1585 else if ( info
.sizer
)
1586 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1587 else if (info
.gotSize
)
1588 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1589 proportion
, flag
, border
, data
);
1591 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1593 wxPyUserData
* data
= NULL
;
1594 bool blocked
= wxPyBeginBlockThreads();
1595 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1596 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1597 data
= new wxPyUserData(userData
);
1598 wxPyEndBlockThreads(blocked
);
1600 // Now call the real Insert method if a valid item type was found
1602 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1603 else if ( info
.sizer
)
1604 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1605 else if (info
.gotSize
)
1606 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1607 proportion
, flag
, border
, data
);
1609 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1611 wxPyUserData
* data
= NULL
;
1612 bool blocked
= wxPyBeginBlockThreads();
1613 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1614 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1615 data
= new wxPyUserData(userData
);
1616 wxPyEndBlockThreads(blocked
);
1618 // Now call the real Prepend method if a valid item type was found
1620 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1621 else if ( info
.sizer
)
1622 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1623 else if (info
.gotSize
)
1624 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1625 proportion
, flag
, border
, data
);
1627 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1628 bool blocked
= wxPyBeginBlockThreads();
1629 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1630 wxPyEndBlockThreads(blocked
);
1632 return self
->Remove(info
.window
);
1633 else if ( info
.sizer
)
1634 return self
->Remove(info
.sizer
);
1635 else if ( info
.gotPos
)
1636 return self
->Remove(info
.pos
);
1640 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1641 bool blocked
= wxPyBeginBlockThreads();
1642 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1643 wxPyEndBlockThreads(blocked
);
1645 self
->SetItemMinSize(info
.window
, size
);
1646 else if ( info
.sizer
)
1647 self
->SetItemMinSize(info
.sizer
, size
);
1648 else if ( info
.gotPos
)
1649 self
->SetItemMinSize(info
.pos
, size
);
1651 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1652 wxSizerItemList
& list
= self
->GetChildren();
1653 return wxPy_ConvertList(&list
);
1655 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1656 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1658 self
->Show(info
.window
, show
);
1659 else if ( info
.sizer
)
1660 self
->Show(info
.sizer
, show
);
1662 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1663 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1665 self
->Hide(info
.window
);
1666 else if ( info
.sizer
)
1667 self
->Hide(info
.sizer
);
1669 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1670 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1672 return self
->IsShown(info
.window
);
1673 else if ( info
.sizer
)
1674 return self
->IsShown(info
.sizer
);
1680 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1681 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1682 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1687 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1689 if (source
== Py_None
) {
1690 **obj
= wxGBPosition(-1,-1);
1693 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1696 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1698 if (source
== Py_None
) {
1699 **obj
= wxGBSpan(-1,-1);
1702 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1706 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1710 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1711 bool blocked
= wxPyBeginBlockThreads();
1712 PyObject
* tup
= PyTuple_New(2);
1713 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1714 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1715 wxPyEndBlockThreads(blocked
);
1718 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1719 self
->SetRowspan(rowspan
);
1720 self
->SetColspan(colspan
);
1722 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1723 bool blocked
= wxPyBeginBlockThreads();
1724 PyObject
* tup
= PyTuple_New(2);
1725 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1726 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1727 wxPyEndBlockThreads(blocked
);
1730 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1732 wxPyUserData
* data
= NULL
;
1733 bool blocked
= wxPyBeginBlockThreads();
1734 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1735 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1736 data
= new wxPyUserData(userData
);
1737 wxPyEndBlockThreads(blocked
);
1739 // Now call the real Add method if a valid item type was found
1741 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1742 else if ( info
.sizer
)
1743 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1744 else if (info
.gotSize
)
1745 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1746 pos
, span
, flag
, border
, data
);
1754 static int _wrap_EmptyString_set(PyObject
*_val
) {
1755 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1760 static PyObject
*_wrap_EmptyString_get() {
1765 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1767 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1774 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxObject
*arg1
= (wxObject
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "self", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= wxObject_GetClassName(arg1
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1806 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxObject
*arg1
= (wxObject
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "self", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 wxObject_Destroy(arg1
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1834 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1836 return Py_BuildValue((char *)"");
1838 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxSize
*arg1
= (wxSize
*) 0 ;
1842 PyObject
* obj0
= 0 ;
1843 PyObject
* obj1
= 0 ;
1845 (char *) "self",(char *) "x", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1851 arg2
= (int) SWIG_AsInt(obj1
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1853 if (arg1
) (arg1
)->x
= arg2
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1862 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxSize
*arg1
= (wxSize
*) 0 ;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "self", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 result
= (int) ((arg1
)->x
);
1876 resultobj
= SWIG_FromInt((int)result
);
1883 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxSize
*arg1
= (wxSize
*) 0 ;
1887 PyObject
* obj0
= 0 ;
1888 PyObject
* obj1
= 0 ;
1890 (char *) "self",(char *) "y", NULL
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1896 arg2
= (int) SWIG_AsInt(obj1
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1898 if (arg1
) (arg1
)->y
= arg2
;
1900 Py_INCREF(Py_None
); resultobj
= Py_None
;
1907 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxSize
*arg1
= (wxSize
*) 0 ;
1911 PyObject
* obj0
= 0 ;
1913 (char *) "self", NULL
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 result
= (int) ((arg1
)->y
);
1921 resultobj
= SWIG_FromInt((int)result
);
1928 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 int arg1
= (int) 0 ;
1931 int arg2
= (int) 0 ;
1933 PyObject
* obj0
= 0 ;
1934 PyObject
* obj1
= 0 ;
1936 (char *) "w",(char *) "h", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1941 arg1
= (int) SWIG_AsInt(obj0
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1945 arg2
= (int) SWIG_AsInt(obj1
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1962 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxSize
*arg1
= (wxSize
*) 0 ;
1965 PyObject
* obj0
= 0 ;
1967 (char *) "self", NULL
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 Py_INCREF(Py_None
); resultobj
= Py_None
;
1987 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxSize
*arg1
= (wxSize
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1994 PyObject
* obj1
= 0 ;
1996 (char *) "self",(char *) "sz", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2004 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2022 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2024 wxSize
*arg1
= (wxSize
*) 0 ;
2028 PyObject
* obj0
= 0 ;
2029 PyObject
* obj1
= 0 ;
2031 (char *) "self",(char *) "sz", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2039 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2057 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxSize
*arg1
= (wxSize
*) 0 ;
2063 PyObject
* obj0
= 0 ;
2064 PyObject
* obj1
= 0 ;
2066 (char *) "self",(char *) "sz", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2074 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2085 resultptr
= new wxSize((wxSize
&) result
);
2086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2094 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxSize
*arg1
= (wxSize
*) 0 ;
2100 PyObject
* obj0
= 0 ;
2101 PyObject
* obj1
= 0 ;
2103 (char *) "self",(char *) "sz", NULL
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2122 resultptr
= new wxSize((wxSize
&) result
);
2123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2131 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxSize
*arg1
= (wxSize
*) 0 ;
2136 PyObject
* obj0
= 0 ;
2137 PyObject
* obj1
= 0 ;
2139 (char *) "self",(char *) "sz", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 (arg1
)->IncTo((wxSize
const &)*arg2
);
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2156 Py_INCREF(Py_None
); resultobj
= Py_None
;
2163 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
*resultobj
;
2165 wxSize
*arg1
= (wxSize
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2169 PyObject
* obj1
= 0 ;
2171 (char *) "self",(char *) "sz", NULL
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2179 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 (arg1
)->DecTo((wxSize
const &)*arg2
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2188 Py_INCREF(Py_None
); resultobj
= Py_None
;
2195 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxSize
*arg1
= (wxSize
*) 0 ;
2200 PyObject
* obj0
= 0 ;
2201 PyObject
* obj1
= 0 ;
2202 PyObject
* obj2
= 0 ;
2204 (char *) "self",(char *) "w",(char *) "h", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 arg2
= (int) SWIG_AsInt(obj1
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2212 arg3
= (int) SWIG_AsInt(obj2
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 (arg1
)->Set(arg2
,arg3
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 Py_INCREF(Py_None
); resultobj
= Py_None
;
2228 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxSize
*arg1
= (wxSize
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "w", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 arg2
= (int) SWIG_AsInt(obj1
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 (arg1
)->SetWidth(arg2
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 Py_INCREF(Py_None
); resultobj
= Py_None
;
2257 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxSize
*arg1
= (wxSize
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "h", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 arg2
= (int) SWIG_AsInt(obj1
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 (arg1
)->SetHeight(arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 Py_INCREF(Py_None
); resultobj
= Py_None
;
2286 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxSize
*arg1
= (wxSize
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "self", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 resultobj
= SWIG_FromInt((int)result
);
2312 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxSize
*arg1
= (wxSize
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2318 (char *) "self", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 resultobj
= SWIG_FromInt((int)result
);
2338 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxSize
*arg1
= (wxSize
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (PyObject
*)wxSize_Get(arg1
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2364 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2367 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2369 return Py_BuildValue((char *)"");
2371 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2376 PyObject
* obj1
= 0 ;
2378 (char *) "self",(char *) "x", NULL
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 arg2
= (double) SWIG_AsDouble(obj1
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2386 if (arg1
) (arg1
)->x
= arg2
;
2388 Py_INCREF(Py_None
); resultobj
= Py_None
;
2395 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2401 (char *) "self", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 result
= (double) ((arg1
)->x
);
2409 resultobj
= SWIG_FromDouble((double)result
);
2416 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2420 PyObject
* obj0
= 0 ;
2421 PyObject
* obj1
= 0 ;
2423 (char *) "self",(char *) "y", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2429 arg2
= (double) SWIG_AsDouble(obj1
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2431 if (arg1
) (arg1
)->y
= arg2
;
2433 Py_INCREF(Py_None
); resultobj
= Py_None
;
2440 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
*resultobj
;
2442 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2444 PyObject
* obj0
= 0 ;
2446 (char *) "self", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2452 result
= (double) ((arg1
)->y
);
2454 resultobj
= SWIG_FromDouble((double)result
);
2461 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
*resultobj
;
2463 double arg1
= (double) 0.0 ;
2464 double arg2
= (double) 0.0 ;
2465 wxRealPoint
*result
;
2466 PyObject
* obj0
= 0 ;
2467 PyObject
* obj1
= 0 ;
2469 (char *) "x",(char *) "y", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2474 arg1
= (double) SWIG_AsDouble(obj0
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2478 arg2
= (double) SWIG_AsDouble(obj1
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2495 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2500 (char *) "self", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 Py_INCREF(Py_None
); resultobj
= Py_None
;
2520 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2523 wxRealPoint
*arg2
= 0 ;
2526 PyObject
* obj0
= 0 ;
2527 PyObject
* obj1
= 0 ;
2529 (char *) "self",(char *) "pt", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2555 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2558 wxRealPoint
*arg2
= 0 ;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "pt", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2572 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2590 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2593 wxRealPoint
*arg2
= 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "pt", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 wxRealPoint
* resultptr
;
2618 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2627 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2629 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2630 wxRealPoint
*arg2
= 0 ;
2633 PyObject
* obj0
= 0 ;
2634 PyObject
* obj1
= 0 ;
2636 (char *) "self",(char *) "pt", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2654 wxRealPoint
* resultptr
;
2655 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2664 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2671 PyObject
* obj2
= 0 ;
2673 (char *) "self",(char *) "x",(char *) "y", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 arg2
= (double) SWIG_AsDouble(obj1
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2681 arg3
= (double) SWIG_AsDouble(obj2
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 wxRealPoint_Set(arg1
,arg2
,arg3
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 Py_INCREF(Py_None
); resultobj
= Py_None
;
2697 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2701 PyObject
* obj0
= 0 ;
2703 (char *) "self", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2723 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2726 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2728 return Py_BuildValue((char *)"");
2730 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
*resultobj
;
2732 wxPoint
*arg1
= (wxPoint
*) 0 ;
2734 PyObject
* obj0
= 0 ;
2735 PyObject
* obj1
= 0 ;
2737 (char *) "self",(char *) "x", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 arg2
= (int) SWIG_AsInt(obj1
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2745 if (arg1
) (arg1
)->x
= arg2
;
2747 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxPoint
*arg1
= (wxPoint
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2760 (char *) "self", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 result
= (int) ((arg1
)->x
);
2768 resultobj
= SWIG_FromInt((int)result
);
2775 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 wxPoint
*arg1
= (wxPoint
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2780 PyObject
* obj1
= 0 ;
2782 (char *) "self",(char *) "y", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2788 arg2
= (int) SWIG_AsInt(obj1
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2790 if (arg1
) (arg1
)->y
= arg2
;
2792 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxPoint
*arg1
= (wxPoint
*) 0 ;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "self", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2811 result
= (int) ((arg1
)->y
);
2813 resultobj
= SWIG_FromInt((int)result
);
2820 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
*resultobj
;
2822 int arg1
= (int) 0 ;
2823 int arg2
= (int) 0 ;
2825 PyObject
* obj0
= 0 ;
2826 PyObject
* obj1
= 0 ;
2828 (char *) "x",(char *) "y", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2833 arg1
= (int) SWIG_AsInt(obj0
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2837 arg2
= (int) SWIG_AsInt(obj1
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2854 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
;
2856 wxPoint
*arg1
= (wxPoint
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2859 (char *) "self", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 Py_INCREF(Py_None
); resultobj
= Py_None
;
2879 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxPoint
*arg1
= (wxPoint
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2888 (char *) "self",(char *) "pt", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2914 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
*resultobj
;
2916 wxPoint
*arg1
= (wxPoint
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2923 (char *) "self",(char *) "pt", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2949 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxPoint
*arg1
= (wxPoint
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2956 PyObject
* obj1
= 0 ;
2958 (char *) "self",(char *) "pt", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2976 wxPoint
* resultptr
;
2977 resultptr
= new wxPoint((wxPoint
&) result
);
2978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2986 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxPoint
*arg1
= (wxPoint
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2995 (char *) "self",(char *) "pt", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3013 wxPoint
* resultptr
;
3014 resultptr
= new wxPoint((wxPoint
&) result
);
3015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3023 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3025 wxPoint
*arg1
= (wxPoint
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3030 PyObject
* obj1
= 0 ;
3032 (char *) "self",(char *) "pt", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3046 result
= (wxPoint
*) &_result_ref
;
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3059 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxPoint
*arg1
= (wxPoint
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3068 (char *) "self",(char *) "pt", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3082 result
= (wxPoint
*) &_result_ref
;
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3095 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxPoint
*arg1
= (wxPoint
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3101 PyObject
* obj1
= 0 ;
3102 PyObject
* obj2
= 0 ;
3104 (char *) "self",(char *) "x",(char *) "y", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 arg2
= (long) SWIG_AsLong(obj1
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3112 arg3
= (long) SWIG_AsLong(obj2
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 wxPoint_Set(arg1
,arg2
,arg3
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 Py_INCREF(Py_None
); resultobj
= Py_None
;
3128 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxPoint
*arg1
= (wxPoint
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3134 (char *) "self", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (PyObject
*)wxPoint_Get(arg1
);
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3154 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3157 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3159 return Py_BuildValue((char *)"");
3161 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 int arg1
= (int) 0 ;
3164 int arg2
= (int) 0 ;
3165 int arg3
= (int) 0 ;
3166 int arg4
= (int) 0 ;
3168 PyObject
* obj0
= 0 ;
3169 PyObject
* obj1
= 0 ;
3170 PyObject
* obj2
= 0 ;
3171 PyObject
* obj3
= 0 ;
3173 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3178 arg1
= (int) SWIG_AsInt(obj0
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 arg2
= (int) SWIG_AsInt(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 arg3
= (int) SWIG_AsInt(obj2
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 arg4
= (int) SWIG_AsInt(obj3
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3207 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3217 (char *) "topLeft",(char *) "bottomRight", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3223 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3227 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3243 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3250 PyObject
* obj0
= 0 ;
3251 PyObject
* obj1
= 0 ;
3253 (char *) "pos",(char *) "size", NULL
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3259 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3279 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxRect
*arg1
= (wxRect
*) 0 ;
3282 PyObject
* obj0
= 0 ;
3284 (char *) "self", NULL
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 Py_INCREF(Py_None
); resultobj
= Py_None
;
3304 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxRect
*arg1
= (wxRect
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3310 (char *) "self", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (int)((wxRect
const *)arg1
)->GetX();
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_FromInt((int)result
);
3330 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxRect
*arg1
= (wxRect
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3335 PyObject
* obj1
= 0 ;
3337 (char *) "self",(char *) "x", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 arg2
= (int) SWIG_AsInt(obj1
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 Py_INCREF(Py_None
); resultobj
= Py_None
;
3359 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3361 wxRect
*arg1
= (wxRect
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3365 (char *) "self", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (int)(arg1
)->GetY();
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= SWIG_FromInt((int)result
);
3385 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxRect
*arg1
= (wxRect
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3392 (char *) "self",(char *) "y", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 arg2
= (int) SWIG_AsInt(obj1
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 Py_INCREF(Py_None
); resultobj
= Py_None
;
3414 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxRect
*arg1
= (wxRect
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3420 (char *) "self", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 resultobj
= SWIG_FromInt((int)result
);
3440 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxRect
*arg1
= (wxRect
*) 0 ;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3447 (char *) "self",(char *) "w", NULL
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3453 arg2
= (int) SWIG_AsInt(obj1
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->SetWidth(arg2
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxRect
*arg1
= (wxRect
*) 0 ;
3473 PyObject
* obj0
= 0 ;
3475 (char *) "self", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 resultobj
= SWIG_FromInt((int)result
);
3495 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3497 wxRect
*arg1
= (wxRect
*) 0 ;
3499 PyObject
* obj0
= 0 ;
3500 PyObject
* obj1
= 0 ;
3502 (char *) "self",(char *) "h", NULL
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 arg2
= (int) SWIG_AsInt(obj1
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->SetHeight(arg2
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxRect
*arg1
= (wxRect
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3530 (char *) "self", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= ((wxRect
const *)arg1
)->GetPosition();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 wxPoint
* resultptr
;
3545 resultptr
= new wxPoint((wxPoint
&) result
);
3546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3554 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxRect
*arg1
= (wxRect
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "p", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 Py_INCREF(Py_None
); resultobj
= Py_None
;
3586 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxRect
*arg1
= (wxRect
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= ((wxRect
const *)arg1
)->GetSize();
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3607 resultptr
= new wxSize((wxSize
&) result
);
3608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3616 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxRect
*arg1
= (wxRect
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "s", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->SetSize((wxSize
const &)*arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxRect
*arg1
= (wxRect
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3654 (char *) "self", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3668 wxPoint
* resultptr
;
3669 resultptr
= new wxPoint((wxPoint
&) result
);
3670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3678 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxRect
*arg1
= (wxRect
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "p", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxRect
*arg1
= (wxRect
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 wxPoint
* resultptr
;
3731 resultptr
= new wxPoint((wxPoint
&) result
);
3732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3740 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxRect
*arg1
= (wxRect
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3748 (char *) "self",(char *) "p", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxRect
*arg1
= (wxRect
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "self", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 resultobj
= SWIG_FromInt((int)result
);
3798 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxRect
*arg1
= (wxRect
*) 0 ;
3802 PyObject
* obj0
= 0 ;
3804 (char *) "self", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)((wxRect
const *)arg1
)->GetTop();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_FromInt((int)result
);
3824 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxRect
*arg1
= (wxRect
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= SWIG_FromInt((int)result
);
3850 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxRect
*arg1
= (wxRect
*) 0 ;
3854 PyObject
* obj0
= 0 ;
3856 (char *) "self", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 result
= (int)((wxRect
const *)arg1
)->GetRight();
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_FromInt((int)result
);
3876 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxRect
*arg1
= (wxRect
*) 0 ;
3880 PyObject
* obj0
= 0 ;
3881 PyObject
* obj1
= 0 ;
3883 (char *) "self",(char *) "left", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3889 arg2
= (int) SWIG_AsInt(obj1
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 (arg1
)->SetLeft(arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 Py_INCREF(Py_None
); resultobj
= Py_None
;
3905 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3907 wxRect
*arg1
= (wxRect
*) 0 ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3912 (char *) "self",(char *) "right", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3918 arg2
= (int) SWIG_AsInt(obj1
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 (arg1
)->SetRight(arg2
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 Py_INCREF(Py_None
); resultobj
= Py_None
;
3934 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxRect
*arg1
= (wxRect
*) 0 ;
3938 PyObject
* obj0
= 0 ;
3939 PyObject
* obj1
= 0 ;
3941 (char *) "self",(char *) "top", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3947 arg2
= (int) SWIG_AsInt(obj1
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->SetTop(arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxRect
*arg1
= (wxRect
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "bottom", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetBottom(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4000 PyObject
* obj2
= 0 ;
4002 (char *) "self",(char *) "dx",(char *) "dy", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 arg2
= (int) SWIG_AsInt(obj1
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4010 arg3
= (int) SWIG_AsInt(obj2
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4016 result
= (wxRect
*) &_result_ref
;
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4029 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxRect
*arg1
= (wxRect
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4037 PyObject
* obj2
= 0 ;
4039 (char *) "self",(char *) "dx",(char *) "dy", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 arg2
= (int) SWIG_AsInt(obj1
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4047 arg3
= (int) SWIG_AsInt(obj2
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4053 result
= (wxRect
*) &_result_ref
;
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4066 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxRect
*arg1
= (wxRect
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4075 (char *) "self",(char *) "dx",(char *) "dy", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 arg2
= (int) SWIG_AsInt(obj1
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4083 arg3
= (int) SWIG_AsInt(obj2
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->Offset(arg2
,arg3
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 Py_INCREF(Py_None
); resultobj
= Py_None
;
4099 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxRect
*arg1
= (wxRect
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4105 PyObject
* obj1
= 0 ;
4107 (char *) "self",(char *) "pt", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->Offset((wxPoint
const &)*arg2
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxRect
*arg1
= (wxRect
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "rect", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4154 result
= (wxRect
*) &_result_ref
;
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4167 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxRect
*arg1
= (wxRect
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "rect", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4184 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4195 resultptr
= new wxRect((wxRect
&) result
);
4196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4204 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRect
*arg1
= (wxRect
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "rect", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4227 result
= (wxRect
*) &_result_ref
;
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4240 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRect
*arg1
= (wxRect
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4249 (char *) "self",(char *) "rect", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4275 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxRect
*arg1
= (wxRect
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4284 (char *) "self",(char *) "rect", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4310 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4318 PyObject
* obj2
= 0 ;
4320 (char *) "self",(char *) "x",(char *) "y", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 arg2
= (int) SWIG_AsInt(obj1
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4328 arg3
= (int) SWIG_AsInt(obj2
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4346 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxRect
*arg1
= (wxRect
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4355 (char *) "self",(char *) "pt", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4381 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxRect
*arg1
= (wxRect
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4388 PyObject
* obj1
= 0 ;
4390 (char *) "self",(char *) "rect", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxRect
*arg1
= (wxRect
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4423 (char *) "self",(char *) "x", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 arg2
= (int) SWIG_AsInt(obj1
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4431 if (arg1
) (arg1
)->x
= arg2
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxRect
*arg1
= (wxRect
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4446 (char *) "self", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4452 result
= (int) ((arg1
)->x
);
4454 resultobj
= SWIG_FromInt((int)result
);
4461 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxRect
*arg1
= (wxRect
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "self",(char *) "y", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4474 arg2
= (int) SWIG_AsInt(obj1
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4476 if (arg1
) (arg1
)->y
= arg2
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxRect
*arg1
= (wxRect
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4491 (char *) "self", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4497 result
= (int) ((arg1
)->y
);
4499 resultobj
= SWIG_FromInt((int)result
);
4506 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxRect
*arg1
= (wxRect
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4513 (char *) "self",(char *) "width", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4519 arg2
= (int) SWIG_AsInt(obj1
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4521 if (arg1
) (arg1
)->width
= arg2
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxRect
*arg1
= (wxRect
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4542 result
= (int) ((arg1
)->width
);
4544 resultobj
= SWIG_FromInt((int)result
);
4551 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxRect
*arg1
= (wxRect
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4558 (char *) "self",(char *) "height", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 arg2
= (int) SWIG_AsInt(obj1
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4566 if (arg1
) (arg1
)->height
= arg2
;
4568 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxRect
*arg1
= (wxRect
*) 0 ;
4579 PyObject
* obj0
= 0 ;
4581 (char *) "self", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4587 result
= (int) ((arg1
)->height
);
4589 resultobj
= SWIG_FromInt((int)result
);
4596 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxRect
*arg1
= (wxRect
*) 0 ;
4599 int arg2
= (int) 0 ;
4600 int arg3
= (int) 0 ;
4601 int arg4
= (int) 0 ;
4602 int arg5
= (int) 0 ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4605 PyObject
* obj2
= 0 ;
4606 PyObject
* obj3
= 0 ;
4607 PyObject
* obj4
= 0 ;
4609 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 arg2
= (int) SWIG_AsInt(obj1
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 arg3
= (int) SWIG_AsInt(obj2
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 arg4
= (int) SWIG_AsInt(obj3
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 arg5
= (int) SWIG_AsInt(obj4
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxRect
*arg1
= (wxRect
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 result
= (PyObject
*)wxRect_Get(arg1
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4671 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4674 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4676 return Py_BuildValue((char *)"");
4678 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxRect
*arg1
= (wxRect
*) 0 ;
4681 wxRect
*arg2
= (wxRect
*) 0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4686 (char *) "r1",(char *) "r2", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4708 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 double arg1
= (double) 0.0 ;
4711 double arg2
= (double) 0.0 ;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj1
= 0 ;
4716 (char *) "x",(char *) "y", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4721 arg1
= (double) SWIG_AsDouble(obj0
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4725 arg2
= (double) SWIG_AsDouble(obj1
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4742 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxPoint2D
*arg1
= 0 ;
4747 PyObject
* obj0
= 0 ;
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4755 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4771 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4776 PyObject
* obj0
= 0 ;
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4784 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4800 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4803 int *arg2
= (int *) 0 ;
4804 int *arg3
= (int *) 0 ;
4807 PyObject
* obj0
= 0 ;
4809 (char *) "self", NULL
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 Py_INCREF(Py_None
); resultobj
= Py_None
;
4826 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4827 resultobj
= t_output_helper(resultobj
,o
);
4830 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4831 resultobj
= t_output_helper(resultobj
,o
);
4839 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4842 int *arg2
= (int *) 0 ;
4843 int *arg3
= (int *) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 Py_INCREF(Py_None
); resultobj
= Py_None
;
4865 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4866 resultobj
= t_output_helper(resultobj
,o
);
4869 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4870 resultobj
= t_output_helper(resultobj
,o
);
4878 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4884 (char *) "self", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_FromDouble((double)result
);
4904 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4910 (char *) "self", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_FromDouble((double)result
);
4930 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4937 (char *) "self",(char *) "length", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4943 arg2
= (double) SWIG_AsDouble(obj1
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 (arg1
)->SetVectorLength(arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4964 PyObject
* obj1
= 0 ;
4966 (char *) "self",(char *) "degrees", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 arg2
= (double) SWIG_AsDouble(obj1
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 (arg1
)->SetVectorAngle(arg2
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 Py_INCREF(Py_None
); resultobj
= Py_None
;
4988 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4991 wxPoint2D
*arg2
= 0 ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4997 (char *) "self",(char *) "pt", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5005 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_FromDouble((double)result
);
5021 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5024 wxPoint2D
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5030 (char *) "self",(char *) "pt", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5038 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_FromDouble((double)result
);
5054 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5057 wxPoint2D
*arg2
= 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5063 (char *) "self",(char *) "vec", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5071 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_FromDouble((double)result
);
5087 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5090 wxPoint2D
*arg2
= 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "vec", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5104 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= SWIG_FromDouble((double)result
);
5120 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (arg1
)->operator -();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 wxPoint2D
* resultptr
;
5141 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5150 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5153 wxPoint2D
*arg2
= 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5159 (char *) "self",(char *) "pt", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5173 result
= (wxPoint2D
*) &_result_ref
;
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5186 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5189 wxPoint2D
*arg2
= 0 ;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5195 (char *) "self",(char *) "pt", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5209 result
= (wxPoint2D
*) &_result_ref
;
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5222 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5225 wxPoint2D
*arg2
= 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "pt", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5245 result
= (wxPoint2D
*) &_result_ref
;
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5258 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5261 wxPoint2D
*arg2
= 0 ;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5267 (char *) "self",(char *) "pt", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5281 result
= (wxPoint2D
*) &_result_ref
;
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5294 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5297 wxPoint2D
*arg2
= 0 ;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5303 (char *) "self",(char *) "pt", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5329 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5332 wxPoint2D
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "pt", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5364 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "m_x", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5377 arg2
= (double) SWIG_AsDouble(obj1
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5379 if (arg1
) (arg1
)->m_x
= arg2
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5394 (char *) "self", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5400 result
= (double) ((arg1
)->m_x
);
5402 resultobj
= SWIG_FromDouble((double)result
);
5409 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5416 (char *) "self",(char *) "m_y", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 arg2
= (double) SWIG_AsDouble(obj1
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5424 if (arg1
) (arg1
)->m_y
= arg2
;
5426 Py_INCREF(Py_None
); resultobj
= Py_None
;
5433 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 result
= (double) ((arg1
)->m_y
);
5447 resultobj
= SWIG_FromDouble((double)result
);
5454 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5457 double arg2
= (double) 0 ;
5458 double arg3
= (double) 0 ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5461 PyObject
* obj2
= 0 ;
5463 (char *) "self",(char *) "x",(char *) "y", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 arg2
= (double) SWIG_AsDouble(obj1
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 arg3
= (double) SWIG_AsDouble(obj2
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 wxPoint2D_Set(arg1
,arg2
,arg3
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "self", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5517 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5520 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5522 return Py_BuildValue((char *)"");
5524 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5525 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5530 static PyObject
*_wrap_DefaultPosition_get() {
5533 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5538 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5539 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5544 static PyObject
*_wrap_DefaultSize_get() {
5547 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5552 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 PyObject
*arg1
= (PyObject
*) 0 ;
5555 wxPyInputStream
*result
;
5556 PyObject
* obj0
= 0 ;
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5577 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5607 (char *) "self", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (bool)(arg1
)->eof();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5658 int arg2
= (int) -1 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "size", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 arg2
= (int) SWIG_AsInt(obj1
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (PyObject
*)(arg1
)->read(arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5687 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5690 int arg2
= (int) -1 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5695 (char *) "self",(char *) "size", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5702 arg2
= (int) SWIG_AsInt(obj1
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (PyObject
*)(arg1
)->readline(arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5719 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5722 int arg2
= (int) -1 ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5727 (char *) "self",(char *) "sizehint", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 arg2
= (int) SWIG_AsInt(obj1
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5751 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5755 int arg3
= (int) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 PyObject
* obj2
= 0 ;
5760 (char *) "self",(char *) "offset",(char *) "whence", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5766 arg2
= (int) SWIG_AsInt(obj1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 arg3
= (int) SWIG_AsInt(obj2
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->seek(arg2
,arg3
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5792 (char *) "self", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (int)(arg1
)->tell();
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_FromInt((int)result
);
5812 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5818 (char *) "self", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (char)(arg1
)->Peek();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_FromChar((char)result
);
5838 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (char)(arg1
)->GetC();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_FromChar((char)result
);
5864 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "self", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (size_t)(arg1
)->LastRead();
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5890 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "self", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (bool)(arg1
)->CanRead();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5918 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (bool)(arg1
)->Eof();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5954 (char *) "self",(char *) "c", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 arg2
= (char) SWIG_AsChar(obj1
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (bool)(arg1
)->Ungetch(arg2
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5982 int arg3
= (int) wxFromStart
;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5986 PyObject
* obj2
= 0 ;
5988 (char *) "self",(char *) "pos",(char *) "mode", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 arg2
= (long) SWIG_AsLong(obj1
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= SWIG_FromLong((long)result
);
6014 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6020 (char *) "self", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (long)(arg1
)->TellI();
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_FromLong((long)result
);
6040 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6043 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6045 return Py_BuildValue((char *)"");
6047 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6050 PyObject
*arg2
= (PyObject
*) 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6054 (char *) "self",(char *) "obj", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 wxOutputStream_write(arg1
,arg2
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6078 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6080 return Py_BuildValue((char *)"");
6082 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6085 wxString
*arg2
= 0 ;
6086 wxString
*arg3
= 0 ;
6087 wxString
*arg4
= 0 ;
6090 wxPyInputStream
*temp1
;
6092 bool temp2
= False
;
6093 bool temp3
= False
;
6094 bool temp4
= False
;
6096 PyObject
* obj0
= 0 ;
6097 PyObject
* obj1
= 0 ;
6098 PyObject
* obj2
= 0 ;
6099 PyObject
* obj3
= 0 ;
6100 PyObject
* obj4
= 0 ;
6102 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6107 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6108 arg1
= temp1
->m_wxis
;
6111 PyErr_Clear(); // clear the failure of the wxPyConvert above
6112 arg1
= wxPyCBInputStream_create(obj0
, False
);
6114 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6121 arg2
= wxString_in_helper(obj1
);
6122 if (arg2
== NULL
) SWIG_fail
;
6126 arg3
= wxString_in_helper(obj2
);
6127 if (arg3
== NULL
) SWIG_fail
;
6131 arg4
= wxString_in_helper(obj3
);
6132 if (arg4
== NULL
) SWIG_fail
;
6135 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6136 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= wxPyMake_wxObject(result
);
6186 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "self", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6214 wxInputStream
*result
;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (wxInputStream
*)(arg1
)->GetStream();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 wxPyInputStream
* _ptr
= NULL
;
6234 _ptr
= new wxPyInputStream(result
);
6236 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6244 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6260 result
= (wxString
*) &_result_ref
;
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6270 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6279 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 wxString
const &_result_ref
= (arg1
)->GetLocation();
6295 result
= (wxString
*) &_result_ref
;
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6305 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6314 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6330 result
= (wxString
*) &_result_ref
;
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6349 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (arg1
)->GetModificationTime();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 wxDateTime
* resultptr
;
6370 resultptr
= new wxDateTime((wxDateTime
&) result
);
6371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6379 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6382 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6384 return Py_BuildValue((char *)"");
6386 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6389 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6391 return Py_BuildValue((char *)"");
6393 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxPyFileSystemHandler
*result
;
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6415 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6418 PyObject
*arg2
= (PyObject
*) 0 ;
6419 PyObject
*arg3
= (PyObject
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 PyObject
* obj2
= 0 ;
6424 (char *) "self",(char *) "self",(char *) "_class", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 Py_INCREF(Py_None
); resultobj
= Py_None
;
6446 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6449 wxString
*arg2
= 0 ;
6451 bool temp2
= False
;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6455 (char *) "self",(char *) "location", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6462 arg2
= wxString_in_helper(obj1
);
6463 if (arg2
== NULL
) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6490 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6493 wxFileSystem
*arg2
= 0 ;
6494 wxString
*arg3
= 0 ;
6496 bool temp3
= False
;
6497 PyObject
* obj0
= 0 ;
6498 PyObject
* obj1
= 0 ;
6499 PyObject
* obj2
= 0 ;
6501 (char *) "self",(char *) "fs",(char *) "location", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6511 PyErr_SetString(PyExc_TypeError
,"null reference");
6515 arg3
= wxString_in_helper(obj2
);
6516 if (arg3
== NULL
) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= wxPyMake_wxObject(result
);
6543 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6546 wxString
*arg2
= 0 ;
6547 int arg3
= (int) 0 ;
6549 bool temp2
= False
;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6552 PyObject
* obj2
= 0 ;
6554 (char *) "self",(char *) "spec",(char *) "flags", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6561 arg2
= wxString_in_helper(obj1
);
6562 if (arg2
== NULL
) SWIG_fail
;
6566 arg3
= (int) SWIG_AsInt(obj2
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6597 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (arg1
)->FindNext();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6629 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6632 wxString
*arg2
= 0 ;
6634 bool temp2
= False
;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6638 (char *) "self",(char *) "location", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6645 arg2
= wxString_in_helper(obj1
);
6646 if (arg2
== NULL
) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6677 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6680 wxString
*arg2
= 0 ;
6682 bool temp2
= False
;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6686 (char *) "self",(char *) "location", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6693 arg2
= wxString_in_helper(obj1
);
6694 if (arg2
== NULL
) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6725 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6728 wxString
*arg2
= 0 ;
6730 bool temp2
= False
;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6734 (char *) "self",(char *) "location", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6741 arg2
= wxString_in_helper(obj1
);
6742 if (arg2
== NULL
) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6773 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6776 wxString
*arg2
= 0 ;
6778 bool temp2
= False
;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "self",(char *) "location", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 arg2
= wxString_in_helper(obj1
);
6790 if (arg2
== NULL
) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6821 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6824 wxString
*arg2
= 0 ;
6826 bool temp2
= False
;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6830 (char *) "self",(char *) "location", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6837 arg2
= wxString_in_helper(obj1
);
6838 if (arg2
== NULL
) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
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());
6869 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6872 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6874 return Py_BuildValue((char *)"");
6876 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxFileSystem
*result
;
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (wxFileSystem
*)new wxFileSystem();
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= wxPyMake_wxObject(result
);
6900 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6905 (char *) "self", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 Py_INCREF(Py_None
); resultobj
= Py_None
;
6925 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6928 wxString
*arg2
= 0 ;
6929 bool arg3
= (bool) False
;
6930 bool temp2
= False
;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 arg2
= wxString_in_helper(obj1
);
6943 if (arg2
== NULL
) SWIG_fail
;
6947 arg3
= (bool) SWIG_AsBool(obj2
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6978 (char *) "self", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (arg1
)->GetPath();
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7004 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7007 wxString
*arg2
= 0 ;
7009 bool temp2
= False
;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7013 (char *) "self",(char *) "location", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 arg2
= wxString_in_helper(obj1
);
7021 if (arg2
== NULL
) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= wxPyMake_wxObject(result
);
7048 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7051 wxString
*arg2
= 0 ;
7052 int arg3
= (int) 0 ;
7054 bool temp2
= False
;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 PyObject
* obj2
= 0 ;
7059 (char *) "self",(char *) "spec",(char *) "flags", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 arg2
= wxString_in_helper(obj1
);
7067 if (arg2
== NULL
) SWIG_fail
;
7071 arg3
= (int) SWIG_AsInt(obj2
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7102 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (arg1
)->FindNext();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7134 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "handler", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 wxFileSystem::AddHandler(arg1
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 Py_INCREF(Py_None
); resultobj
= Py_None
;
7159 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxFileSystem::CleanUpHandlers();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxString
*arg1
= 0 ;
7184 bool temp1
= False
;
7185 PyObject
* obj0
= 0 ;
7187 (char *) "filename", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7192 arg1
= wxString_in_helper(obj0
);
7193 if (arg1
== NULL
) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
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
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7227 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7229 return Py_BuildValue((char *)"");
7231 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxString
*arg1
= 0 ;
7235 bool temp1
= False
;
7236 PyObject
* obj0
= 0 ;
7238 (char *) "url", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7243 arg1
= wxString_in_helper(obj0
);
7244 if (arg1
== NULL
) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7275 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxInternetFSHandler
*result
;
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7297 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7300 wxString
*arg2
= 0 ;
7302 bool temp2
= False
;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7306 (char *) "self",(char *) "location", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7313 arg2
= wxString_in_helper(obj1
);
7314 if (arg2
== NULL
) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7341 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7344 wxFileSystem
*arg2
= 0 ;
7345 wxString
*arg3
= 0 ;
7347 bool temp3
= False
;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 PyObject
* obj2
= 0 ;
7352 (char *) "self",(char *) "fs",(char *) "location", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7362 PyErr_SetString(PyExc_TypeError
,"null reference");
7366 arg3
= wxString_in_helper(obj2
);
7367 if (arg3
== NULL
) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= wxPyMake_wxObject(result
);
7394 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7397 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7399 return Py_BuildValue((char *)"");
7401 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxZipFSHandler
*result
;
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7423 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7426 wxString
*arg2
= 0 ;
7428 bool temp2
= False
;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7432 (char *) "self",(char *) "location", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7439 arg2
= wxString_in_helper(obj1
);
7440 if (arg2
== NULL
) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7467 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7470 wxFileSystem
*arg2
= 0 ;
7471 wxString
*arg3
= 0 ;
7473 bool temp3
= False
;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 PyObject
* obj2
= 0 ;
7478 (char *) "self",(char *) "fs",(char *) "location", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7488 PyErr_SetString(PyExc_TypeError
,"null reference");
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= wxPyMake_wxObject(result
);
7520 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7523 wxString
*arg2
= 0 ;
7524 int arg3
= (int) 0 ;
7526 bool temp2
= False
;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7529 PyObject
* obj2
= 0 ;
7531 (char *) "self",(char *) "spec",(char *) "flags", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7538 arg2
= wxString_in_helper(obj1
);
7539 if (arg2
== NULL
) SWIG_fail
;
7543 arg3
= (int) SWIG_AsInt(obj2
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7574 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (arg1
)->FindNext();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7606 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7609 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7611 return Py_BuildValue((char *)"");
7613 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxString
*arg1
= 0 ;
7618 bool temp1
= False
;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7623 (char *) "filename",(char *) "image",(char *) "type", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7628 arg1
= wxString_in_helper(obj0
);
7629 if (arg1
== NULL
) SWIG_fail
;
7632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7636 PyErr_SetString(PyExc_TypeError
,"null reference");
7639 arg3
= (long) SWIG_AsLong(obj2
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxString
*arg1
= 0 ;
7666 wxBitmap
*arg2
= 0 ;
7668 bool temp1
= False
;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7673 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7678 arg1
= wxString_in_helper(obj0
);
7679 if (arg1
== NULL
) SWIG_fail
;
7682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7686 PyErr_SetString(PyExc_TypeError
,"null reference");
7689 arg3
= (long) SWIG_AsLong(obj2
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxString
*arg1
= 0 ;
7716 PyObject
*arg2
= (PyObject
*) 0 ;
7717 bool temp1
= False
;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7721 (char *) "filename",(char *) "data", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7726 arg1
= wxString_in_helper(obj0
);
7727 if (arg1
== NULL
) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxMemoryFSHandler
*result
;
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7775 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxString
*arg1
= 0 ;
7778 bool temp1
= False
;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "filename", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7786 arg1
= wxString_in_helper(obj0
);
7787 if (arg1
== NULL
) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7812 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7815 wxString
*arg2
= 0 ;
7817 bool temp2
= False
;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "location", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 arg2
= wxString_in_helper(obj1
);
7829 if (arg2
== NULL
) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7859 wxFileSystem
*arg2
= 0 ;
7860 wxString
*arg3
= 0 ;
7862 bool temp3
= False
;
7863 PyObject
* obj0
= 0 ;
7864 PyObject
* obj1
= 0 ;
7865 PyObject
* obj2
= 0 ;
7867 (char *) "self",(char *) "fs",(char *) "location", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7877 PyErr_SetString(PyExc_TypeError
,"null reference");
7881 arg3
= wxString_in_helper(obj2
);
7882 if (arg3
== NULL
) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= wxPyMake_wxObject(result
);
7909 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7912 wxString
*arg2
= 0 ;
7913 int arg3
= (int) 0 ;
7915 bool temp2
= False
;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7918 PyObject
* obj2
= 0 ;
7920 (char *) "self",(char *) "spec",(char *) "flags", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7927 arg2
= wxString_in_helper(obj1
);
7928 if (arg2
== NULL
) SWIG_fail
;
7932 arg3
= (int) SWIG_AsInt(obj2
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7963 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7969 (char *) "self", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (arg1
)->FindNext();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7995 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7998 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8000 return Py_BuildValue((char *)"");
8002 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (arg1
)->GetName();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8034 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (arg1
)->GetExtension();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8066 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (long)(arg1
)->GetType();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_FromLong((long)result
);
8092 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (arg1
)->GetMimeType();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8124 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8127 wxString
*arg2
= 0 ;
8129 bool temp2
= False
;
8130 PyObject
* obj0
= 0 ;
8131 PyObject
* obj1
= 0 ;
8133 (char *) "self",(char *) "name", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8140 arg2
= wxString_in_helper(obj1
);
8141 if (arg2
== NULL
) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8168 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8171 wxString
*arg2
= 0 ;
8172 bool temp2
= False
;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8176 (char *) "self",(char *) "name", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 arg2
= wxString_in_helper(obj1
);
8184 if (arg2
== NULL
) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 (arg1
)->SetName((wxString
const &)*arg2
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 Py_INCREF(Py_None
); resultobj
= Py_None
;
8209 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8212 wxString
*arg2
= 0 ;
8213 bool temp2
= False
;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8217 (char *) "self",(char *) "extension", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 arg2
= wxString_in_helper(obj1
);
8225 if (arg2
== NULL
) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 (arg1
)->SetExtension((wxString
const &)*arg2
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 Py_INCREF(Py_None
); resultobj
= Py_None
;
8250 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "type", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= (long) SWIG_AsLong(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->SetType(arg2
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8282 wxString
*arg2
= 0 ;
8283 bool temp2
= False
;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "self",(char *) "mimetype", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 arg2
= wxString_in_helper(obj1
);
8295 if (arg2
== NULL
) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8323 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8325 return Py_BuildValue((char *)"");
8327 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxImageHistogram
*result
;
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (wxImageHistogram
*)new wxImageHistogram();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8349 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 unsigned char arg1
;
8352 unsigned char arg2
;
8353 unsigned char arg3
;
8354 unsigned long result
;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8359 (char *) "r",(char *) "g",(char *) "b", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8363 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8365 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8367 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8383 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8386 unsigned char *arg2
= (unsigned char *) 0 ;
8387 unsigned char *arg3
= (unsigned char *) 0 ;
8388 unsigned char *arg4
= (unsigned char *) 0 ;
8389 unsigned char arg5
= (unsigned char) 1 ;
8390 unsigned char arg6
= (unsigned char) 0 ;
8391 unsigned char arg7
= (unsigned char) 0 ;
8393 unsigned char temp2
;
8394 unsigned char temp3
;
8395 unsigned char temp4
;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8398 PyObject
* obj2
= 0 ;
8399 PyObject
* obj3
= 0 ;
8401 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8419 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8433 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8434 resultobj
= t_output_helper(resultobj
,o
);
8437 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8438 resultobj
= t_output_helper(resultobj
,o
);
8441 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8442 resultobj
= t_output_helper(resultobj
,o
);
8450 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8453 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8455 return Py_BuildValue((char *)"");
8457 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxString
*arg1
= 0 ;
8460 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8461 int arg3
= (int) -1 ;
8463 bool temp1
= False
;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 PyObject
* obj2
= 0 ;
8468 (char *) "name",(char *) "type",(char *) "index", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8473 arg1
= wxString_in_helper(obj0
);
8474 if (arg1
== NULL
) SWIG_fail
;
8478 arg2
= (long) SWIG_AsLong(obj1
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 arg3
= (int) SWIG_AsInt(obj2
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8507 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxImage
*arg1
= (wxImage
*) 0 ;
8510 PyObject
* obj0
= 0 ;
8512 (char *) "self", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxString
*arg1
= 0 ;
8535 wxString
*arg2
= 0 ;
8536 int arg3
= (int) -1 ;
8538 bool temp1
= False
;
8539 bool temp2
= False
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8544 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8549 arg1
= wxString_in_helper(obj0
);
8550 if (arg1
== NULL
) SWIG_fail
;
8554 arg2
= wxString_in_helper(obj1
);
8555 if (arg2
== NULL
) SWIG_fail
;
8559 arg3
= (int) SWIG_AsInt(obj2
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8592 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxInputStream
*arg1
= 0 ;
8595 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8596 int arg3
= (int) -1 ;
8598 wxPyInputStream
*temp1
;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8602 PyObject
* obj2
= 0 ;
8604 (char *) "stream",(char *) "type",(char *) "index", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8609 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8610 arg1
= temp1
->m_wxis
;
8613 PyErr_Clear(); // clear the failure of the wxPyConvert above
8614 arg1
= wxPyCBInputStream_create(obj0
, False
);
8616 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8623 arg2
= (long) SWIG_AsLong(obj1
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 arg3
= (int) SWIG_AsInt(obj2
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8652 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxInputStream
*arg1
= 0 ;
8655 wxString
*arg2
= 0 ;
8656 int arg3
= (int) -1 ;
8658 wxPyInputStream
*temp1
;
8660 bool temp2
= False
;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 PyObject
* obj2
= 0 ;
8665 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8670 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8671 arg1
= temp1
->m_wxis
;
8674 PyErr_Clear(); // clear the failure of the wxPyConvert above
8675 arg1
= wxPyCBInputStream_create(obj0
, False
);
8677 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8684 arg2
= wxString_in_helper(obj1
);
8685 if (arg2
== NULL
) SWIG_fail
;
8689 arg3
= (int) SWIG_AsInt(obj2
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8722 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 int arg1
= (int) 0 ;
8725 int arg2
= (int) 0 ;
8726 bool arg3
= (bool) True
;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8732 (char *) "width",(char *) "height",(char *) "clear", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8737 arg1
= (int) SWIG_AsInt(obj0
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8741 arg2
= (int) SWIG_AsInt(obj1
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 arg3
= (bool) SWIG_AsBool(obj2
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8762 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxBitmap
*arg1
= 0 ;
8766 PyObject
* obj0
= 0 ;
8768 (char *) "bitmap", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8776 PyErr_SetString(PyExc_TypeError
,"null reference");
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8793 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8797 unsigned char *arg3
= (unsigned char *) 0 ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8803 (char *) "width",(char *) "height",(char *) "data", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8807 arg1
= (int) SWIG_AsInt(obj0
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8809 arg2
= (int) SWIG_AsInt(obj1
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8811 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8827 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxImage
*arg1
= (wxImage
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8834 PyObject
* obj2
= 0 ;
8836 (char *) "self",(char *) "width",(char *) "height", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 arg2
= (int) SWIG_AsInt(obj1
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8844 arg3
= (int) SWIG_AsInt(obj2
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->Create(arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxImage
*arg1
= (wxImage
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8865 (char *) "self", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8885 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxImage
*arg1
= (wxImage
*) 0 ;
8890 SwigValueWrapper
< wxImage
> result
;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8895 (char *) "self",(char *) "width",(char *) "height", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 arg2
= (int) SWIG_AsInt(obj1
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8903 arg3
= (int) SWIG_AsInt(obj2
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (arg1
)->Scale(arg2
,arg3
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8913 wxImage
* resultptr
;
8914 resultptr
= new wxImage((wxImage
&) result
);
8915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8923 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxImage
*arg1
= (wxImage
*) 0 ;
8928 SwigValueWrapper
< wxImage
> result
;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 PyObject
* obj2
= 0 ;
8933 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8939 arg2
= (int) SWIG_AsInt(obj1
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8941 arg3
= (int) SWIG_AsInt(obj2
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 wxImage
* resultptr
;
8952 resultptr
= new wxImage((wxImage
&) result
);
8953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8961 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxImage
*arg1
= (wxImage
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj2
= 0 ;
8971 (char *) "self",(char *) "width",(char *) "height", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= (int) SWIG_AsInt(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8979 arg3
= (int) SWIG_AsInt(obj2
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8985 result
= (wxImage
*) &_result_ref
;
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8998 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxImage
*arg1
= (wxImage
*) 0 ;
9003 unsigned char arg4
;
9004 unsigned char arg5
;
9005 unsigned char arg6
;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9009 PyObject
* obj3
= 0 ;
9010 PyObject
* obj4
= 0 ;
9011 PyObject
* obj5
= 0 ;
9013 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= (int) SWIG_AsInt(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 arg3
= (int) SWIG_AsInt(obj2
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9023 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9025 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9027 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxImage
*arg1
= (wxImage
*) 0 ;
9048 unsigned char result
;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9053 (char *) "self",(char *) "x",(char *) "y", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9059 arg2
= (int) SWIG_AsInt(obj1
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9061 arg3
= (int) SWIG_AsInt(obj2
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9077 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxImage
*arg1
= (wxImage
*) 0 ;
9082 unsigned char result
;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 PyObject
* obj2
= 0 ;
9087 (char *) "self",(char *) "x",(char *) "y", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 arg2
= (int) SWIG_AsInt(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9095 arg3
= (int) SWIG_AsInt(obj2
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9111 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxImage
*arg1
= (wxImage
*) 0 ;
9116 unsigned char result
;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9119 PyObject
* obj2
= 0 ;
9121 (char *) "self",(char *) "x",(char *) "y", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9127 arg2
= (int) SWIG_AsInt(obj1
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9129 arg3
= (int) SWIG_AsInt(obj2
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9145 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxImage
*arg1
= (wxImage
*) 0 ;
9150 unsigned char arg4
;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 PyObject
* obj3
= 0 ;
9156 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 arg2
= (int) SWIG_AsInt(obj1
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9164 arg3
= (int) SWIG_AsInt(obj2
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxImage
*arg1
= (wxImage
*) 0 ;
9187 unsigned char result
;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9190 PyObject
* obj2
= 0 ;
9192 (char *) "self",(char *) "x",(char *) "y", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 arg2
= (int) SWIG_AsInt(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9200 arg3
= (int) SWIG_AsInt(obj2
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9216 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxImage
*arg1
= (wxImage
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9222 (char *) "self", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (bool)(arg1
)->HasAlpha();
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9244 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxImage
*arg1
= (wxImage
*) 0 ;
9247 byte
*arg2
= (byte
*) 0 ;
9248 byte
*arg3
= (byte
*) 0 ;
9249 byte
*arg4
= (byte
*) 0 ;
9250 byte arg5
= (byte
) 0 ;
9251 byte arg6
= (byte
) 0 ;
9252 byte arg7
= (byte
) 0 ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9259 PyObject
* obj2
= 0 ;
9260 PyObject
* obj3
= 0 ;
9262 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9295 resultobj
= t_output_helper(resultobj
,o
);
9298 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9299 resultobj
= t_output_helper(resultobj
,o
);
9302 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9303 resultobj
= t_output_helper(resultobj
,o
);
9311 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxImage
*arg1
= (wxImage
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 PyObject
* obj2
= 0 ;
9322 PyObject
* obj3
= 0 ;
9323 PyObject
* obj4
= 0 ;
9325 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9335 PyErr_SetString(PyExc_TypeError
,"null reference");
9338 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9340 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9342 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9360 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxString
*arg1
= 0 ;
9364 bool temp1
= False
;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "name", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9372 arg1
= wxString_in_helper(obj0
);
9373 if (arg1
== NULL
) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9400 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxString
*arg1
= 0 ;
9403 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9405 bool temp1
= False
;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9409 (char *) "name",(char *) "type", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9414 arg1
= wxString_in_helper(obj0
);
9415 if (arg1
== NULL
) SWIG_fail
;
9419 arg2
= (long) SWIG_AsLong(obj1
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_FromInt((int)result
);
9444 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxImage
*arg1
= (wxImage
*) 0 ;
9447 wxString
*arg2
= 0 ;
9448 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9449 int arg4
= (int) -1 ;
9451 bool temp2
= False
;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 PyObject
* obj2
= 0 ;
9455 PyObject
* obj3
= 0 ;
9457 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 arg2
= wxString_in_helper(obj1
);
9465 if (arg2
== NULL
) SWIG_fail
;
9469 arg3
= (long) SWIG_AsLong(obj2
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 arg4
= (int) SWIG_AsInt(obj3
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9500 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxImage
*arg1
= (wxImage
*) 0 ;
9503 wxString
*arg2
= 0 ;
9504 wxString
*arg3
= 0 ;
9505 int arg4
= (int) -1 ;
9507 bool temp2
= False
;
9508 bool temp3
= False
;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 PyObject
* obj2
= 0 ;
9512 PyObject
* obj3
= 0 ;
9514 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 arg2
= wxString_in_helper(obj1
);
9522 if (arg2
== NULL
) SWIG_fail
;
9526 arg3
= wxString_in_helper(obj2
);
9527 if (arg3
== NULL
) SWIG_fail
;
9531 arg4
= (int) SWIG_AsInt(obj3
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9566 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxImage
*arg1
= (wxImage
*) 0 ;
9569 wxString
*arg2
= 0 ;
9572 bool temp2
= False
;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9575 PyObject
* obj2
= 0 ;
9577 (char *) "self",(char *) "name",(char *) "type", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9584 arg2
= wxString_in_helper(obj1
);
9585 if (arg2
== NULL
) SWIG_fail
;
9588 arg3
= (int) SWIG_AsInt(obj2
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9614 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxImage
*arg1
= (wxImage
*) 0 ;
9617 wxString
*arg2
= 0 ;
9618 wxString
*arg3
= 0 ;
9620 bool temp2
= False
;
9621 bool temp3
= False
;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9624 PyObject
* obj2
= 0 ;
9626 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 arg2
= wxString_in_helper(obj1
);
9634 if (arg2
== NULL
) SWIG_fail
;
9638 arg3
= wxString_in_helper(obj2
);
9639 if (arg3
== NULL
) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxInputStream
*arg1
= 0 ;
9678 wxPyInputStream
*temp1
;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "stream", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9687 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9688 arg1
= temp1
->m_wxis
;
9691 PyErr_Clear(); // clear the failure of the wxPyConvert above
9692 arg1
= wxPyCBInputStream_create(obj0
, False
);
9694 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (bool)wxImage::CanRead(*arg1
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9724 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxImage
*arg1
= (wxImage
*) 0 ;
9727 wxInputStream
*arg2
= 0 ;
9728 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9729 int arg4
= (int) -1 ;
9731 wxPyInputStream
*temp2
;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 PyObject
* obj2
= 0 ;
9736 PyObject
* obj3
= 0 ;
9738 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9746 arg2
= temp2
->m_wxis
;
9749 PyErr_Clear(); // clear the failure of the wxPyConvert above
9750 arg2
= wxPyCBInputStream_create(obj1
, False
);
9752 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9759 arg3
= (long) SWIG_AsLong(obj2
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 arg4
= (int) SWIG_AsInt(obj3
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9790 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxImage
*arg1
= (wxImage
*) 0 ;
9793 wxInputStream
*arg2
= 0 ;
9794 wxString
*arg3
= 0 ;
9795 int arg4
= (int) -1 ;
9797 wxPyInputStream
*temp2
;
9799 bool temp3
= False
;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj2
= 0 ;
9803 PyObject
* obj3
= 0 ;
9805 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9812 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9813 arg2
= temp2
->m_wxis
;
9816 PyErr_Clear(); // clear the failure of the wxPyConvert above
9817 arg2
= wxPyCBInputStream_create(obj1
, False
);
9819 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9826 arg3
= wxString_in_helper(obj2
);
9827 if (arg3
== NULL
) SWIG_fail
;
9831 arg4
= (int) SWIG_AsInt(obj3
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9866 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxImage
*arg1
= (wxImage
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9872 (char *) "self", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (bool)(arg1
)->Ok();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9894 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxImage
*arg1
= (wxImage
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "self", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (int)(arg1
)->GetWidth();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_FromInt((int)result
);
9920 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxImage
*arg1
= (wxImage
*) 0 ;
9924 PyObject
* obj0
= 0 ;
9926 (char *) "self", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (int)(arg1
)->GetHeight();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_FromInt((int)result
);
9946 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxImage
*arg1
= (wxImage
*) 0 ;
9950 SwigValueWrapper
< wxImage
> result
;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9955 (char *) "self",(char *) "rect", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 wxImage
* resultptr
;
9974 resultptr
= new wxImage((wxImage
&) result
);
9975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9983 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxImage
*arg1
= (wxImage
*) 0 ;
9986 SwigValueWrapper
< wxImage
> result
;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (arg1
)->Copy();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10003 wxImage
* resultptr
;
10004 resultptr
= new wxImage((wxImage
&) result
);
10005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10013 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxImage
*arg1
= (wxImage
*) 0 ;
10016 wxImage
*arg2
= 0 ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 PyObject
* obj2
= 0 ;
10022 PyObject
* obj3
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10033 if (arg2
== NULL
) {
10034 PyErr_SetString(PyExc_TypeError
,"null reference");
10037 arg3
= (int) SWIG_AsInt(obj2
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10039 arg4
= (int) SWIG_AsInt(obj3
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxImage
*arg1
= (wxImage
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (PyObject
*)wxImage_GetData(arg1
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= result
;
10081 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxImage
*arg1
= (wxImage
*) 0 ;
10084 PyObject
*arg2
= (PyObject
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "data", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 wxImage_SetData(arg1
,arg2
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxImage
*arg1
= (wxImage
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= result
;
10135 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxImage
*arg1
= (wxImage
*) 0 ;
10138 PyObject
*arg2
= (PyObject
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "data", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 wxImage_SetDataBuffer(arg1
,arg2
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10163 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxImage
*arg1
= (wxImage
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= result
;
10189 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxImage
*arg1
= (wxImage
*) 0 ;
10192 PyObject
*arg2
= (PyObject
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "data", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 wxImage_SetAlphaData(arg1
,arg2
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 Py_INCREF(Py_None
); resultobj
= Py_None
;
10217 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxImage
*arg1
= (wxImage
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= result
;
10243 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxImage
*arg1
= (wxImage
*) 0 ;
10246 PyObject
*arg2
= (PyObject
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "data", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxImage_SetAlphaBuffer(arg1
,arg2
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 Py_INCREF(Py_None
); resultobj
= Py_None
;
10271 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxImage
*arg1
= (wxImage
*) 0 ;
10274 unsigned char arg2
;
10275 unsigned char arg3
;
10276 unsigned char arg4
;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 PyObject
* obj2
= 0 ;
10280 PyObject
* obj3
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10288 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10290 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10292 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxImage
*arg1
= (wxImage
*) 0 ;
10311 unsigned char result
;
10312 PyObject
* obj0
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (unsigned char)(arg1
)->GetMaskRed();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10334 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxImage
*arg1
= (wxImage
*) 0 ;
10337 unsigned char result
;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (unsigned char)(arg1
)->GetMaskGreen();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10360 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImage
*arg1
= (wxImage
*) 0 ;
10363 unsigned char result
;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (unsigned char)(arg1
)->GetMaskBlue();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10386 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImage
*arg1
= (wxImage
*) 0 ;
10389 bool arg2
= (bool) True
;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self",(char *) "mask", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10400 arg2
= (bool) SWIG_AsBool(obj1
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 (arg1
)->SetMask(arg2
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 Py_INCREF(Py_None
); resultobj
= Py_None
;
10417 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxImage
*arg1
= (wxImage
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (bool)(arg1
)->HasMask();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10445 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxImage
*arg1
= (wxImage
*) 0 ;
10449 wxPoint
*arg3
= 0 ;
10450 bool arg4
= (bool) True
;
10451 wxPoint
*arg5
= (wxPoint
*) NULL
;
10452 SwigValueWrapper
< wxImage
> result
;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 PyObject
* obj3
= 0 ;
10458 PyObject
* obj4
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 arg2
= (double) SWIG_AsDouble(obj1
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10473 arg4
= (bool) SWIG_AsBool(obj3
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10488 wxImage
* resultptr
;
10489 resultptr
= new wxImage((wxImage
&) result
);
10490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10498 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxImage
*arg1
= (wxImage
*) 0 ;
10501 bool arg2
= (bool) True
;
10502 SwigValueWrapper
< wxImage
> result
;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "clockwise", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 arg2
= (bool) SWIG_AsBool(obj1
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (arg1
)->Rotate90(arg2
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10524 wxImage
* resultptr
;
10525 resultptr
= new wxImage((wxImage
&) result
);
10526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10534 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxImage
*arg1
= (wxImage
*) 0 ;
10537 bool arg2
= (bool) True
;
10538 SwigValueWrapper
< wxImage
> result
;
10539 PyObject
* obj0
= 0 ;
10540 PyObject
* obj1
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self",(char *) "horizontally", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 arg2
= (bool) SWIG_AsBool(obj1
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (arg1
)->Mirror(arg2
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10560 wxImage
* resultptr
;
10561 resultptr
= new wxImage((wxImage
&) result
);
10562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10570 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxImage
*arg1
= (wxImage
*) 0 ;
10573 unsigned char arg2
;
10574 unsigned char arg3
;
10575 unsigned char arg4
;
10576 unsigned char arg5
;
10577 unsigned char arg6
;
10578 unsigned char arg7
;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 PyObject
* obj2
= 0 ;
10582 PyObject
* obj3
= 0 ;
10583 PyObject
* obj4
= 0 ;
10584 PyObject
* obj5
= 0 ;
10585 PyObject
* obj6
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10595 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10597 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10599 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10601 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10603 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 Py_INCREF(Py_None
); resultobj
= Py_None
;
10619 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxImage
*arg1
= (wxImage
*) 0 ;
10622 unsigned char arg2
;
10623 unsigned char arg3
;
10624 unsigned char arg4
;
10625 SwigValueWrapper
< wxImage
> result
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 PyObject
* obj3
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10639 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10641 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 wxImage
* resultptr
;
10652 resultptr
= new wxImage((wxImage
&) result
);
10653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10661 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxImage
*arg1
= (wxImage
*) 0 ;
10664 wxString
*arg2
= 0 ;
10665 wxString
*arg3
= 0 ;
10666 bool temp2
= False
;
10667 bool temp3
= False
;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 PyObject
* obj2
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self",(char *) "name",(char *) "value", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10679 arg2
= wxString_in_helper(obj1
);
10680 if (arg2
== NULL
) SWIG_fail
;
10684 arg3
= wxString_in_helper(obj2
);
10685 if (arg3
== NULL
) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxImage
*arg1
= (wxImage
*) 0 ;
10721 wxString
*arg2
= 0 ;
10723 bool temp2
= False
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "name",(char *) "value", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 arg2
= wxString_in_helper(obj1
);
10736 if (arg2
== NULL
) SWIG_fail
;
10739 arg3
= (int) SWIG_AsInt(obj2
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 Py_INCREF(Py_None
); resultobj
= Py_None
;
10763 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxImage
*arg1
= (wxImage
*) 0 ;
10766 wxString
*arg2
= 0 ;
10768 bool temp2
= False
;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "name", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 arg2
= wxString_in_helper(obj1
);
10780 if (arg2
== NULL
) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10811 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxImage
*arg1
= (wxImage
*) 0 ;
10814 wxString
*arg2
= 0 ;
10816 bool temp2
= False
;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self",(char *) "name", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 arg2
= wxString_in_helper(obj1
);
10828 if (arg2
== NULL
) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_FromInt((int)result
);
10853 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxImage
*arg1
= (wxImage
*) 0 ;
10856 wxString
*arg2
= 0 ;
10858 bool temp2
= False
;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "name", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 arg2
= wxString_in_helper(obj1
);
10870 if (arg2
== NULL
) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10897 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxImage
*arg1
= (wxImage
*) 0 ;
10900 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10901 unsigned long result
;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "stopafter", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10929 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxImage
*arg1
= (wxImage
*) 0 ;
10932 wxImageHistogram
*arg2
= 0 ;
10933 unsigned long result
;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "h", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10946 if (arg2
== NULL
) {
10947 PyErr_SetString(PyExc_TypeError
,"null reference");
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10964 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10967 PyObject
* obj0
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "handler", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 wxImage::AddHandler(arg1
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 Py_INCREF(Py_None
); resultobj
= Py_None
;
10989 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10992 PyObject
* obj0
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "handler", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 wxImage::InsertHandler(arg1
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxString
*arg1
= 0 ;
11018 bool temp1
= False
;
11019 PyObject
* obj0
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "name", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11026 arg1
= wxString_in_helper(obj0
);
11027 if (arg1
== NULL
) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11054 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11057 char *kwnames
[] = {
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= wxImage::GetImageExtWildcard();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11082 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxImage
*arg1
= (wxImage
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= wxImage_ConvertToBitmap(arg1
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 wxBitmap
* resultptr
;
11103 resultptr
= new wxBitmap((wxBitmap
&) result
);
11104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11112 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxImage
*arg1
= (wxImage
*) 0 ;
11115 unsigned char arg2
;
11116 unsigned char arg3
;
11117 unsigned char arg4
;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 PyObject
* obj2
= 0 ;
11122 PyObject
* obj3
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11132 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11134 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11144 wxBitmap
* resultptr
;
11145 resultptr
= new wxBitmap((wxBitmap
&) result
);
11146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11154 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11157 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11159 return Py_BuildValue((char *)"");
11161 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 char *kwnames
[] = {
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 wxInitAllImageHandlers();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static int _wrap_NullImage_set(PyObject
*_val
) {
11183 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11188 static PyObject
*_wrap_NullImage_get() {
11191 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11196 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11197 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11202 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11207 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11209 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11216 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11217 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11222 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11227 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11229 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11236 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11237 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11242 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11247 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11249 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11256 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11257 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11262 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11267 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11269 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11276 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11277 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11282 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11287 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11289 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11296 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxBMPHandler
*result
;
11299 char *kwnames
[] = {
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (wxBMPHandler
*)new wxBMPHandler();
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11318 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11321 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11323 return Py_BuildValue((char *)"");
11325 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxICOHandler
*result
;
11328 char *kwnames
[] = {
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (wxICOHandler
*)new wxICOHandler();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11347 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11350 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11352 return Py_BuildValue((char *)"");
11354 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxCURHandler
*result
;
11357 char *kwnames
[] = {
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (wxCURHandler
*)new wxCURHandler();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11376 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11379 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11381 return Py_BuildValue((char *)"");
11383 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
;
11385 wxANIHandler
*result
;
11386 char *kwnames
[] = {
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (wxANIHandler
*)new wxANIHandler();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11405 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11408 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11410 return Py_BuildValue((char *)"");
11412 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxPNGHandler
*result
;
11415 char *kwnames
[] = {
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (wxPNGHandler
*)new wxPNGHandler();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11434 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11437 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11439 return Py_BuildValue((char *)"");
11441 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxGIFHandler
*result
;
11444 char *kwnames
[] = {
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (wxGIFHandler
*)new wxGIFHandler();
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11463 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11466 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11468 return Py_BuildValue((char *)"");
11470 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxPCXHandler
*result
;
11473 char *kwnames
[] = {
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (wxPCXHandler
*)new wxPCXHandler();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11492 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11495 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11497 return Py_BuildValue((char *)"");
11499 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxJPEGHandler
*result
;
11502 char *kwnames
[] = {
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11521 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11524 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11526 return Py_BuildValue((char *)"");
11528 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxPNMHandler
*result
;
11531 char *kwnames
[] = {
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (wxPNMHandler
*)new wxPNMHandler();
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11550 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11553 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11555 return Py_BuildValue((char *)"");
11557 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxXPMHandler
*result
;
11560 char *kwnames
[] = {
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (wxXPMHandler
*)new wxXPMHandler();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11579 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11584 return Py_BuildValue((char *)"");
11586 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxTIFFHandler
*result
;
11589 char *kwnames
[] = {
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11608 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11611 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11613 return Py_BuildValue((char *)"");
11615 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxEvtHandler
*result
;
11618 char *kwnames
[] = {
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (wxEvtHandler
*)new wxEvtHandler();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= wxPyMake_wxObject(result
);
11639 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11642 wxEvtHandler
*result
;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= wxPyMake_wxObject(result
);
11667 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11670 wxEvtHandler
*result
;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= wxPyMake_wxObject(result
);
11695 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11698 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self",(char *) "handler", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 (arg1
)->SetNextHandler(arg2
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 Py_INCREF(Py_None
); resultobj
= Py_None
;
11724 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11727 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "handler", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 (arg1
)->SetPreviousHandler(arg2
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 Py_INCREF(Py_None
); resultobj
= Py_None
;
11753 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11757 PyObject
* obj0
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11781 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self",(char *) "enabled", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11794 arg2
= (bool) SWIG_AsBool(obj1
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 (arg1
)->SetEvtHandlerEnabled(arg2
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11813 wxEvent
*arg2
= 0 ;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "self",(char *) "event", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11827 if (arg2
== NULL
) {
11828 PyErr_SetString(PyExc_TypeError
,"null reference");
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11847 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11850 wxEvent
*arg2
= 0 ;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "event", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11863 if (arg2
== NULL
) {
11864 PyErr_SetString(PyExc_TypeError
,"null reference");
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 (arg1
)->AddPendingEvent(*arg2
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 Py_INCREF(Py_None
); resultobj
= Py_None
;
11881 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->ProcessPendingEvents();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11912 PyObject
*arg5
= (PyObject
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 PyObject
* obj2
= 0 ;
11916 PyObject
* obj3
= 0 ;
11917 PyObject
* obj4
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 arg2
= (int) SWIG_AsInt(obj1
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11927 arg3
= (int) SWIG_AsInt(obj2
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11929 arg4
= (int) SWIG_AsInt(obj3
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 Py_INCREF(Py_None
); resultobj
= Py_None
;
11946 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11950 int arg3
= (int) -1 ;
11951 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 PyObject
* obj2
= 0 ;
11956 PyObject
* obj3
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11964 arg2
= (int) SWIG_AsInt(obj1
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 arg3
= (int) SWIG_AsInt(obj2
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11990 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11993 PyObject
*arg2
= (PyObject
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "_self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 wxEvtHandler__setOORInfo(arg1
,arg2
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 Py_INCREF(Py_None
); resultobj
= Py_None
;
12018 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12021 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12023 return Py_BuildValue((char *)"");
12025 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxEventType result
;
12028 char *kwnames
[] = {
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxEventType
)wxNewEventType();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_FromInt((int)result
);
12047 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxEvent
*arg1
= (wxEvent
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 Py_INCREF(Py_None
); resultobj
= Py_None
;
12072 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxEvent
*arg1
= (wxEvent
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "typ", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12085 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetEventType(arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxEvent
*arg1
= (wxEvent
*) 0 ;
12104 wxEventType result
;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_FromInt((int)result
);
12127 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxEvent
*arg1
= (wxEvent
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= wxPyMake_wxObject(result
);
12155 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxEvent
*arg1
= (wxEvent
*) 0 ;
12158 wxObject
*arg2
= (wxObject
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self",(char *) "obj", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 (arg1
)->SetEventObject(arg2
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 Py_INCREF(Py_None
); resultobj
= Py_None
;
12184 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxEvent
*arg1
= (wxEvent
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= SWIG_FromLong((long)result
);
12210 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxEvent
*arg1
= (wxEvent
*) 0 ;
12213 long arg2
= (long) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "ts", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12224 arg2
= (long) SWIG_AsLong(obj1
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetTimestamp(arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxEvent
*arg1
= (wxEvent
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (int)((wxEvent
const *)arg1
)->GetId();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= SWIG_FromInt((int)result
);
12267 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxEvent
*arg1
= (wxEvent
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "Id", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12280 arg2
= (int) SWIG_AsInt(obj1
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetId(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12296 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxEvent
*arg1
= (wxEvent
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12324 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxEvent
*arg1
= (wxEvent
*) 0 ;
12327 bool arg2
= (bool) True
;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "skip", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 arg2
= (bool) SWIG_AsBool(obj1
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->Skip(arg2
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxEvent
*arg1
= (wxEvent
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12383 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxEvent
*arg1
= (wxEvent
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12411 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxEvent
*arg1
= (wxEvent
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (int)(arg1
)->StopPropagation();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_FromInt((int)result
);
12437 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxEvent
*arg1
= (wxEvent
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "propagationLevel", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg2
= (int) SWIG_AsInt(obj1
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->ResumePropagation(arg2
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxEvent
*arg1
= (wxEvent
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (wxEvent
*)(arg1
)->Clone();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12492 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12495 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12497 return Py_BuildValue((char *)"");
12499 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxEvent
*arg1
= 0 ;
12502 wxPropagationDisabler
*result
;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "event", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12512 if (arg1
== NULL
) {
12513 PyErr_SetString(PyExc_TypeError
,"null reference");
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12530 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12558 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12560 return Py_BuildValue((char *)"");
12562 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxEvent
*arg1
= 0 ;
12565 wxPropagateOnce
*result
;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "event", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12575 if (arg1
== NULL
) {
12576 PyErr_SetString(PyExc_TypeError
,"null reference");
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12593 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 Py_INCREF(Py_None
); resultobj
= Py_None
;
12618 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12621 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12623 return Py_BuildValue((char *)"");
12625 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12628 int arg2
= (int) 0 ;
12629 wxCommandEvent
*result
;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "commandType",(char *) "winid", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12638 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 arg2
= (int) SWIG_AsInt(obj1
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12659 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_FromInt((int)result
);
12685 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12688 wxString
*arg2
= 0 ;
12689 bool temp2
= False
;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self",(char *) "s", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 arg2
= wxString_in_helper(obj1
);
12701 if (arg2
== NULL
) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetString((wxString
const &)*arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12758 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12786 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12814 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self",(char *) "extraLong", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 arg2
= (long) SWIG_AsLong(obj1
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 (arg1
)->SetExtraLong(arg2
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_FromLong((long)result
);
12869 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "i", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12882 arg2
= (int) SWIG_AsInt(obj1
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->SetInt(arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_FromLong((long)result
);
12924 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12928 PyObject
* obj0
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12950 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12953 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12955 return Py_BuildValue((char *)"");
12957 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12960 int arg2
= (int) 0 ;
12961 wxNotifyEvent
*result
;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "commandType",(char *) "winid", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12970 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 arg2
= (int) SWIG_AsInt(obj1
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12991 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 Py_INCREF(Py_None
); resultobj
= Py_None
;
13016 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 Py_INCREF(Py_None
); resultobj
= Py_None
;
13041 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (bool)(arg1
)->IsAllowed();
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13069 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13072 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13074 return Py_BuildValue((char *)"");
13076 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13079 int arg2
= (int) 0 ;
13080 int arg3
= (int) 0 ;
13081 int arg4
= (int) 0 ;
13082 wxScrollEvent
*result
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 PyObject
* obj3
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13093 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 arg2
= (int) SWIG_AsInt(obj1
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13101 arg3
= (int) SWIG_AsInt(obj2
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 arg4
= (int) SWIG_AsInt(obj3
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13122 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_FromInt((int)result
);
13148 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_FromInt((int)result
);
13174 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "orient", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 arg2
= (int) SWIG_AsInt(obj1
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->SetOrientation(arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "pos", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 arg2
= (int) SWIG_AsInt(obj1
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 (arg1
)->SetPosition(arg2
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 Py_INCREF(Py_None
); resultobj
= Py_None
;
13232 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13235 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13237 return Py_BuildValue((char *)"");
13239 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13242 int arg2
= (int) 0 ;
13243 int arg3
= (int) 0 ;
13244 wxScrollWinEvent
*result
;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 PyObject
* obj2
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13254 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 arg2
= (int) SWIG_AsInt(obj1
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 arg3
= (int) SWIG_AsInt(obj2
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13279 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_FromInt((int)result
);
13305 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_FromInt((int)result
);
13331 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "orient", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= (int) SWIG_AsInt(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 (arg1
)->SetOrientation(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 Py_INCREF(Py_None
); resultobj
= Py_None
;
13360 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "pos", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 arg2
= (int) SWIG_AsInt(obj1
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 (arg1
)->SetPosition(arg2
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 Py_INCREF(Py_None
); resultobj
= Py_None
;
13389 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13392 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13394 return Py_BuildValue((char *)"");
13396 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13399 wxMouseEvent
*result
;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "mouseType", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13407 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= wxPyMake_wxObject(result
);
13426 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13457 int arg2
= (int) wxMOUSE_BTN_ANY
;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "but", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13469 arg2
= (int) SWIG_AsInt(obj1
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13491 int arg2
= (int) wxMOUSE_BTN_ANY
;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "but", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 arg2
= (int) SWIG_AsInt(obj1
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13522 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13525 int arg2
= (int) wxMOUSE_BTN_ANY
;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "but", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 arg2
= (int) SWIG_AsInt(obj1
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "but", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13570 arg2
= (int) SWIG_AsInt(obj1
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13588 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 PyObject
* obj1
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self",(char *) "but", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 arg2
= (int) SWIG_AsInt(obj1
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13620 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_FromInt((int)result
);
13646 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13674 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13702 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13730 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13758 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13786 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13814 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13842 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13870 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13898 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13926 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13954 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13982 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13986 PyObject
* obj0
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14010 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (bool)(arg1
)->LeftIsDown();
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14038 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (bool)(arg1
)->MiddleIsDown();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14066 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (bool)(arg1
)->RightIsDown();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14094 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14122 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14150 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14154 PyObject
* obj0
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14178 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14206 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (arg1
)->GetPosition();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 wxPoint
* resultptr
;
14227 resultptr
= new wxPoint((wxPoint
&) result
);
14228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14236 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14239 long *arg2
= (long *) 0 ;
14240 long *arg3
= (long *) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 (arg1
)->GetPosition(arg2
,arg3
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 Py_INCREF(Py_None
); resultobj
= Py_None
;
14262 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14263 resultobj
= t_output_helper(resultobj
,o
);
14266 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14267 resultobj
= t_output_helper(resultobj
,o
);
14275 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 PyObject
* obj1
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self",(char *) "dc", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14292 if (arg2
== NULL
) {
14293 PyErr_SetString(PyExc_TypeError
,"null reference");
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 wxPoint
* resultptr
;
14305 resultptr
= new wxPoint((wxPoint
&) result
);
14306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14314 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_FromInt((int)result
);
14340 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_FromInt((int)result
);
14366 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_FromInt((int)result
);
14392 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_FromInt((int)result
);
14418 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_FromInt((int)result
);
14444 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14472 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "m_x", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 arg2
= (int) SWIG_AsInt(obj1
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14487 if (arg1
) (arg1
)->m_x
= arg2
;
14489 Py_INCREF(Py_None
); resultobj
= Py_None
;
14496 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 result
= (int) ((arg1
)->m_x
);
14510 resultobj
= SWIG_FromInt((int)result
);
14517 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "m_y", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 arg2
= (int) SWIG_AsInt(obj1
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14532 if (arg1
) (arg1
)->m_y
= arg2
;
14534 Py_INCREF(Py_None
); resultobj
= Py_None
;
14541 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14553 result
= (int) ((arg1
)->m_y
);
14555 resultobj
= SWIG_FromInt((int)result
);
14562 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 PyObject
* obj1
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self",(char *) "m_leftDown", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 arg2
= (bool) SWIG_AsBool(obj1
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14577 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14598 result
= (bool) ((arg1
)->m_leftDown
);
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self",(char *) "m_middleDown", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 arg2
= (bool) SWIG_AsBool(obj1
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14624 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14645 result
= (bool) ((arg1
)->m_middleDown
);
14648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "m_rightDown", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (bool) SWIG_AsBool(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14671 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 result
= (bool) ((arg1
)->m_rightDown
);
14695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14703 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "m_controlDown", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg2
= (bool) SWIG_AsBool(obj1
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14718 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 result
= (bool) ((arg1
)->m_controlDown
);
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14750 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "m_shiftDown", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 arg2
= (bool) SWIG_AsBool(obj1
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14765 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14767 Py_INCREF(Py_None
); resultobj
= Py_None
;
14774 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 result
= (bool) ((arg1
)->m_shiftDown
);
14789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14797 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self",(char *) "m_altDown", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 arg2
= (bool) SWIG_AsBool(obj1
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14812 if (arg1
) (arg1
)->m_altDown
= arg2
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 result
= (bool) ((arg1
)->m_altDown
);
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "self",(char *) "m_metaDown", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 arg2
= (bool) SWIG_AsBool(obj1
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14859 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 result
= (bool) ((arg1
)->m_metaDown
);
14883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14891 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "m_wheelRotation", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 arg2
= (int) SWIG_AsInt(obj1
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14906 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14908 Py_INCREF(Py_None
); resultobj
= Py_None
;
14915 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 result
= (int) ((arg1
)->m_wheelRotation
);
14929 resultobj
= SWIG_FromInt((int)result
);
14936 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "m_wheelDelta", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 arg2
= (int) SWIG_AsInt(obj1
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14951 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14953 Py_INCREF(Py_None
); resultobj
= Py_None
;
14960 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 result
= (int) ((arg1
)->m_wheelDelta
);
14974 resultobj
= SWIG_FromInt((int)result
);
14981 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self",(char *) "m_linesPerAction", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 arg2
= (int) SWIG_AsInt(obj1
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14996 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 result
= (int) ((arg1
)->m_linesPerAction
);
15019 resultobj
= SWIG_FromInt((int)result
);
15026 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15029 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15031 return Py_BuildValue((char *)"");
15033 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 int arg1
= (int) 0 ;
15036 int arg2
= (int) 0 ;
15037 wxSetCursorEvent
*result
;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "x",(char *) "y", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15046 arg1
= (int) SWIG_AsInt(obj0
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 arg2
= (int) SWIG_AsInt(obj1
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15067 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= SWIG_FromInt((int)result
);
15093 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_FromInt((int)result
);
15119 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15122 wxCursor
*arg2
= 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "cursor", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15135 if (arg2
== NULL
) {
15136 PyErr_SetString(PyExc_TypeError
,"null reference");
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 Py_INCREF(Py_None
); resultobj
= Py_None
;
15153 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15169 result
= (wxCursor
*) &_result_ref
;
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 wxCursor
* resultptr
= new wxCursor(*result
);
15177 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15185 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15216 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15218 return Py_BuildValue((char *)"");
15220 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15223 wxKeyEvent
*result
;
15224 PyObject
* obj0
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "keyType", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15231 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15248 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15388 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_FromInt((int)result
);
15414 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_FromInt((int)result
);
15440 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15443 unsigned int result
;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15466 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15469 unsigned int result
;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15492 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (arg1
)->GetPosition();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15512 wxPoint
* resultptr
;
15513 resultptr
= new wxPoint((wxPoint
&) result
);
15514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15522 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15525 long *arg2
= (long *) 0 ;
15526 long *arg3
= (long *) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->GetPosition(arg2
,arg3
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15548 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15549 resultobj
= t_output_helper(resultobj
,o
);
15552 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15553 resultobj
= t_output_helper(resultobj
,o
);
15561 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15565 PyObject
* obj0
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_FromInt((int)result
);
15587 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_FromInt((int)result
);
15613 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "m_x", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15626 arg2
= (int) SWIG_AsInt(obj1
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15628 if (arg1
) (arg1
)->m_x
= arg2
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15649 result
= (int) ((arg1
)->m_x
);
15651 resultobj
= SWIG_FromInt((int)result
);
15658 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self",(char *) "m_y", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 arg2
= (int) SWIG_AsInt(obj1
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15673 if (arg1
) (arg1
)->m_y
= arg2
;
15675 Py_INCREF(Py_None
); resultobj
= Py_None
;
15682 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15686 PyObject
* obj0
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 result
= (int) ((arg1
)->m_y
);
15696 resultobj
= SWIG_FromInt((int)result
);
15703 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "m_keyCode", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 arg2
= (long) SWIG_AsLong(obj1
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15718 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15720 Py_INCREF(Py_None
); resultobj
= Py_None
;
15727 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15731 PyObject
* obj0
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 result
= (long) ((arg1
)->m_keyCode
);
15741 resultobj
= SWIG_FromLong((long)result
);
15748 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "m_controlDown", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 arg2
= (bool) SWIG_AsBool(obj1
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15763 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15784 result
= (bool) ((arg1
)->m_controlDown
);
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self",(char *) "m_shiftDown", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 arg2
= (bool) SWIG_AsBool(obj1
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15810 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15812 Py_INCREF(Py_None
); resultobj
= Py_None
;
15819 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 result
= (bool) ((arg1
)->m_shiftDown
);
15834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self",(char *) "m_altDown", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 arg2
= (bool) SWIG_AsBool(obj1
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15857 if (arg1
) (arg1
)->m_altDown
= arg2
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 result
= (bool) ((arg1
)->m_altDown
);
15881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15889 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "m_metaDown", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15902 arg2
= (bool) SWIG_AsBool(obj1
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15904 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15906 Py_INCREF(Py_None
); resultobj
= Py_None
;
15913 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 result
= (bool) ((arg1
)->m_metaDown
);
15928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15936 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "m_scanCode", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 arg2
= (bool) SWIG_AsBool(obj1
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15951 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 result
= (bool) ((arg1
)->m_scanCode
);
15975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15986 unsigned int arg2
;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "m_rawCode", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15998 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16010 unsigned int result
;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 result
= (unsigned int) ((arg1
)->m_rawCode
);
16021 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16028 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16031 unsigned int arg2
;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self",(char *) "m_rawFlags", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16043 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16045 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16055 unsigned int result
;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16066 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16073 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16076 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16078 return Py_BuildValue((char *)"");
16080 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16083 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16084 int arg2
= (int) 0 ;
16085 wxSizeEvent
*result
;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "sz",(char *) "winid", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16097 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16101 arg2
= (int) SWIG_AsInt(obj1
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16118 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 wxSize
* resultptr
;
16139 resultptr
= new wxSize((wxSize
&) result
);
16140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16148 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 wxRect
* resultptr
;
16169 resultptr
= new wxRect((wxRect
&) result
);
16170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16178 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self",(char *) "rect", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16192 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16193 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 (arg1
)->SetRect(arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 Py_INCREF(Py_None
); resultobj
= Py_None
;
16209 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "size", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16224 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 wxSizeEvent_SetSize(arg1
,arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 Py_INCREF(Py_None
); resultobj
= Py_None
;
16240 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16243 wxSize
*arg2
= (wxSize
*) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "m_size", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 if (arg1
) (arg1
)->m_size
= *arg2
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16264 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 result
= (wxSize
*)& ((arg1
)->m_size
);
16278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16285 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16288 wxRect
*arg2
= (wxRect
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "m_rect", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 if (arg1
) (arg1
)->m_rect
= *arg2
;
16302 Py_INCREF(Py_None
); resultobj
= Py_None
;
16309 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16321 result
= (wxRect
*)& ((arg1
)->m_rect
);
16323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16330 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16333 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16335 return Py_BuildValue((char *)"");
16337 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16340 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16341 int arg2
= (int) 0 ;
16342 wxMoveEvent
*result
;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "pos",(char *) "winid", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16354 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16358 arg2
= (int) SWIG_AsInt(obj1
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16375 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 wxPoint
* resultptr
;
16396 resultptr
= new wxPoint((wxPoint
&) result
);
16397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16405 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 wxRect
* resultptr
;
16426 resultptr
= new wxRect((wxRect
&) result
);
16427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16435 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "rect", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16450 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 (arg1
)->SetRect(arg2
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 Py_INCREF(Py_None
); resultobj
= Py_None
;
16466 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self",(char *) "pos", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16480 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16481 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 wxMoveEvent_SetPosition(arg1
,arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 Py_INCREF(Py_None
); resultobj
= Py_None
;
16497 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16500 wxPoint
*arg2
= (wxPoint
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "m_pos", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 if (arg1
) (arg1
)->m_pos
= *arg2
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16542 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16545 wxRect
*arg2
= (wxRect
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "m_rect", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 if (arg1
) (arg1
)->m_rect
= *arg2
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16578 result
= (wxRect
*)& ((arg1
)->m_rect
);
16580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16587 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16590 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16592 return Py_BuildValue((char *)"");
16594 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 int arg1
= (int) 0 ;
16597 wxPaintEvent
*result
;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "Id", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16605 arg1
= (int) SWIG_AsInt(obj0
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16622 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16625 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16627 return Py_BuildValue((char *)"");
16629 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 int arg1
= (int) 0 ;
16632 wxNcPaintEvent
*result
;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "winid", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16640 arg1
= (int) SWIG_AsInt(obj0
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16657 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16660 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16662 return Py_BuildValue((char *)"");
16664 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 int arg1
= (int) 0 ;
16667 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16668 wxEraseEvent
*result
;
16669 PyObject
* obj0
= 0 ;
16670 PyObject
* obj1
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "Id",(char *) "dc", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16677 arg1
= (int) SWIG_AsInt(obj0
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16698 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16702 PyObject
* obj0
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= wxPyMake_wxObject(result
);
16726 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16731 return Py_BuildValue((char *)"");
16733 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16736 int arg2
= (int) 0 ;
16737 wxFocusEvent
*result
;
16738 PyObject
* obj0
= 0 ;
16739 PyObject
* obj1
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "type",(char *) "winid", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16746 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 arg2
= (int) SWIG_AsInt(obj1
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16767 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16771 PyObject
* obj0
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= wxPyMake_wxObject(result
);
16795 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16798 wxWindow
*arg2
= (wxWindow
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self",(char *) "win", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 (arg1
)->SetWindow(arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 Py_INCREF(Py_None
); resultobj
= Py_None
;
16824 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16827 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16829 return Py_BuildValue((char *)"");
16831 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxWindow
*arg1
= (wxWindow
*) NULL
;
16834 wxChildFocusEvent
*result
;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "win", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16859 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= wxPyMake_wxObject(result
);
16887 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16890 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16892 return Py_BuildValue((char *)"");
16894 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16897 bool arg2
= (bool) True
;
16898 int arg3
= (int) 0 ;
16899 wxActivateEvent
*result
;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 PyObject
* obj2
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "type",(char *) "active",(char *) "Id", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16909 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 arg2
= (bool) SWIG_AsBool(obj1
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 arg3
= (int) SWIG_AsInt(obj2
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16934 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16962 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16965 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16967 return Py_BuildValue((char *)"");
16969 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 int arg1
= (int) 0 ;
16972 wxInitDialogEvent
*result
;
16973 PyObject
* obj0
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "Id", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16980 arg1
= (int) SWIG_AsInt(obj0
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16997 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17000 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17002 return Py_BuildValue((char *)"");
17004 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17007 int arg2
= (int) 0 ;
17008 wxMenu
*arg3
= (wxMenu
*) NULL
;
17009 wxMenuEvent
*result
;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 PyObject
* obj2
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "type",(char *) "winid",(char *) "menu", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17019 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 arg2
= (int) SWIG_AsInt(obj1
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17044 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17048 PyObject
* obj0
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_FromInt((int)result
);
17070 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17098 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= wxPyMake_wxObject(result
);
17126 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17129 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17131 return Py_BuildValue((char *)"");
17133 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17136 int arg2
= (int) 0 ;
17137 wxCloseEvent
*result
;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "type",(char *) "winid", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17146 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 arg2
= (int) SWIG_AsInt(obj1
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17167 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "self",(char *) "logOff", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17180 arg2
= (bool) SWIG_AsBool(obj1
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 (arg1
)->SetLoggingOff(arg2
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 Py_INCREF(Py_None
); resultobj
= Py_None
;
17196 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17200 PyObject
* obj0
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17224 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17227 bool arg2
= (bool) True
;
17228 PyObject
* obj0
= 0 ;
17229 PyObject
* obj1
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "veto", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17238 arg2
= (bool) SWIG_AsBool(obj1
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 (arg1
)->Veto(arg2
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 Py_INCREF(Py_None
); resultobj
= Py_None
;
17255 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "canVeto", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 arg2
= (bool) SWIG_AsBool(obj1
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 (arg1
)->SetCanVeto(arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 Py_INCREF(Py_None
); resultobj
= Py_None
;
17284 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17312 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17340 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17343 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17345 return Py_BuildValue((char *)"");
17347 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 int arg1
= (int) 0 ;
17350 bool arg2
= (bool) False
;
17351 wxShowEvent
*result
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "winid",(char *) "show", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17360 arg1
= (int) SWIG_AsInt(obj0
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 arg2
= (bool) SWIG_AsBool(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17381 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self",(char *) "show", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 arg2
= (bool) SWIG_AsBool(obj1
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->SetShow(arg2
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17441 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17443 return Py_BuildValue((char *)"");
17445 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 int arg1
= (int) 0 ;
17448 bool arg2
= (bool) True
;
17449 wxIconizeEvent
*result
;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "id",(char *) "iconized", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17458 arg1
= (int) SWIG_AsInt(obj0
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 arg2
= (bool) SWIG_AsBool(obj1
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17479 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)(arg1
)->Iconized();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17510 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17512 return Py_BuildValue((char *)"");
17514 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 int arg1
= (int) 0 ;
17517 wxMaximizeEvent
*result
;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "id", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17525 arg1
= (int) SWIG_AsInt(obj0
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17542 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17545 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17547 return Py_BuildValue((char *)"");
17549 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (arg1
)->GetPosition();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 wxPoint
* resultptr
;
17570 resultptr
= new wxPoint((wxPoint
&) result
);
17571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17579 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (int)(arg1
)->GetNumberOfFiles();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_FromInt((int)result
);
17605 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
;
17631 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17634 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17636 return Py_BuildValue((char *)"");
17638 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 int arg1
= (int) 0 ;
17641 wxUpdateUIEvent
*result
;
17642 PyObject
* obj0
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "commandId", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17649 arg1
= (int) SWIG_AsInt(obj0
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17666 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17694 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17722 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17754 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 char *kwnames
[] = {
17760 (char *) "self", NULL
17763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17782 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17786 PyObject
* obj0
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17810 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17838 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "check", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17851 arg2
= (bool) SWIG_AsBool(obj1
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->Check(arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self",(char *) "enable", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17880 arg2
= (bool) SWIG_AsBool(obj1
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 (arg1
)->Enable(arg2
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17899 wxString
*arg2
= 0 ;
17900 bool temp2
= False
;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self",(char *) "text", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17911 arg2
= wxString_in_helper(obj1
);
17912 if (arg2
== NULL
) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->SetText((wxString
const &)*arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "updateInterval", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17946 arg1
= (long) SWIG_AsLong(obj0
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 Py_INCREF(Py_None
); resultobj
= Py_None
;
17962 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17965 char *kwnames
[] = {
17969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_FromLong((long)result
);
17984 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxWindow
*arg1
= (wxWindow
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "win", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18012 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 char *kwnames
[] = {
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 wxUpdateUIEvent::ResetUpdateTime();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18036 PyObject
* obj0
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "mode", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18042 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18061 char *kwnames
[] = {
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (int)wxUpdateUIEvent::GetMode();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_FromInt((int)result
);
18080 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18083 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18085 return Py_BuildValue((char *)"");
18087 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxSysColourChangedEvent
*result
;
18090 char *kwnames
[] = {
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18109 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18112 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18114 return Py_BuildValue((char *)"");
18116 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 int arg1
= (int) 0 ;
18119 wxWindow
*arg2
= (wxWindow
*) NULL
;
18120 wxMouseCaptureChangedEvent
*result
;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "winid",(char *) "gainedCapture", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18129 arg1
= (int) SWIG_AsInt(obj0
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18150 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= wxPyMake_wxObject(result
);
18178 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18181 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18183 return Py_BuildValue((char *)"");
18185 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxDisplayChangedEvent
*result
;
18188 char *kwnames
[] = {
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18207 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18210 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18212 return Py_BuildValue((char *)"");
18214 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 int arg1
= (int) 0 ;
18217 wxPaletteChangedEvent
*result
;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "id", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18225 arg1
= (int) SWIG_AsInt(obj0
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18242 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18245 wxWindow
*arg2
= (wxWindow
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "win", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 (arg1
)->SetChangedWindow(arg2
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 Py_INCREF(Py_None
); resultobj
= Py_None
;
18271 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= wxPyMake_wxObject(result
);
18299 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18302 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18304 return Py_BuildValue((char *)"");
18306 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 int arg1
= (int) 0 ;
18309 wxQueryNewPaletteEvent
*result
;
18310 PyObject
* obj0
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "winid", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18317 arg1
= (int) SWIG_AsInt(obj0
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18334 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self",(char *) "realized", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 arg2
= (bool) SWIG_AsBool(obj1
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->SetPaletteRealized(arg2
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 Py_INCREF(Py_None
); resultobj
= Py_None
;
18363 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18391 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18394 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18396 return Py_BuildValue((char *)"");
18398 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxNavigationKeyEvent
*result
;
18401 char *kwnames
[] = {
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18420 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18448 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self",(char *) "bForward", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 arg2
= (bool) SWIG_AsBool(obj1
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 (arg1
)->SetDirection(arg2
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 Py_INCREF(Py_None
); resultobj
= Py_None
;
18477 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18505 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self",(char *) "bIs", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18518 arg2
= (bool) SWIG_AsBool(obj1
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 (arg1
)->SetWindowChange(arg2
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 Py_INCREF(Py_None
); resultobj
= Py_None
;
18534 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= wxPyMake_wxObject(result
);
18562 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18565 wxWindow
*arg2
= (wxWindow
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self",(char *) "win", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 (arg1
)->SetCurrentFocus(arg2
);
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 Py_INCREF(Py_None
); resultobj
= Py_None
;
18591 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18594 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18596 return Py_BuildValue((char *)"");
18598 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxWindow
*arg1
= (wxWindow
*) NULL
;
18601 wxWindowCreateEvent
*result
;
18602 PyObject
* obj0
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "win", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18626 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= wxPyMake_wxObject(result
);
18654 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18657 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18659 return Py_BuildValue((char *)"");
18661 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxWindow
*arg1
= (wxWindow
*) NULL
;
18664 wxWindowDestroyEvent
*result
;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "win", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18689 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= wxPyMake_wxObject(result
);
18717 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18720 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18722 return Py_BuildValue((char *)"");
18724 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18727 int arg2
= (int) 0 ;
18728 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18729 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18730 wxContextMenuEvent
*result
;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 PyObject
* obj2
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "type",(char *) "winid",(char *) "pt", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18741 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 arg2
= (int) SWIG_AsInt(obj1
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18751 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18768 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18784 result
= (wxPoint
*) &_result_ref
;
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18797 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18800 wxPoint
*arg2
= 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self",(char *) "pos", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 Py_INCREF(Py_None
); resultobj
= Py_None
;
18829 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18832 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18834 return Py_BuildValue((char *)"");
18836 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxIdleEvent
*result
;
18839 char *kwnames
[] = {
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (wxIdleEvent
*)new wxIdleEvent();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18858 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18861 bool arg2
= (bool) True
;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "needMore", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 arg2
= (bool) SWIG_AsBool(obj1
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->RequestMore(arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18917 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "mode", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18926 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 Py_INCREF(Py_None
); resultobj
= Py_None
;
18942 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18945 char *kwnames
[] = {
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (int)wxIdleEvent::GetMode();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_FromInt((int)result
);
18964 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxWindow
*arg1
= (wxWindow
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "win", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (bool)wxIdleEvent::CanSend(arg1
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18992 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18995 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18997 return Py_BuildValue((char *)"");
18999 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 int arg1
= (int) 0 ;
19002 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "winid",(char *) "commandType", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19012 arg1
= (int) SWIG_AsInt(obj0
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19033 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 Py_INCREF(Py_None
); resultobj
= Py_None
;
19058 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19061 PyObject
*arg2
= (PyObject
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self",(char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 (arg1
)->SetSelf(arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 Py_INCREF(Py_None
); resultobj
= Py_None
;
19086 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (PyObject
*)(arg1
)->GetSelf();
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= result
;
19112 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19115 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19117 return Py_BuildValue((char *)"");
19119 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19122 int arg2
= (int) 0 ;
19123 wxPyCommandEvent
*result
;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "commandType",(char *) "id", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19132 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19136 arg2
= (int) SWIG_AsInt(obj1
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19153 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 Py_INCREF(Py_None
); resultobj
= Py_None
;
19178 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19181 PyObject
*arg2
= (PyObject
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 (arg1
)->SetSelf(arg2
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 Py_INCREF(Py_None
); resultobj
= Py_None
;
19206 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (PyObject
*)(arg1
)->GetSelf();
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= result
;
19232 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19237 return Py_BuildValue((char *)"");
19239 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19242 char *kwnames
[] = {
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (wxPyApp
*)new_wxPyApp();
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= wxPyMake_wxObject(result
);
19263 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19288 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19291 PyObject
*arg2
= (PyObject
*) 0 ;
19292 PyObject
*arg3
= (PyObject
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 PyObject
* obj2
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "self",(char *) "_class", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19351 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19354 wxString
*arg2
= 0 ;
19355 bool temp2
= False
;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "name", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 arg2
= wxString_in_helper(obj1
);
19367 if (arg2
== NULL
) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->SetAppName((wxString
const &)*arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19396 PyObject
* obj0
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19424 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19427 wxString
*arg2
= 0 ;
19428 bool temp2
= False
;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "name", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 arg2
= wxString_in_helper(obj1
);
19440 if (arg2
== NULL
) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->SetClassName((wxString
const &)*arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 Py_INCREF(Py_None
); resultobj
= Py_None
;
19465 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19481 result
= (wxString
*) &_result_ref
;
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19491 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19500 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19503 wxString
*arg2
= 0 ;
19504 bool temp2
= False
;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "name", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 arg2
= wxString_in_helper(obj1
);
19516 if (arg2
== NULL
) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19544 wxAppTraits
*result
;
19545 PyObject
* obj0
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19567 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->ProcessPendingEvents();
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 Py_INCREF(Py_None
); resultobj
= Py_None
;
19592 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19595 bool arg2
= (bool) False
;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "onlyIfNeeded", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 arg2
= (bool) SWIG_AsBool(obj1
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (bool)(arg1
)->Yield(arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19626 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->WakeUpIdle();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 Py_INCREF(Py_None
); resultobj
= Py_None
;
19651 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (int)(arg1
)->MainLoop();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_FromInt((int)result
);
19677 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 Py_INCREF(Py_None
); resultobj
= Py_None
;
19702 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->ExitMainLoop();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 Py_INCREF(Py_None
); resultobj
= Py_None
;
19727 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (bool)(arg1
)->Pending();
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19755 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (bool)(arg1
)->Dispatch();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19783 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (bool)(arg1
)->ProcessIdle();
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19811 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19814 wxWindow
*arg2
= (wxWindow
*) 0 ;
19815 wxIdleEvent
*arg3
= 0 ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 PyObject
* obj2
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "win",(char *) "event", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19832 if (arg3
== NULL
) {
19833 PyErr_SetString(PyExc_TypeError
,"null reference");
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19852 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19880 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19883 wxWindow
*arg2
= (wxWindow
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "win", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->SetTopWindow(arg2
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 Py_INCREF(Py_None
); resultobj
= Py_None
;
19909 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= wxPyMake_wxObject(result
);
19937 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "flag", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 arg2
= (bool) SWIG_AsBool(obj1
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 (arg1
)->SetExitOnFrameDelete(arg2
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 Py_INCREF(Py_None
); resultobj
= Py_None
;
19966 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19994 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19998 PyObject
* obj0
= 0 ;
19999 PyObject
* obj1
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self",(char *) "flag", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20007 arg2
= (bool) SWIG_AsBool(obj1
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 (arg1
)->SetUseBestVisual(arg2
);
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 Py_INCREF(Py_None
); resultobj
= Py_None
;
20023 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 char *kwnames
[] = {
20029 (char *) "self", NULL
20032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20051 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
;
20053 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self",(char *) "mode", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20064 arg2
= (int) SWIG_AsInt(obj1
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 (arg1
)->SetPrintMode(arg2
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 Py_INCREF(Py_None
); resultobj
= Py_None
;
20080 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_FromInt((int)result
);
20106 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self",(char *) "mode", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 arg2
= (int) SWIG_AsInt(obj1
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->SetAssertMode(arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20135 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 char *kwnames
[] = {
20141 (char *) "self", NULL
20144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (int)(arg1
)->GetAssertMode();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_FromInt((int)result
);
20161 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20164 char *kwnames
[] = {
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20185 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20188 char *kwnames
[] = {
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_FromLong((long)result
);
20207 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20210 char *kwnames
[] = {
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_FromLong((long)result
);
20229 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
;
20232 char *kwnames
[] = {
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (long)wxPyApp::GetMacExitMenuItemId();
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_FromLong((long)result
);
20251 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20254 char *kwnames
[] = {
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= wxPyApp::GetMacHelpMenuTitleName();
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20279 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20282 PyObject
* obj0
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "val", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20288 arg1
= (bool) SWIG_AsBool(obj0
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 Py_INCREF(Py_None
); resultobj
= Py_None
;
20304 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "val", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20313 arg1
= (long) SWIG_AsLong(obj0
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 wxPyApp::SetMacAboutMenuItemId(arg1
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20332 PyObject
* obj0
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "val", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20338 arg1
= (long) SWIG_AsLong(obj0
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 Py_INCREF(Py_None
); resultobj
= Py_None
;
20354 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20357 PyObject
* obj0
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "val", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20363 arg1
= (long) SWIG_AsLong(obj0
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 wxPyApp::SetMacExitMenuItemId(arg1
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 Py_INCREF(Py_None
); resultobj
= Py_None
;
20379 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxString
*arg1
= 0 ;
20382 bool temp1
= False
;
20383 PyObject
* obj0
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "val", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20390 arg1
= wxString_in_helper(obj0
);
20391 if (arg1
== NULL
) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 Py_INCREF(Py_None
); resultobj
= Py_None
;
20416 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->_BootstrapApp();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20444 char *kwnames
[] = {
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (int)wxPyApp::GetComCtl32Version();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_FromInt((int)result
);
20463 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20466 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20468 return Py_BuildValue((char *)"");
20470 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 char *kwnames
[] = {
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 Py_INCREF(Py_None
); resultobj
= Py_None
;
20491 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20494 char *kwnames
[] = {
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (bool)wxYield();
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20515 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20518 char *kwnames
[] = {
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (bool)wxYieldIfNeeded();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20539 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxWindow
*arg1
= (wxWindow
*) NULL
;
20542 bool arg2
= (bool) False
;
20544 PyObject
* obj0
= 0 ;
20545 PyObject
* obj1
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "win",(char *) "onlyIfNeeded", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20556 arg2
= (bool) SWIG_AsBool(obj1
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)wxSafeYield(arg1
,arg2
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 char *kwnames
[] = {
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 Py_INCREF(Py_None
); resultobj
= Py_None
;
20596 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20599 wxEvent
*arg2
= 0 ;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "dest",(char *) "event", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20612 if (arg2
== NULL
) {
20613 PyErr_SetString(PyExc_TypeError
,"null reference");
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 wxPostEvent(arg1
,*arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 Py_INCREF(Py_None
); resultobj
= Py_None
;
20630 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 char *kwnames
[] = {
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 Py_INCREF(Py_None
); resultobj
= Py_None
;
20651 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20654 char *kwnames
[] = {
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (wxPyApp
*)wxGetApp();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= wxPyMake_wxObject(result
);
20675 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 int arg1
= (int) 0 ;
20678 int arg2
= (int) 0 ;
20679 int arg3
= (int) 0 ;
20680 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20681 wxAcceleratorEntry
*result
;
20682 PyObject
* obj0
= 0 ;
20683 PyObject
* obj1
= 0 ;
20684 PyObject
* obj2
= 0 ;
20685 PyObject
* obj3
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20692 arg1
= (int) SWIG_AsInt(obj0
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 arg2
= (int) SWIG_AsInt(obj1
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 arg3
= (int) SWIG_AsInt(obj2
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20704 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20721 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 Py_INCREF(Py_None
); resultobj
= Py_None
;
20746 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20752 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 PyObject
* obj3
= 0 ;
20757 PyObject
* obj4
= 0 ;
20758 char *kwnames
[] = {
20759 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20765 arg2
= (int) SWIG_AsInt(obj1
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20767 arg3
= (int) SWIG_AsInt(obj2
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20769 arg4
= (int) SWIG_AsInt(obj3
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 Py_INCREF(Py_None
); resultobj
= Py_None
;
20789 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20792 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 PyObject
* obj1
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self",(char *) "item", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 (arg1
)->SetMenuItem(arg2
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 Py_INCREF(Py_None
); resultobj
= Py_None
;
20818 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20821 wxMenuItem
*result
;
20822 PyObject
* obj0
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= wxPyMake_wxObject(result
);
20846 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (int)(arg1
)->GetFlags();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_FromInt((int)result
);
20872 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (int)(arg1
)->GetKeyCode();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_FromInt((int)result
);
20898 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (int)(arg1
)->GetCommand();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_FromInt((int)result
);
20924 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20927 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20929 return Py_BuildValue((char *)"");
20931 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20934 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20935 wxAcceleratorTable
*result
;
20936 PyObject
* obj0
= 0 ;
20937 char *kwnames
[] = {
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20943 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20944 if (arg2
) arg1
= PyList_Size(obj0
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20967 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20968 PyObject
*resultobj
;
20969 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 Py_INCREF(Py_None
); resultobj
= Py_None
;
20992 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21020 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21023 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21025 return Py_BuildValue((char *)"");
21027 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21028 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21033 static PyObject
*_wrap_NullAcceleratorTable_get() {
21036 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21041 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxString
*arg1
= 0 ;
21044 wxAcceleratorEntry
*result
;
21045 bool temp1
= False
;
21046 PyObject
* obj0
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "label", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21053 arg1
= wxString_in_helper(obj0
);
21054 if (arg1
== NULL
) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21079 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21080 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21085 static PyObject
*_wrap_PanelNameStr_get() {
21090 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21092 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21099 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxWindow
*arg1
= (wxWindow
*) 0 ;
21103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21107 long arg5
= (long) 0 ;
21108 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21109 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21113 bool temp6
= False
;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 PyObject
* obj2
= 0 ;
21117 PyObject
* obj3
= 0 ;
21118 PyObject
* obj4
= 0 ;
21119 PyObject
* obj5
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21127 arg2
= (int const) SWIG_AsInt(obj1
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21138 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21142 arg5
= (long) SWIG_AsLong(obj4
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21147 arg6
= wxString_in_helper(obj5
);
21148 if (arg6
== NULL
) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= wxPyMake_wxObject(result
);
21176 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21179 char *kwnames
[] = {
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (wxWindow
*)new wxWindow();
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= wxPyMake_wxObject(result
);
21200 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxWindow
*arg1
= (wxWindow
*) 0 ;
21203 wxWindow
*arg2
= (wxWindow
*) 0 ;
21205 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21206 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21207 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21208 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21209 long arg6
= (long) 0 ;
21210 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21211 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21215 bool temp7
= False
;
21216 PyObject
* obj0
= 0 ;
21217 PyObject
* obj1
= 0 ;
21218 PyObject
* obj2
= 0 ;
21219 PyObject
* obj3
= 0 ;
21220 PyObject
* obj4
= 0 ;
21221 PyObject
* obj5
= 0 ;
21222 PyObject
* obj6
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21232 arg3
= (int const) SWIG_AsInt(obj2
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21237 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21243 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21247 arg6
= (long) SWIG_AsLong(obj5
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21252 arg7
= wxString_in_helper(obj6
);
21253 if (arg7
== NULL
) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21281 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxWindow
*arg1
= (wxWindow
*) 0 ;
21284 bool arg2
= (bool) False
;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "force", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 arg2
= (bool) SWIG_AsBool(obj1
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (bool)(arg1
)->Close(arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21315 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
;
21317 wxWindow
*arg1
= (wxWindow
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 result
= (bool)(arg1
)->Destroy();
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21343 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxWindow
*arg1
= (wxWindow
*) 0 ;
21347 PyObject
* obj0
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (bool)(arg1
)->DestroyChildren();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21371 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxWindow
*arg1
= (wxWindow
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21399 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxWindow
*arg1
= (wxWindow
*) 0 ;
21402 wxString
*arg2
= 0 ;
21403 bool temp2
= False
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self",(char *) "title", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 arg2
= wxString_in_helper(obj1
);
21415 if (arg2
== NULL
) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->SetTitle((wxString
const &)*arg2
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21440 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxWindow
*arg1
= (wxWindow
*) 0 ;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= ((wxWindow
const *)arg1
)->GetTitle();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21472 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxWindow
*arg1
= (wxWindow
*) 0 ;
21475 wxString
*arg2
= 0 ;
21476 bool temp2
= False
;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self",(char *) "label", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 arg2
= wxString_in_helper(obj1
);
21488 if (arg2
== NULL
) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 (arg1
)->SetLabel((wxString
const &)*arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 Py_INCREF(Py_None
); resultobj
= Py_None
;
21513 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxWindow
*arg1
= (wxWindow
*) 0 ;
21517 PyObject
* obj0
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= ((wxWindow
const *)arg1
)->GetLabel();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21545 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxWindow
*arg1
= (wxWindow
*) 0 ;
21548 wxString
*arg2
= 0 ;
21549 bool temp2
= False
;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self",(char *) "name", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21560 arg2
= wxString_in_helper(obj1
);
21561 if (arg2
== NULL
) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 (arg1
)->SetName((wxString
const &)*arg2
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 Py_INCREF(Py_None
); resultobj
= Py_None
;
21586 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxWindow
*arg1
= (wxWindow
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= ((wxWindow
const *)arg1
)->GetName();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21618 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxWindow
*arg1
= (wxWindow
*) 0 ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "variant", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21631 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 Py_INCREF(Py_None
); resultobj
= Py_None
;
21647 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxWindow
*arg1
= (wxWindow
*) 0 ;
21651 PyObject
* obj0
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_FromInt((int)result
);
21673 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxWindow
*arg1
= (wxWindow
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self",(char *) "winid", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 arg2
= (int) SWIG_AsInt(obj1
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->SetId(arg2
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxWindow
*arg1
= (wxWindow
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 result
= (int)((wxWindow
const *)arg1
)->GetId();
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_FromInt((int)result
);
21728 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21731 char *kwnames
[] = {
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (int)wxWindow::NewControlId();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_FromInt((int)result
);
21750 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21754 PyObject
* obj0
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "winid", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21760 arg1
= (int) SWIG_AsInt(obj0
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (int)wxWindow::NextControlId(arg1
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= SWIG_FromInt((int)result
);
21776 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "winid", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21786 arg1
= (int) SWIG_AsInt(obj0
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (int)wxWindow::PrevControlId(arg1
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_FromInt((int)result
);
21802 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxWindow
*arg1
= (wxWindow
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "size", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21818 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->SetSize((wxSize
const &)*arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 Py_INCREF(Py_None
); resultobj
= Py_None
;
21834 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxWindow
*arg1
= (wxWindow
*) 0 ;
21841 int arg6
= (int) wxSIZE_AUTO
;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 PyObject
* obj2
= 0 ;
21845 PyObject
* obj3
= 0 ;
21846 PyObject
* obj4
= 0 ;
21847 PyObject
* obj5
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 arg2
= (int) SWIG_AsInt(obj1
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21857 arg3
= (int) SWIG_AsInt(obj2
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21859 arg4
= (int) SWIG_AsInt(obj3
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21861 arg5
= (int) SWIG_AsInt(obj4
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 arg6
= (int) SWIG_AsInt(obj5
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 Py_INCREF(Py_None
); resultobj
= Py_None
;
21881 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxWindow
*arg1
= (wxWindow
*) 0 ;
21885 int arg3
= (int) wxSIZE_AUTO
;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 PyObject
* obj2
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21902 arg3
= (int) SWIG_AsInt(obj2
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 Py_INCREF(Py_None
); resultobj
= Py_None
;
21919 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxWindow
*arg1
= (wxWindow
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 PyObject
* obj2
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self",(char *) "width",(char *) "height", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21934 arg2
= (int) SWIG_AsInt(obj1
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21936 arg3
= (int) SWIG_AsInt(obj2
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 (arg1
)->SetSize(arg2
,arg3
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 Py_INCREF(Py_None
); resultobj
= Py_None
;
21952 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxWindow
*arg1
= (wxWindow
*) 0 ;
21955 wxPoint
*arg2
= 0 ;
21956 int arg3
= (int) wxSIZE_USE_EXISTING
;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "pt",(char *) "flags", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21973 arg3
= (int) SWIG_AsInt(obj2
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 Py_INCREF(Py_None
); resultobj
= Py_None
;
21990 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxWindow
*arg1
= (wxWindow
*) 0 ;
21995 int arg4
= (int) wxSIZE_USE_EXISTING
;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 PyObject
* obj2
= 0 ;
21999 PyObject
* obj3
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 arg2
= (int) SWIG_AsInt(obj1
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22009 arg3
= (int) SWIG_AsInt(obj2
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 arg4
= (int) SWIG_AsInt(obj3
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 (arg1
)->Move(arg2
,arg3
,arg4
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 Py_INCREF(Py_None
); resultobj
= Py_None
;
22029 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxWindow
*arg1
= (wxWindow
*) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 Py_INCREF(Py_None
); resultobj
= Py_None
;
22054 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxWindow
*arg1
= (wxWindow
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 PyObject
* obj1
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self",(char *) "size", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxWindow
*arg1
= (wxWindow
*) 0 ;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 PyObject
* obj2
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "width",(char *) "height", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 arg2
= (int) SWIG_AsInt(obj1
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22128 arg3
= (int) SWIG_AsInt(obj2
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 (arg1
)->SetClientSize(arg2
,arg3
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 Py_INCREF(Py_None
); resultobj
= Py_None
;
22144 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxWindow
*arg1
= (wxWindow
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "rect", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 Py_INCREF(Py_None
); resultobj
= Py_None
;
22176 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxWindow
*arg1
= (wxWindow
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (arg1
)->GetPosition();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 wxPoint
* resultptr
;
22197 resultptr
= new wxPoint((wxPoint
&) result
);
22198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22206 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxWindow
*arg1
= (wxWindow
*) 0 ;
22209 int *arg2
= (int *) 0 ;
22210 int *arg3
= (int *) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 (arg1
)->GetPosition(arg2
,arg3
);
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 Py_INCREF(Py_None
); resultobj
= Py_None
;
22232 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22233 resultobj
= t_output_helper(resultobj
,o
);
22236 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22237 resultobj
= t_output_helper(resultobj
,o
);
22245 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxWindow
*arg1
= (wxWindow
*) 0 ;
22249 PyObject
* obj0
= 0 ;
22250 char *kwnames
[] = {
22251 (char *) "self", NULL
22254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= ((wxWindow
const *)arg1
)->GetSize();
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 wxSize
* resultptr
;
22266 resultptr
= new wxSize((wxSize
&) result
);
22267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22275 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxWindow
*arg1
= (wxWindow
*) 0 ;
22278 int *arg2
= (int *) 0 ;
22279 int *arg3
= (int *) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 Py_INCREF(Py_None
); resultobj
= Py_None
;
22301 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22302 resultobj
= t_output_helper(resultobj
,o
);
22305 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22306 resultobj
= t_output_helper(resultobj
,o
);
22314 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxWindow
*arg1
= (wxWindow
*) 0 ;
22318 PyObject
* obj0
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 result
= ((wxWindow
const *)arg1
)->GetRect();
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22334 wxRect
* resultptr
;
22335 resultptr
= new wxRect((wxRect
&) result
);
22336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22344 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxWindow
*arg1
= (wxWindow
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 wxSize
* resultptr
;
22365 resultptr
= new wxSize((wxSize
&) result
);
22366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22374 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxWindow
*arg1
= (wxWindow
*) 0 ;
22377 int *arg2
= (int *) 0 ;
22378 int *arg3
= (int *) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22401 resultobj
= t_output_helper(resultobj
,o
);
22404 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22405 resultobj
= t_output_helper(resultobj
,o
);
22413 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxWindow
*arg1
= (wxWindow
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 wxPoint
* resultptr
;
22434 resultptr
= new wxPoint((wxPoint
&) result
);
22435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22443 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxWindow
*arg1
= (wxWindow
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 wxRect
* resultptr
;
22464 resultptr
= new wxRect((wxRect
&) result
);
22465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22473 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxWindow
*arg1
= (wxWindow
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 wxSize
* resultptr
;
22494 resultptr
= new wxSize((wxSize
&) result
);
22495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22503 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxWindow
*arg1
= (wxWindow
*) 0 ;
22506 int *arg2
= (int *) 0 ;
22507 int *arg3
= (int *) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 Py_INCREF(Py_None
); resultobj
= Py_None
;
22529 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22530 resultobj
= t_output_helper(resultobj
,o
);
22533 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22534 resultobj
= t_output_helper(resultobj
,o
);
22542 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxWindow
*arg1
= (wxWindow
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 wxSize
* resultptr
;
22563 resultptr
= new wxSize((wxSize
&) result
);
22564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22572 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxWindow
*arg1
= (wxWindow
*) 0 ;
22575 int arg2
= (int) wxBOTH
;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "direction", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 arg2
= (int) SWIG_AsInt(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->Center(arg2
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 Py_INCREF(Py_None
); resultobj
= Py_None
;
22603 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxWindow
*arg1
= (wxWindow
*) 0 ;
22606 int arg2
= (int) wxBOTH
;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "dir", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 arg2
= (int) SWIG_AsInt(obj1
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->CenterOnScreen(arg2
);
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxWindow
*arg1
= (wxWindow
*) 0 ;
22637 int arg2
= (int) wxBOTH
;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self",(char *) "dir", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 arg2
= (int) SWIG_AsInt(obj1
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 (arg1
)->CenterOnParent(arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 Py_INCREF(Py_None
); resultobj
= Py_None
;
22665 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxWindow
*arg1
= (wxWindow
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 Py_INCREF(Py_None
); resultobj
= Py_None
;
22690 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxWindow
*arg1
= (wxWindow
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 (arg1
)->FitInside();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 Py_INCREF(Py_None
); resultobj
= Py_None
;
22715 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxWindow
*arg1
= (wxWindow
*) 0 ;
22720 int arg4
= (int) -1 ;
22721 int arg5
= (int) -1 ;
22722 int arg6
= (int) -1 ;
22723 int arg7
= (int) -1 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 PyObject
* obj2
= 0 ;
22727 PyObject
* obj3
= 0 ;
22728 PyObject
* obj4
= 0 ;
22729 PyObject
* obj5
= 0 ;
22730 PyObject
* obj6
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22738 arg2
= (int) SWIG_AsInt(obj1
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22740 arg3
= (int) SWIG_AsInt(obj2
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 arg4
= (int) SWIG_AsInt(obj3
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22747 arg5
= (int) SWIG_AsInt(obj4
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 arg6
= (int) SWIG_AsInt(obj5
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 arg7
= (int) SWIG_AsInt(obj6
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22772 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxWindow
*arg1
= (wxWindow
*) 0 ;
22777 int arg4
= (int) -1 ;
22778 int arg5
= (int) -1 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 PyObject
* obj2
= 0 ;
22782 PyObject
* obj3
= 0 ;
22783 PyObject
* obj4
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22791 arg2
= (int) SWIG_AsInt(obj1
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22793 arg3
= (int) SWIG_AsInt(obj2
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 arg4
= (int) SWIG_AsInt(obj3
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 arg5
= (int) SWIG_AsInt(obj4
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 Py_INCREF(Py_None
); resultobj
= Py_None
;
22817 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxWindow
*arg1
= (wxWindow
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_FromInt((int)result
);
22843 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxWindow
*arg1
= (wxWindow
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_FromInt((int)result
);
22869 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxWindow
*arg1
= (wxWindow
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_FromInt((int)result
);
22895 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxWindow
*arg1
= (wxWindow
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_FromInt((int)result
);
22921 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxWindow
*arg1
= (wxWindow
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22941 wxSize
* resultptr
;
22942 resultptr
= new wxSize((wxSize
&) result
);
22943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22951 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxWindow
*arg1
= (wxWindow
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "size", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22967 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 Py_INCREF(Py_None
); resultobj
= Py_None
;
22983 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxWindow
*arg1
= (wxWindow
*) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 PyObject
* obj2
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self",(char *) "w",(char *) "h", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22998 arg2
= (int) SWIG_AsInt(obj1
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23000 arg3
= (int) SWIG_AsInt(obj2
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 (arg1
)->SetVirtualSize(arg2
,arg3
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 Py_INCREF(Py_None
); resultobj
= Py_None
;
23016 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxWindow
*arg1
= (wxWindow
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 wxSize
* resultptr
;
23037 resultptr
= new wxSize((wxSize
&) result
);
23038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23046 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxWindow
*arg1
= (wxWindow
*) 0 ;
23049 int *arg2
= (int *) 0 ;
23050 int *arg3
= (int *) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23073 resultobj
= t_output_helper(resultobj
,o
);
23076 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23077 resultobj
= t_output_helper(resultobj
,o
);
23085 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxWindow
*arg1
= (wxWindow
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23105 wxSize
* resultptr
;
23106 resultptr
= new wxSize((wxSize
&) result
);
23107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23115 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxWindow
*arg1
= (wxWindow
*) 0 ;
23118 bool arg2
= (bool) True
;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self",(char *) "show", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23130 arg2
= (bool) SWIG_AsBool(obj1
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 result
= (bool)(arg1
)->Show(arg2
);
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23149 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxWindow
*arg1
= (wxWindow
*) 0 ;
23153 PyObject
* obj0
= 0 ;
23154 char *kwnames
[] = {
23155 (char *) "self", NULL
23158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (bool)(arg1
)->Hide();
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23177 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
;
23179 wxWindow
*arg1
= (wxWindow
*) 0 ;
23180 bool arg2
= (bool) True
;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 char *kwnames
[] = {
23185 (char *) "self",(char *) "enable", NULL
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23192 arg2
= (bool) SWIG_AsBool(obj1
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (bool)(arg1
)->Enable(arg2
);
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23211 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxWindow
*arg1
= (wxWindow
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (bool)(arg1
)->Disable();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23239 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxWindow
*arg1
= (wxWindow
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxWindow
*arg1
= (wxWindow
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23295 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxWindow
*arg1
= (wxWindow
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "style", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 arg2
= (long) SWIG_AsLong(obj1
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 (arg1
)->SetWindowStyleFlag(arg2
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 Py_INCREF(Py_None
); resultobj
= Py_None
;
23324 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxWindow
*arg1
= (wxWindow
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_FromLong((long)result
);
23350 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
;
23352 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "flag", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 arg2
= (int) SWIG_AsInt(obj1
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23382 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxWindow
*arg1
= (wxWindow
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23410 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxWindow
*arg1
= (wxWindow
*) 0 ;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self",(char *) "exStyle", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23423 arg2
= (long) SWIG_AsLong(obj1
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->SetExtraStyle(arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23439 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxWindow
*arg1
= (wxWindow
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_FromLong((long)result
);
23465 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxWindow
*arg1
= (wxWindow
*) 0 ;
23468 bool arg2
= (bool) True
;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char *kwnames
[] = {
23472 (char *) "self",(char *) "modal", NULL
23475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 arg2
= (bool) SWIG_AsBool(obj1
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 (arg1
)->MakeModal(arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23496 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxWindow
*arg1
= (wxWindow
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "enableTheme", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 arg2
= (bool) SWIG_AsBool(obj1
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 (arg1
)->SetThemeEnabled(arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23525 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxWindow
*arg1
= (wxWindow
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23553 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxWindow
*arg1
= (wxWindow
*) 0 ;
23556 PyObject
* obj0
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->SetFocus();
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 Py_INCREF(Py_None
); resultobj
= Py_None
;
23578 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxWindow
*arg1
= (wxWindow
*) 0 ;
23581 PyObject
* obj0
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 (arg1
)->SetFocusFromKbd();
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 Py_INCREF(Py_None
); resultobj
= Py_None
;
23603 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23606 char *kwnames
[] = {
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (wxWindow
*)wxWindow::FindFocus();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= wxPyMake_wxObject(result
);
23627 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxWindow
*arg1
= (wxWindow
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23655 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxWindow
*arg1
= (wxWindow
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",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 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23683 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxWindow
*arg1
= (wxWindow
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= wxPyMake_wxObject(result
);
23711 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxWindow
*arg1
= (wxWindow
*) 0 ;
23714 wxWindow
*arg2
= (wxWindow
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self",(char *) "child", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= wxPyMake_wxObject(result
);
23743 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxWindow
*arg1
= (wxWindow
*) 0 ;
23746 wxWindow
*arg2
= (wxWindow
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "win", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 (arg1
)->SetTmpDefaultItem(arg2
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 Py_INCREF(Py_None
); resultobj
= Py_None
;
23772 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxWindow
*arg1
= (wxWindow
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= result
;
23798 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
;
23800 wxWindow
*arg1
= (wxWindow
*) 0 ;
23802 PyObject
* obj0
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= wxPyMake_wxObject(result
);
23826 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxWindow
*arg1
= (wxWindow
*) 0 ;
23830 PyObject
* obj0
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "self", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= wxPyMake_wxObject(result
);
23854 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxWindow
*arg1
= (wxWindow
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23882 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxWindow
*arg1
= (wxWindow
*) 0 ;
23885 wxWindow
*arg2
= (wxWindow
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self",(char *) "newParent", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (bool)(arg1
)->Reparent(arg2
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23914 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxWindow
*arg1
= (wxWindow
*) 0 ;
23917 wxWindow
*arg2
= (wxWindow
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "child", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 (arg1
)->AddChild(arg2
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 Py_INCREF(Py_None
); resultobj
= Py_None
;
23943 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
;
23945 wxWindow
*arg1
= (wxWindow
*) 0 ;
23946 wxWindow
*arg2
= (wxWindow
*) 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self",(char *) "child", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 (arg1
)->RemoveChild(arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 Py_INCREF(Py_None
); resultobj
= Py_None
;
23972 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxWindow
*arg1
= (wxWindow
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "winid", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23986 arg2
= (long) SWIG_AsLong(obj1
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= wxPyMake_wxObject(result
);
24004 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxWindow
*arg1
= (wxWindow
*) 0 ;
24007 wxString
*arg2
= 0 ;
24009 bool temp2
= False
;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "name", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24020 arg2
= wxString_in_helper(obj1
);
24021 if (arg2
== NULL
) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= wxPyMake_wxObject(result
);
24048 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxWindow
*arg1
= (wxWindow
*) 0 ;
24051 wxEvtHandler
*result
;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= wxPyMake_wxObject(result
);
24076 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxWindow
*arg1
= (wxWindow
*) 0 ;
24079 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self",(char *) "handler", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 (arg1
)->SetEventHandler(arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 Py_INCREF(Py_None
); resultobj
= Py_None
;
24105 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24107 wxWindow
*arg1
= (wxWindow
*) 0 ;
24108 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self",(char *) "handler", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 (arg1
)->PushEventHandler(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 Py_INCREF(Py_None
); resultobj
= Py_None
;
24134 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxWindow
*arg1
= (wxWindow
*) 0 ;
24137 bool arg2
= (bool) False
;
24138 wxEvtHandler
*result
;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "deleteHandler", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 arg2
= (bool) SWIG_AsBool(obj1
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= wxPyMake_wxObject(result
);
24168 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxWindow
*arg1
= (wxWindow
*) 0 ;
24171 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self",(char *) "handler", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24200 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxWindow
*arg1
= (wxWindow
*) 0 ;
24203 wxValidator
*arg2
= 0 ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 char *kwnames
[] = {
24207 (char *) "self",(char *) "validator", NULL
24210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24216 if (arg2
== NULL
) {
24217 PyErr_SetString(PyExc_TypeError
,"null reference");
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxWindow
*arg1
= (wxWindow
*) 0 ;
24237 wxValidator
*result
;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (wxValidator
*)(arg1
)->GetValidator();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= wxPyMake_wxObject(result
);
24262 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxWindow
*arg1
= (wxWindow
*) 0 ;
24265 wxAcceleratorTable
*arg2
= 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "accel", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24278 if (arg2
== NULL
) {
24279 PyErr_SetString(PyExc_TypeError
,"null reference");
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 Py_INCREF(Py_None
); resultobj
= Py_None
;
24296 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxWindow
*arg1
= (wxWindow
*) 0 ;
24299 wxAcceleratorTable
*result
;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24322 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxWindow
*arg1
= (wxWindow
*) 0 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 PyObject
* obj2
= 0 ;
24332 PyObject
* obj3
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24340 arg2
= (int) SWIG_AsInt(obj1
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24342 arg3
= (int) SWIG_AsInt(obj2
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24344 arg4
= (int) SWIG_AsInt(obj3
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24362 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxWindow
*arg1
= (wxWindow
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self",(char *) "hotkeyId", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 arg2
= (int) SWIG_AsInt(obj1
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24394 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxWindow
*arg1
= (wxWindow
*) 0 ;
24397 wxPoint
*arg2
= 0 ;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self",(char *) "pt", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 wxPoint
* resultptr
;
24422 resultptr
= new wxPoint((wxPoint
&) result
);
24423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24431 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxWindow
*arg1
= (wxWindow
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "sz", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24448 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 wxSize
* resultptr
;
24459 resultptr
= new wxSize((wxSize
&) result
);
24460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24468 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxWindow
*arg1
= (wxWindow
*) 0 ;
24471 wxPoint
*arg2
= 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "pt", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 wxPoint
* resultptr
;
24496 resultptr
= new wxPoint((wxPoint
&) result
);
24497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24505 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxWindow
*arg1
= (wxWindow
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "sz", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 wxSize
* resultptr
;
24533 resultptr
= new wxSize((wxSize
&) result
);
24534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24542 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxWindow
*arg1
= (wxWindow
*) 0 ;
24545 wxPoint
*arg2
= 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "pt", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 wxPoint
* resultptr
;
24570 resultptr
= new wxPoint((wxPoint
&) result
);
24571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24579 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxWindow
*arg1
= (wxWindow
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "sz", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 wxSize
* resultptr
;
24607 resultptr
= new wxSize((wxSize
&) result
);
24608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24616 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxWindow
*arg1
= (wxWindow
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 PyObject
* obj2
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self",(char *) "x",(char *) "y", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 arg2
= (int) SWIG_AsInt(obj1
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24633 arg3
= (int) SWIG_AsInt(obj2
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->WarpPointer(arg2
,arg3
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxWindow
*arg1
= (wxWindow
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->CaptureMouse();
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxWindow
*arg1
= (wxWindow
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 (arg1
)->ReleaseMouse();
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 Py_INCREF(Py_None
); resultobj
= Py_None
;
24699 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24702 char *kwnames
[] = {
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (wxWindow
*)wxWindow::GetCapture();
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= wxPyMake_wxObject(result
);
24723 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
;
24725 wxWindow
*arg1
= (wxWindow
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24751 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxWindow
*arg1
= (wxWindow
*) 0 ;
24754 bool arg2
= (bool) True
;
24755 wxRect
*arg3
= (wxRect
*) NULL
;
24756 PyObject
* obj0
= 0 ;
24757 PyObject
* obj1
= 0 ;
24758 PyObject
* obj2
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 arg2
= (bool) SWIG_AsBool(obj1
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 Py_INCREF(Py_None
); resultobj
= Py_None
;
24788 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxWindow
*arg1
= (wxWindow
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "rect", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24804 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 Py_INCREF(Py_None
); resultobj
= Py_None
;
24820 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxWindow
*arg1
= (wxWindow
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 Py_INCREF(Py_None
); resultobj
= Py_None
;
24845 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxWindow
*arg1
= (wxWindow
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 (arg1
)->ClearBackground();
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 Py_INCREF(Py_None
); resultobj
= Py_None
;
24870 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxWindow
*arg1
= (wxWindow
*) 0 ;
24873 PyObject
* obj0
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 Py_INCREF(Py_None
); resultobj
= Py_None
;
24895 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxWindow
*arg1
= (wxWindow
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 Py_INCREF(Py_None
); resultobj
= Py_None
;
24920 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxWindow
*arg1
= (wxWindow
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self",(char *) "dc", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24936 if (arg2
== NULL
) {
24937 PyErr_SetString(PyExc_TypeError
,"null reference");
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->PrepareDC(*arg2
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxWindow
*arg1
= (wxWindow
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24970 result
= (wxRegion
*) &_result_ref
;
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24983 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxWindow
*arg1
= (wxWindow
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 wxRect
* resultptr
;
25004 resultptr
= new wxRect((wxRect
&) result
);
25005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25013 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25018 int arg4
= (int) 1 ;
25019 int arg5
= (int) 1 ;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 PyObject
* obj2
= 0 ;
25024 PyObject
* obj3
= 0 ;
25025 PyObject
* obj4
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25033 arg2
= (int) SWIG_AsInt(obj1
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25035 arg3
= (int) SWIG_AsInt(obj2
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 arg4
= (int) SWIG_AsInt(obj3
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 arg5
= (int) SWIG_AsInt(obj4
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25061 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxWindow
*arg1
= (wxWindow
*) 0 ;
25064 wxPoint
*arg2
= 0 ;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self",(char *) "pt", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25096 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxWindow
*arg1
= (wxWindow
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "rect", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25131 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxWindow
*arg1
= (wxWindow
*) 0 ;
25134 wxColour
*arg2
= 0 ;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self",(char *) "colour", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25166 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxWindow
*arg1
= (wxWindow
*) 0 ;
25169 wxColour
*arg2
= 0 ;
25172 PyObject
* obj0
= 0 ;
25173 PyObject
* obj1
= 0 ;
25174 char *kwnames
[] = {
25175 (char *) "self",(char *) "colour", NULL
25178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25201 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25221 wxColour
* resultptr
;
25222 resultptr
= new wxColour((wxColour
&) result
);
25223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25231 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxWindow
*arg1
= (wxWindow
*) 0 ;
25235 PyObject
* obj0
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25251 wxColour
* resultptr
;
25252 resultptr
= new wxColour((wxColour
&) result
);
25253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25261 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxWindow
*arg1
= (wxWindow
*) 0 ;
25264 wxCursor
*arg2
= 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "cursor", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25278 if (arg2
== NULL
) {
25279 PyErr_SetString(PyExc_TypeError
,"null reference");
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25298 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxWindow
*arg1
= (wxWindow
*) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 wxCursor
&_result_ref
= (arg1
)->GetCursor();
25314 result
= (wxCursor
*) &_result_ref
;
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 wxCursor
* resultptr
= new wxCursor(*result
);
25322 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
25330 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxWindow
*arg1
= (wxWindow
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self",(char *) "font", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25347 if (arg2
== NULL
) {
25348 PyErr_SetString(PyExc_TypeError
,"null reference");
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25367 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
;
25369 wxWindow
*arg1
= (wxWindow
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 wxFont
&_result_ref
= (arg1
)->GetFont();
25383 result
= (wxFont
*) &_result_ref
;
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25390 wxFont
* resultptr
= new wxFont(*result
);
25391 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25399 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25402 wxCaret
*arg2
= (wxCaret
*) 0 ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self",(char *) "caret", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->SetCaret(arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 Py_INCREF(Py_None
); resultobj
= Py_None
;
25428 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxWindow
*arg1
= (wxWindow
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25454 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25458 PyObject
* obj0
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= SWIG_FromInt((int)result
);
25480 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxWindow
*arg1
= (wxWindow
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= SWIG_FromInt((int)result
);
25506 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxWindow
*arg1
= (wxWindow
*) 0 ;
25509 wxString
*arg2
= 0 ;
25510 int *arg3
= (int *) 0 ;
25511 int *arg4
= (int *) 0 ;
25512 bool temp2
= False
;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self",(char *) "string", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 arg2
= wxString_in_helper(obj1
);
25528 if (arg2
== NULL
) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25541 resultobj
= t_output_helper(resultobj
,o
);
25544 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25545 resultobj
= t_output_helper(resultobj
,o
);
25561 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 wxString
*arg2
= 0 ;
25565 int *arg3
= (int *) 0 ;
25566 int *arg4
= (int *) 0 ;
25567 int *arg5
= (int *) 0 ;
25568 int *arg6
= (int *) 0 ;
25569 wxFont
*arg7
= (wxFont
*) NULL
;
25570 bool temp2
= False
;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 PyObject
* obj2
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "string",(char *) "font", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25590 arg2
= wxString_in_helper(obj1
);
25591 if (arg2
== NULL
) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25607 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25608 resultobj
= t_output_helper(resultobj
,o
);
25611 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25612 resultobj
= t_output_helper(resultobj
,o
);
25615 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25616 resultobj
= t_output_helper(resultobj
,o
);
25619 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25620 resultobj
= t_output_helper(resultobj
,o
);
25636 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxWindow
*arg1
= (wxWindow
*) 0 ;
25639 int *arg2
= (int *) 0 ;
25640 int *arg3
= (int *) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 PyObject
* obj2
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "x",(char *) "y", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 temp2
= PyInt_AsLong(obj1
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25659 temp3
= PyInt_AsLong(obj2
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 Py_INCREF(Py_None
); resultobj
= Py_None
;
25672 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25673 resultobj
= t_output_helper(resultobj
,o
);
25676 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25677 resultobj
= t_output_helper(resultobj
,o
);
25685 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxWindow
*arg1
= (wxWindow
*) 0 ;
25688 int *arg2
= (int *) 0 ;
25689 int *arg3
= (int *) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 PyObject
* obj2
= 0 ;
25695 char *kwnames
[] = {
25696 (char *) "self",(char *) "x",(char *) "y", NULL
25699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25703 temp2
= PyInt_AsLong(obj1
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25708 temp3
= PyInt_AsLong(obj2
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25722 resultobj
= t_output_helper(resultobj
,o
);
25725 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25726 resultobj
= t_output_helper(resultobj
,o
);
25734 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25735 PyObject
*resultobj
;
25736 wxWindow
*arg1
= (wxWindow
*) 0 ;
25737 wxPoint
*arg2
= 0 ;
25740 PyObject
* obj0
= 0 ;
25741 PyObject
* obj1
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self",(char *) "pt", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25761 wxPoint
* resultptr
;
25762 resultptr
= new wxPoint((wxPoint
&) result
);
25763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25771 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxWindow
*arg1
= (wxWindow
*) 0 ;
25774 wxPoint
*arg2
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "pt", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25798 wxPoint
* resultptr
;
25799 resultptr
= new wxPoint((wxPoint
&) result
);
25800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25808 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxWindow
*arg1
= (wxWindow
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 PyObject
* obj2
= 0 ;
25817 char *kwnames
[] = {
25818 (char *) "self",(char *) "x",(char *) "y", NULL
25821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25824 arg2
= (int) SWIG_AsInt(obj1
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25826 arg3
= (int) SWIG_AsInt(obj2
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25835 resultobj
= SWIG_FromInt((int)result
);
25842 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxWindow
*arg1
= (wxWindow
*) 0 ;
25845 wxPoint
*arg2
= 0 ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self",(char *) "pt", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_FromInt((int)result
);
25875 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
25876 PyObject
*resultobj
;
25877 wxWindow
*arg1
= (wxWindow
*) 0 ;
25880 PyObject
* obj0
= 0 ;
25881 PyObject
* obj1
= 0 ;
25883 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 arg2
= (long) SWIG_AsLong(obj1
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_FromInt((int)result
);
25902 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
25903 PyObject
*resultobj
;
25904 wxWindow
*arg1
= (wxWindow
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25908 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_FromInt((int)result
);
25925 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25930 argc
= PyObject_Length(args
);
25931 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25932 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25938 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25946 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25953 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25961 _v
= SWIG_CheckLong(argv
[1]);
25963 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25968 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25973 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 long arg2
= (long) wxUPDATE_UI_NONE
;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "flags", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25987 arg2
= (long) SWIG_AsLong(obj1
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 (arg1
)->UpdateWindowUI(arg2
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 Py_INCREF(Py_None
); resultobj
= Py_None
;
26004 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxWindow
*arg1
= (wxWindow
*) 0 ;
26007 wxMenu
*arg2
= (wxMenu
*) 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 PyObject
* obj2
= 0 ;
26014 PyObject
* obj3
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 arg3
= (int) SWIG_AsInt(obj2
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26026 arg4
= (int) SWIG_AsInt(obj3
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26044 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxWindow
*arg1
= (wxWindow
*) 0 ;
26047 wxMenu
*arg2
= (wxMenu
*) 0 ;
26048 wxPoint
*arg3
= 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 PyObject
* obj2
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "menu",(char *) "pos", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26083 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
;
26085 wxWindow
*arg1
= (wxWindow
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (long)wxWindow_GetHandle(arg1
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_FromLong((long)result
);
26109 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxWindow
*arg1
= (wxWindow
*) 0 ;
26112 wxPaintEvent
*arg2
= 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "event", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26125 if (arg2
== NULL
) {
26126 PyErr_SetString(PyExc_TypeError
,"null reference");
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 (arg1
)->OnPaint(*arg2
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 Py_INCREF(Py_None
); resultobj
= Py_None
;
26143 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxWindow
*arg1
= (wxWindow
*) 0 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self",(char *) "orient", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26157 arg2
= (int) SWIG_AsInt(obj1
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26175 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxWindow
*arg1
= (wxWindow
*) 0 ;
26182 bool arg6
= (bool) True
;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 PyObject
* obj2
= 0 ;
26186 PyObject
* obj3
= 0 ;
26187 PyObject
* obj4
= 0 ;
26188 PyObject
* obj5
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 arg2
= (int) SWIG_AsInt(obj1
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26198 arg3
= (int) SWIG_AsInt(obj2
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26200 arg4
= (int) SWIG_AsInt(obj3
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26202 arg5
= (int) SWIG_AsInt(obj4
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 arg6
= (bool) SWIG_AsBool(obj5
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxWindow
*arg1
= (wxWindow
*) 0 ;
26227 bool arg4
= (bool) True
;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 PyObject
* obj3
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26239 arg2
= (int) SWIG_AsInt(obj1
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26241 arg3
= (int) SWIG_AsInt(obj2
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 arg4
= (bool) SWIG_AsBool(obj3
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 Py_INCREF(Py_None
); resultobj
= Py_None
;
26261 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxWindow
*arg1
= (wxWindow
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self",(char *) "orientation", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26275 arg2
= (int) SWIG_AsInt(obj1
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= SWIG_FromInt((int)result
);
26291 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxWindow
*arg1
= (wxWindow
*) 0 ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self",(char *) "orientation", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26305 arg2
= (int) SWIG_AsInt(obj1
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_FromInt((int)result
);
26321 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxWindow
*arg1
= (wxWindow
*) 0 ;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self",(char *) "orientation", NULL
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
26333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26335 arg2
= (int) SWIG_AsInt(obj1
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_FromInt((int)result
);
26351 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxWindow
*arg1
= (wxWindow
*) 0 ;
26356 wxRect
*arg4
= (wxRect
*) NULL
;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 PyObject
* obj2
= 0 ;
26360 PyObject
* obj3
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 arg2
= (int) SWIG_AsInt(obj1
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26370 arg3
= (int) SWIG_AsInt(obj2
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 Py_INCREF(Py_None
); resultobj
= Py_None
;
26390 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxWindow
*arg1
= (wxWindow
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self",(char *) "lines", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26404 arg2
= (int) SWIG_AsInt(obj1
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (bool)(arg1
)->ScrollLines(arg2
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26422 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
;
26424 wxWindow
*arg1
= (wxWindow
*) 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "pages", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26436 arg2
= (int) SWIG_AsInt(obj1
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (bool)(arg1
)->ScrollPages(arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26454 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxWindow
*arg1
= (wxWindow
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (bool)(arg1
)->LineUp();
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26482 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxWindow
*arg1
= (wxWindow
*) 0 ;
26486 PyObject
* obj0
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (bool)(arg1
)->LineDown();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26510 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxWindow
*arg1
= (wxWindow
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (bool)(arg1
)->PageUp();
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26538 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxWindow
*arg1
= (wxWindow
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (bool)(arg1
)->PageDown();
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26566 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxWindow
*arg1
= (wxWindow
*) 0 ;
26569 wxString
*arg2
= 0 ;
26570 bool temp2
= False
;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self",(char *) "text", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 arg2
= wxString_in_helper(obj1
);
26582 if (arg2
== NULL
) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26607 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 wxString
*arg2
= 0 ;
26611 bool temp2
= False
;
26612 PyObject
* obj0
= 0 ;
26613 PyObject
* obj1
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self",(char *) "text", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26622 arg2
= wxString_in_helper(obj1
);
26623 if (arg2
== NULL
) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 Py_INCREF(Py_None
); resultobj
= Py_None
;
26648 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
;
26650 wxWindow
*arg1
= (wxWindow
*) 0 ;
26652 PyObject
* obj0
= 0 ;
26653 char *kwnames
[] = {
26654 (char *) "self", NULL
26657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26680 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxWindow
*arg1
= (wxWindow
*) 0 ;
26683 wxString
*arg2
= 0 ;
26684 bool temp2
= False
;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self",(char *) "tip", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 arg2
= wxString_in_helper(obj1
);
26696 if (arg2
== NULL
) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 Py_INCREF(Py_None
); resultobj
= Py_None
;
26721 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxWindow
*arg1
= (wxWindow
*) 0 ;
26724 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self",(char *) "tip", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->SetToolTip(arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 Py_INCREF(Py_None
); resultobj
= Py_None
;
26750 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxWindow
*arg1
= (wxWindow
*) 0 ;
26754 PyObject
* obj0
= 0 ;
26755 char *kwnames
[] = {
26756 (char *) "self", NULL
26759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= wxPyMake_wxObject(result
);
26778 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxWindow
*arg1
= (wxWindow
*) 0 ;
26781 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "dropTarget", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26792 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 (arg1
)->SetDropTarget(arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 Py_INCREF(Py_None
); resultobj
= Py_None
;
26807 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxWindow
*arg1
= (wxWindow
*) 0 ;
26810 wxPyDropTarget
*result
;
26811 PyObject
* obj0
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26833 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxWindow
*arg1
= (wxWindow
*) 0 ;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self",(char *) "accept", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 arg2
= (bool) SWIG_AsBool(obj1
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 (arg1
)->DragAcceptFiles(arg2
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26855 Py_INCREF(Py_None
); resultobj
= Py_None
;
26862 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxWindow
*arg1
= (wxWindow
*) 0 ;
26865 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self",(char *) "constraints", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->SetConstraints(arg2
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 Py_INCREF(Py_None
); resultobj
= Py_None
;
26891 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 wxLayoutConstraints
*result
;
26895 PyObject
* obj0
= 0 ;
26896 char *kwnames
[] = {
26897 (char *) "self", NULL
26900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26917 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self",(char *) "autoLayout", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26930 arg2
= (bool) SWIG_AsBool(obj1
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 (arg1
)->SetAutoLayout(arg2
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 Py_INCREF(Py_None
); resultobj
= Py_None
;
26946 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
;
26948 wxWindow
*arg1
= (wxWindow
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 char *kwnames
[] = {
26952 (char *) "self", NULL
26955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxWindow
*arg1
= (wxWindow
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= (bool)(arg1
)->Layout();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27002 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxWindow
*arg1
= (wxWindow
*) 0 ;
27005 wxSizer
*arg2
= (wxSizer
*) 0 ;
27006 bool arg3
= (bool) True
;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 PyObject
* obj2
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27020 arg3
= (bool) SWIG_AsBool(obj2
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 (arg1
)->SetSizer(arg2
,arg3
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 Py_INCREF(Py_None
); resultobj
= Py_None
;
27037 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxWindow
*arg1
= (wxWindow
*) 0 ;
27040 wxSizer
*arg2
= (wxSizer
*) 0 ;
27041 bool arg3
= (bool) True
;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 PyObject
* obj2
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 arg3
= (bool) SWIG_AsBool(obj2
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, 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_GetSizer",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
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= wxPyMake_wxSizer(result
);
27100 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
;
27102 wxWindow
*arg1
= (wxWindow
*) 0 ;
27103 wxSizer
*arg2
= (wxSizer
*) 0 ;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self",(char *) "sizer", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->SetContainingSizer(arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxWindow
*arg1
= (wxWindow
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self", NULL
27138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= wxPyMake_wxSizer(result
);
27157 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27160 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27162 return Py_BuildValue((char *)"");
27164 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27167 wxWindow
*arg2
= (wxWindow
*) NULL
;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "id",(char *) "parent", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27176 arg1
= (long) SWIG_AsLong(obj0
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= wxPyMake_wxObject(result
);
27198 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxString
*arg1
= 0 ;
27201 wxWindow
*arg2
= (wxWindow
*) NULL
;
27203 bool temp1
= False
;
27204 PyObject
* obj0
= 0 ;
27205 PyObject
* obj1
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "name",(char *) "parent", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27212 arg1
= wxString_in_helper(obj0
);
27213 if (arg1
== NULL
) SWIG_fail
;
27217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= wxPyMake_wxObject(result
);
27244 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxString
*arg1
= 0 ;
27247 wxWindow
*arg2
= (wxWindow
*) NULL
;
27249 bool temp1
= False
;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "label",(char *) "parent", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27258 arg1
= wxString_in_helper(obj0
);
27259 if (arg1
== NULL
) SWIG_fail
;
27263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= wxPyMake_wxObject(result
);
27290 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxWindow
*arg1
= (wxWindow
*) 0 ;
27293 unsigned long arg2
;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "parent",(char *) "_hWnd", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= wxPyMake_wxObject(result
);
27322 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxValidator
*result
;
27325 char *kwnames
[] = {
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= (wxValidator
*)new wxValidator();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= wxPyMake_wxObject(result
);
27346 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27348 wxValidator
*arg1
= (wxValidator
*) 0 ;
27349 wxValidator
*result
;
27350 PyObject
* obj0
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= (wxValidator
*)(arg1
)->Clone();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= wxPyMake_wxObject(result
);
27374 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxValidator
*arg1
= (wxValidator
*) 0 ;
27377 wxWindow
*arg2
= (wxWindow
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self",(char *) "parent", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
27386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (bool)(arg1
)->Validate(arg2
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27406 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxValidator
*arg1
= (wxValidator
*) 0 ;
27410 PyObject
* obj0
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
27416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)(arg1
)->TransferToWindow();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxValidator
*arg1
= (wxValidator
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (bool)(arg1
)->TransferFromWindow();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27462 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxValidator
*arg1
= (wxValidator
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxWindow
*)(arg1
)->GetWindow();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= wxPyMake_wxObject(result
);
27490 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxValidator
*arg1
= (wxValidator
*) 0 ;
27493 wxWindow
*arg2
= (wxWindow
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self",(char *) "window", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 (arg1
)->SetWindow(arg2
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 Py_INCREF(Py_None
); resultobj
= Py_None
;
27519 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27522 char *kwnames
[] = {
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 result
= (bool)wxValidator::IsSilent();
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27543 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 int arg1
= (int) True
;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "doIt", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27553 arg1
= (int) SWIG_AsInt(obj0
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 wxValidator::SetBellOnError(arg1
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
27572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27573 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27575 return Py_BuildValue((char *)"");
27577 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxPyValidator
*result
;
27580 char *kwnames
[] = {
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (wxPyValidator
*)new wxPyValidator();
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27599 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27602 PyObject
*arg2
= (PyObject
*) 0 ;
27603 PyObject
*arg3
= (PyObject
*) 0 ;
27604 int arg4
= (int) True
;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 PyObject
* obj2
= 0 ;
27608 PyObject
* obj3
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27619 arg4
= (int) SWIG_AsInt(obj3
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
27638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27639 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27641 return Py_BuildValue((char *)"");
27643 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
27644 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27649 static PyObject
*_wrap_DefaultValidator_get() {
27652 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27657 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27658 PyObject
*resultobj
;
27659 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27660 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27661 long arg2
= (long) 0 ;
27663 bool temp1
= False
;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 char *kwnames
[] = {
27667 (char *) "title",(char *) "style", NULL
27670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27673 arg1
= wxString_in_helper(obj0
);
27674 if (arg1
== NULL
) SWIG_fail
;
27679 arg2
= (long) SWIG_AsLong(obj1
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= wxPyMake_wxObject(result
);
27706 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxMenu
*arg1
= (wxMenu
*) 0 ;
27710 wxString
*arg3
= 0 ;
27711 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27712 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27713 int arg5
= (int) wxITEM_NORMAL
;
27714 wxMenuItem
*result
;
27715 bool temp3
= False
;
27716 bool temp4
= False
;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 PyObject
* obj2
= 0 ;
27720 PyObject
* obj3
= 0 ;
27721 PyObject
* obj4
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27729 arg2
= (int) SWIG_AsInt(obj1
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 arg3
= wxString_in_helper(obj2
);
27733 if (arg3
== NULL
) SWIG_fail
;
27738 arg4
= wxString_in_helper(obj3
);
27739 if (arg4
== NULL
) SWIG_fail
;
27744 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= wxPyMake_wxObject(result
);
27779 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxMenu
*arg1
= (wxMenu
*) 0 ;
27782 wxMenuItem
*result
;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= wxPyMake_wxObject(result
);
27807 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxMenu
*arg1
= (wxMenu
*) 0 ;
27811 wxString
*arg3
= 0 ;
27812 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27813 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27814 wxMenuItem
*result
;
27815 bool temp3
= False
;
27816 bool temp4
= False
;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 PyObject
* obj2
= 0 ;
27820 PyObject
* obj3
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27828 arg2
= (int) SWIG_AsInt(obj1
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 arg3
= wxString_in_helper(obj2
);
27832 if (arg3
== NULL
) SWIG_fail
;
27837 arg4
= wxString_in_helper(obj3
);
27838 if (arg4
== NULL
) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= wxPyMake_wxObject(result
);
27874 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxMenu
*arg1
= (wxMenu
*) 0 ;
27878 wxString
*arg3
= 0 ;
27879 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27880 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27881 wxMenuItem
*result
;
27882 bool temp3
= False
;
27883 bool temp4
= False
;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 PyObject
* obj2
= 0 ;
27887 PyObject
* obj3
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 arg2
= (int) SWIG_AsInt(obj1
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 arg3
= wxString_in_helper(obj2
);
27899 if (arg3
== NULL
) SWIG_fail
;
27904 arg4
= wxString_in_helper(obj3
);
27905 if (arg4
== NULL
) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= wxPyMake_wxObject(result
);
27941 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxMenu
*arg1
= (wxMenu
*) 0 ;
27945 wxString
*arg3
= 0 ;
27946 wxMenu
*arg4
= (wxMenu
*) 0 ;
27947 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27948 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27949 wxMenuItem
*result
;
27950 bool temp3
= False
;
27951 bool temp5
= False
;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 PyObject
* obj2
= 0 ;
27955 PyObject
* obj3
= 0 ;
27956 PyObject
* obj4
= 0 ;
27957 char *kwnames
[] = {
27958 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27964 arg2
= (int) SWIG_AsInt(obj1
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 arg3
= wxString_in_helper(obj2
);
27968 if (arg3
== NULL
) SWIG_fail
;
27971 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27975 arg5
= wxString_in_helper(obj4
);
27976 if (arg5
== NULL
) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= wxPyMake_wxObject(result
);
28012 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxMenu
*arg1
= (wxMenu
*) 0 ;
28015 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28016 wxMenuItem
*result
;
28017 PyObject
* obj0
= 0 ;
28018 PyObject
* obj1
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self",(char *) "item", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= wxPyMake_wxObject(result
);
28044 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxMenu
*arg1
= (wxMenu
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 Py_INCREF(Py_None
); resultobj
= Py_None
;
28069 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxMenu
*arg1
= (wxMenu
*) 0 ;
28073 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28074 wxMenuItem
*result
;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 PyObject
* obj2
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "pos",(char *) "item", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28085 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28087 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= wxPyMake_wxObject(result
);
28105 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28106 PyObject
*resultobj
;
28107 wxMenu
*arg1
= (wxMenu
*) 0 ;
28110 wxString
*arg4
= 0 ;
28111 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28112 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28113 int arg6
= (int) wxITEM_NORMAL
;
28114 wxMenuItem
*result
;
28115 bool temp4
= False
;
28116 bool temp5
= False
;
28117 PyObject
* obj0
= 0 ;
28118 PyObject
* obj1
= 0 ;
28119 PyObject
* obj2
= 0 ;
28120 PyObject
* obj3
= 0 ;
28121 PyObject
* obj4
= 0 ;
28122 PyObject
* obj5
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28132 arg3
= (int) SWIG_AsInt(obj2
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 arg4
= wxString_in_helper(obj3
);
28136 if (arg4
== NULL
) SWIG_fail
;
28141 arg5
= wxString_in_helper(obj4
);
28142 if (arg5
== NULL
) SWIG_fail
;
28147 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= wxPyMake_wxObject(result
);
28182 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
;
28184 wxMenu
*arg1
= (wxMenu
*) 0 ;
28186 wxMenuItem
*result
;
28187 PyObject
* obj0
= 0 ;
28188 PyObject
* obj1
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self",(char *) "pos", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28196 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= wxPyMake_wxObject(result
);
28214 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxMenu
*arg1
= (wxMenu
*) 0 ;
28219 wxString
*arg4
= 0 ;
28220 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28221 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28222 wxMenuItem
*result
;
28223 bool temp4
= False
;
28224 bool temp5
= False
;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 PyObject
* obj2
= 0 ;
28228 PyObject
* obj3
= 0 ;
28229 PyObject
* obj4
= 0 ;
28230 char *kwnames
[] = {
28231 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28237 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28239 arg3
= (int) SWIG_AsInt(obj2
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 arg4
= wxString_in_helper(obj3
);
28243 if (arg4
== NULL
) SWIG_fail
;
28248 arg5
= wxString_in_helper(obj4
);
28249 if (arg5
== NULL
) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= wxPyMake_wxObject(result
);
28285 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxMenu
*arg1
= (wxMenu
*) 0 ;
28290 wxString
*arg4
= 0 ;
28291 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28292 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28293 wxMenuItem
*result
;
28294 bool temp4
= False
;
28295 bool temp5
= False
;
28296 PyObject
* obj0
= 0 ;
28297 PyObject
* obj1
= 0 ;
28298 PyObject
* obj2
= 0 ;
28299 PyObject
* obj3
= 0 ;
28300 PyObject
* obj4
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28308 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28310 arg3
= (int) SWIG_AsInt(obj2
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 arg4
= wxString_in_helper(obj3
);
28314 if (arg4
== NULL
) SWIG_fail
;
28319 arg5
= wxString_in_helper(obj4
);
28320 if (arg5
== NULL
) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= wxPyMake_wxObject(result
);
28356 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
;
28358 wxMenu
*arg1
= (wxMenu
*) 0 ;
28361 wxString
*arg4
= 0 ;
28362 wxMenu
*arg5
= (wxMenu
*) 0 ;
28363 wxString
const &arg6_defvalue
= wxPyEmptyString
;
28364 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28365 wxMenuItem
*result
;
28366 bool temp4
= False
;
28367 bool temp6
= False
;
28368 PyObject
* obj0
= 0 ;
28369 PyObject
* obj1
= 0 ;
28370 PyObject
* obj2
= 0 ;
28371 PyObject
* obj3
= 0 ;
28372 PyObject
* obj4
= 0 ;
28373 PyObject
* obj5
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28381 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28383 arg3
= (int) SWIG_AsInt(obj2
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 arg4
= wxString_in_helper(obj3
);
28387 if (arg4
== NULL
) SWIG_fail
;
28390 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
28391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 arg6
= wxString_in_helper(obj5
);
28395 if (arg6
== NULL
) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= wxPyMake_wxObject(result
);
28431 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxMenu
*arg1
= (wxMenu
*) 0 ;
28434 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28435 wxMenuItem
*result
;
28436 PyObject
* obj0
= 0 ;
28437 PyObject
* obj1
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self",(char *) "item", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= wxPyMake_wxObject(result
);
28463 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxMenu
*arg1
= (wxMenu
*) 0 ;
28467 wxString
*arg3
= 0 ;
28468 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28469 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28470 int arg5
= (int) wxITEM_NORMAL
;
28471 wxMenuItem
*result
;
28472 bool temp3
= False
;
28473 bool temp4
= False
;
28474 PyObject
* obj0
= 0 ;
28475 PyObject
* obj1
= 0 ;
28476 PyObject
* obj2
= 0 ;
28477 PyObject
* obj3
= 0 ;
28478 PyObject
* obj4
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28486 arg2
= (int) SWIG_AsInt(obj1
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 arg3
= wxString_in_helper(obj2
);
28490 if (arg3
== NULL
) SWIG_fail
;
28495 arg4
= wxString_in_helper(obj3
);
28496 if (arg4
== NULL
) SWIG_fail
;
28501 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= wxPyMake_wxObject(result
);
28536 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxMenu
*arg1
= (wxMenu
*) 0 ;
28539 wxMenuItem
*result
;
28540 PyObject
* obj0
= 0 ;
28541 char *kwnames
[] = {
28542 (char *) "self", NULL
28545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= wxPyMake_wxObject(result
);
28564 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxMenu
*arg1
= (wxMenu
*) 0 ;
28568 wxString
*arg3
= 0 ;
28569 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28570 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28571 wxMenuItem
*result
;
28572 bool temp3
= False
;
28573 bool temp4
= False
;
28574 PyObject
* obj0
= 0 ;
28575 PyObject
* obj1
= 0 ;
28576 PyObject
* obj2
= 0 ;
28577 PyObject
* obj3
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28585 arg2
= (int) SWIG_AsInt(obj1
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 arg3
= wxString_in_helper(obj2
);
28589 if (arg3
== NULL
) SWIG_fail
;
28594 arg4
= wxString_in_helper(obj3
);
28595 if (arg4
== NULL
) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= wxPyMake_wxObject(result
);
28631 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxMenu
*arg1
= (wxMenu
*) 0 ;
28635 wxString
*arg3
= 0 ;
28636 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28637 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28638 wxMenuItem
*result
;
28639 bool temp3
= False
;
28640 bool temp4
= False
;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 PyObject
* obj2
= 0 ;
28644 PyObject
* obj3
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28652 arg2
= (int) SWIG_AsInt(obj1
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 arg3
= wxString_in_helper(obj2
);
28656 if (arg3
== NULL
) SWIG_fail
;
28661 arg4
= wxString_in_helper(obj3
);
28662 if (arg4
== NULL
) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= wxPyMake_wxObject(result
);
28698 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxMenu
*arg1
= (wxMenu
*) 0 ;
28702 wxString
*arg3
= 0 ;
28703 wxMenu
*arg4
= (wxMenu
*) 0 ;
28704 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28705 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28706 wxMenuItem
*result
;
28707 bool temp3
= False
;
28708 bool temp5
= False
;
28709 PyObject
* obj0
= 0 ;
28710 PyObject
* obj1
= 0 ;
28711 PyObject
* obj2
= 0 ;
28712 PyObject
* obj3
= 0 ;
28713 PyObject
* obj4
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28721 arg2
= (int) SWIG_AsInt(obj1
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 arg3
= wxString_in_helper(obj2
);
28725 if (arg3
== NULL
) SWIG_fail
;
28728 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28732 arg5
= wxString_in_helper(obj4
);
28733 if (arg5
== NULL
) SWIG_fail
;
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28741 wxPyEndAllowThreads(__tstate
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= wxPyMake_wxObject(result
);
28769 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 wxMenu
*arg1
= (wxMenu
*) 0 ;
28773 wxMenuItem
*result
;
28774 PyObject
* obj0
= 0 ;
28775 PyObject
* obj1
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self",(char *) "id", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28783 arg2
= (int) SWIG_AsInt(obj1
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= wxPyMake_wxObject(result
);
28801 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28803 wxMenu
*arg1
= (wxMenu
*) 0 ;
28804 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28805 wxMenuItem
*result
;
28806 PyObject
* obj0
= 0 ;
28807 PyObject
* obj1
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "item", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= wxPyMake_wxObject(result
);
28833 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxMenu
*arg1
= (wxMenu
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 char *kwnames
[] = {
28841 (char *) "self",(char *) "id", NULL
28844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28847 arg2
= (int) SWIG_AsInt(obj1
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (bool)(arg1
)->Delete(arg2
);
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28865 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28866 PyObject
*resultobj
;
28867 wxMenu
*arg1
= (wxMenu
*) 0 ;
28868 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self",(char *) "item", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 result
= (bool)(arg1
)->Delete(arg2
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28897 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
;
28899 wxMenu
*arg1
= (wxMenu
*) 0 ;
28900 PyObject
* obj0
= 0 ;
28901 char *kwnames
[] = {
28902 (char *) "self", NULL
28905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 wxMenu_Destroy(arg1
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 Py_INCREF(Py_None
); resultobj
= Py_None
;
28922 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
;
28924 wxMenu
*arg1
= (wxMenu
*) 0 ;
28927 PyObject
* obj0
= 0 ;
28928 PyObject
* obj1
= 0 ;
28929 char *kwnames
[] = {
28930 (char *) "self",(char *) "id", NULL
28933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28936 arg2
= (int) SWIG_AsInt(obj1
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 result
= (bool)(arg1
)->Destroy(arg2
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28954 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
;
28956 wxMenu
*arg1
= (wxMenu
*) 0 ;
28957 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28959 PyObject
* obj0
= 0 ;
28960 PyObject
* obj1
= 0 ;
28961 char *kwnames
[] = {
28962 (char *) "self",(char *) "item", NULL
28965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (bool)(arg1
)->Destroy(arg2
);
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28986 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
;
28988 wxMenu
*arg1
= (wxMenu
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29002 wxPyEndAllowThreads(__tstate
);
29003 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29012 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29013 PyObject
*resultobj
;
29014 wxMenu
*arg1
= (wxMenu
*) 0 ;
29016 PyObject
* obj0
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= result
;
29038 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxMenu
*arg1
= (wxMenu
*) 0 ;
29041 wxString
*arg2
= 0 ;
29043 bool temp2
= False
;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self",(char *) "item", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29054 arg2
= wxString_in_helper(obj1
);
29055 if (arg2
== NULL
) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_FromInt((int)result
);
29080 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxMenu
*arg1
= (wxMenu
*) 0 ;
29084 wxMenuItem
*result
;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "id", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29094 arg2
= (int) SWIG_AsInt(obj1
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29104 resultobj
= wxPyMake_wxObject(result
);
29112 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29114 wxMenu
*arg1
= (wxMenu
*) 0 ;
29116 wxMenuItem
*result
;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 char *kwnames
[] = {
29120 (char *) "self",(char *) "position", NULL
29123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29126 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= wxPyMake_wxObject(result
);
29144 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
;
29146 wxMenu
*arg1
= (wxMenu
*) 0 ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 PyObject
* obj2
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self",(char *) "id",(char *) "enable", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 arg2
= (int) SWIG_AsInt(obj1
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29161 arg3
= (bool) SWIG_AsBool(obj2
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 (arg1
)->Enable(arg2
,arg3
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 Py_INCREF(Py_None
); resultobj
= Py_None
;
29177 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxMenu
*arg1
= (wxMenu
*) 0 ;
29182 PyObject
* obj0
= 0 ;
29183 PyObject
* obj1
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self",(char *) "id", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29191 arg2
= (int) SWIG_AsInt(obj1
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29209 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxMenu
*arg1
= (wxMenu
*) 0 ;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 PyObject
* obj2
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "self",(char *) "id",(char *) "check", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29224 arg2
= (int) SWIG_AsInt(obj1
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29226 arg3
= (bool) SWIG_AsBool(obj2
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 (arg1
)->Check(arg2
,arg3
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 Py_INCREF(Py_None
); resultobj
= Py_None
;
29242 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxMenu
*arg1
= (wxMenu
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self",(char *) "id", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29256 arg2
= (int) SWIG_AsInt(obj1
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29274 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxMenu
*arg1
= (wxMenu
*) 0 ;
29278 wxString
*arg3
= 0 ;
29279 bool temp3
= False
;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 PyObject
* obj2
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self",(char *) "id",(char *) "label", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29290 arg2
= (int) SWIG_AsInt(obj1
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 arg3
= wxString_in_helper(obj2
);
29294 if (arg3
== NULL
) SWIG_fail
;
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29301 wxPyEndAllowThreads(__tstate
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxMenu
*arg1
= (wxMenu
*) 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self",(char *) "id", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29333 arg2
= (int) SWIG_AsInt(obj1
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29355 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxMenu
*arg1
= (wxMenu
*) 0 ;
29359 wxString
*arg3
= 0 ;
29360 bool temp3
= False
;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 PyObject
* obj2
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "self",(char *) "id",(char *) "helpString", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29371 arg2
= (int) SWIG_AsInt(obj1
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 arg3
= wxString_in_helper(obj2
);
29375 if (arg3
== NULL
) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 Py_INCREF(Py_None
); resultobj
= Py_None
;
29400 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxMenu
*arg1
= (wxMenu
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self",(char *) "id", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29414 arg2
= (int) SWIG_AsInt(obj1
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29436 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxMenu
*arg1
= (wxMenu
*) 0 ;
29439 wxString
*arg2
= 0 ;
29440 bool temp2
= False
;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "title", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29451 arg2
= wxString_in_helper(obj1
);
29452 if (arg2
== NULL
) SWIG_fail
;
29456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 (arg1
)->SetTitle((wxString
const &)*arg2
);
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29462 Py_INCREF(Py_None
); resultobj
= Py_None
;
29477 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxMenu
*arg1
= (wxMenu
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
29487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= ((wxMenu
const *)arg1
)->GetTitle();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29509 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
;
29511 wxMenu
*arg1
= (wxMenu
*) 0 ;
29512 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self",(char *) "handler", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 (arg1
)->SetEventHandler(arg2
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 Py_INCREF(Py_None
); resultobj
= Py_None
;
29538 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxMenu
*arg1
= (wxMenu
*) 0 ;
29541 wxEvtHandler
*result
;
29542 PyObject
* obj0
= 0 ;
29543 char *kwnames
[] = {
29544 (char *) "self", NULL
29547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= wxPyMake_wxObject(result
);
29566 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
;
29568 wxMenu
*arg1
= (wxMenu
*) 0 ;
29569 wxWindow
*arg2
= (wxWindow
*) 0 ;
29570 PyObject
* obj0
= 0 ;
29571 PyObject
* obj1
= 0 ;
29572 char *kwnames
[] = {
29573 (char *) "self",(char *) "win", NULL
29576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 (arg1
)->SetInvokingWindow(arg2
);
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29588 Py_INCREF(Py_None
); resultobj
= Py_None
;
29595 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
;
29597 wxMenu
*arg1
= (wxMenu
*) 0 ;
29599 PyObject
* obj0
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "self", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= wxPyMake_wxObject(result
);
29623 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxMenu
*arg1
= (wxMenu
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= SWIG_FromLong((long)result
);
29649 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
;
29651 wxMenu
*arg1
= (wxMenu
*) 0 ;
29652 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "source", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 (arg1
)->UpdateUI(arg2
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 Py_INCREF(Py_None
); resultobj
= Py_None
;
29680 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxMenu
*arg1
= (wxMenu
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29700 resultobj
= wxPyMake_wxObject(result
);
29708 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
;
29710 wxMenu
*arg1
= (wxMenu
*) 0 ;
29711 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29712 PyObject
* obj0
= 0 ;
29713 PyObject
* obj1
= 0 ;
29714 char *kwnames
[] = {
29715 (char *) "self",(char *) "menubar", NULL
29718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 (arg1
)->Attach(arg2
);
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29730 Py_INCREF(Py_None
); resultobj
= Py_None
;
29737 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
;
29739 wxMenu
*arg1
= (wxMenu
*) 0 ;
29740 PyObject
* obj0
= 0 ;
29741 char *kwnames
[] = {
29742 (char *) "self", NULL
29745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 Py_INCREF(Py_None
); resultobj
= Py_None
;
29762 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxMenu
*arg1
= (wxMenu
*) 0 ;
29766 PyObject
* obj0
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29790 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
;
29792 wxMenu
*arg1
= (wxMenu
*) 0 ;
29793 wxMenu
*arg2
= (wxMenu
*) 0 ;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "parent", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29807 (arg1
)->SetParent(arg2
);
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 Py_INCREF(Py_None
); resultobj
= Py_None
;
29819 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29820 PyObject
*resultobj
;
29821 wxMenu
*arg1
= (wxMenu
*) 0 ;
29823 PyObject
* obj0
= 0 ;
29824 char *kwnames
[] = {
29825 (char *) "self", NULL
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= wxPyMake_wxObject(result
);
29847 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29850 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29852 return Py_BuildValue((char *)"");
29854 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 long arg1
= (long) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "style", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29865 arg1
= (long) SWIG_AsLong(obj0
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= wxPyMake_wxObject(result
);
29884 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29885 PyObject
*resultobj
;
29886 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29887 wxMenu
*arg2
= (wxMenu
*) 0 ;
29888 wxString
*arg3
= 0 ;
29890 bool temp3
= False
;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 PyObject
* obj2
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self",(char *) "menu",(char *) "title", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29904 arg3
= wxString_in_helper(obj2
);
29905 if (arg3
== NULL
) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29932 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
;
29934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29936 wxMenu
*arg3
= (wxMenu
*) 0 ;
29937 wxString
*arg4
= 0 ;
29939 bool temp4
= False
;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 PyObject
* obj2
= 0 ;
29943 PyObject
* obj3
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29951 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29953 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29956 arg4
= wxString_in_helper(obj3
);
29957 if (arg4
== NULL
) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29984 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
;
29986 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29988 PyObject
* obj0
= 0 ;
29989 char *kwnames
[] = {
29990 (char *) "self", NULL
29993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30010 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char *kwnames
[] = {
30018 (char *) "self",(char *) "pos", NULL
30021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30024 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= wxPyMake_wxObject(result
);
30042 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
;
30044 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30046 wxMenu
*arg3
= (wxMenu
*) 0 ;
30047 wxString
*arg4
= 0 ;
30049 bool temp4
= False
;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 PyObject
* obj2
= 0 ;
30053 PyObject
* obj3
= 0 ;
30054 char *kwnames
[] = {
30055 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30061 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30066 arg4
= wxString_in_helper(obj3
);
30067 if (arg4
== NULL
) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= wxPyMake_wxObject(result
);
30094 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
;
30096 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30099 PyObject
* obj0
= 0 ;
30100 PyObject
* obj1
= 0 ;
30101 char *kwnames
[] = {
30102 (char *) "self",(char *) "pos", NULL
30105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30112 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30114 wxPyEndAllowThreads(__tstate
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= wxPyMake_wxObject(result
);
30126 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
;
30128 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30131 PyObject
* obj0
= 0 ;
30132 PyObject
* obj1
= 0 ;
30133 PyObject
* obj2
= 0 ;
30134 char *kwnames
[] = {
30135 (char *) "self",(char *) "pos",(char *) "enable", NULL
30138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30141 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30143 arg3
= (bool) SWIG_AsBool(obj2
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 (arg1
)->EnableTop(arg2
,arg3
);
30149 wxPyEndAllowThreads(__tstate
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30152 Py_INCREF(Py_None
); resultobj
= Py_None
;
30159 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
;
30161 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30164 PyObject
* obj0
= 0 ;
30165 PyObject
* obj1
= 0 ;
30166 char *kwnames
[] = {
30167 (char *) "self",(char *) "pos", NULL
30170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30173 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30191 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30195 wxString
*arg3
= 0 ;
30196 bool temp3
= False
;
30197 PyObject
* obj0
= 0 ;
30198 PyObject
* obj1
= 0 ;
30199 PyObject
* obj2
= 0 ;
30200 char *kwnames
[] = {
30201 (char *) "self",(char *) "pos",(char *) "label", NULL
30204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30207 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 arg3
= wxString_in_helper(obj2
);
30211 if (arg3
== NULL
) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 Py_INCREF(Py_None
); resultobj
= Py_None
;
30236 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 char *kwnames
[] = {
30244 (char *) "self",(char *) "pos", NULL
30247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30250 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30272 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
;
30274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30275 wxString
*arg2
= 0 ;
30276 wxString
*arg3
= 0 ;
30278 bool temp2
= False
;
30279 bool temp3
= False
;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 PyObject
* obj2
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self",(char *) "menu",(char *) "item", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30291 arg2
= wxString_in_helper(obj1
);
30292 if (arg2
== NULL
) SWIG_fail
;
30296 arg3
= wxString_in_helper(obj2
);
30297 if (arg3
== NULL
) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 resultobj
= SWIG_FromInt((int)result
);
30330 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30334 wxMenuItem
*result
;
30335 PyObject
* obj0
= 0 ;
30336 PyObject
* obj1
= 0 ;
30337 char *kwnames
[] = {
30338 (char *) "self",(char *) "id", NULL
30341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30344 arg2
= (int) SWIG_AsInt(obj1
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= wxPyMake_wxObject(result
);
30362 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30365 wxString
*arg2
= 0 ;
30367 bool temp2
= False
;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "title", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30378 arg2
= wxString_in_helper(obj1
);
30379 if (arg2
== NULL
) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_FromInt((int)result
);
30404 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 PyObject
* obj2
= 0 ;
30412 char *kwnames
[] = {
30413 (char *) "self",(char *) "id",(char *) "enable", NULL
30416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30419 arg2
= (int) SWIG_AsInt(obj1
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30421 arg3
= (bool) SWIG_AsBool(obj2
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 (arg1
)->Enable(arg2
,arg3
);
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30430 Py_INCREF(Py_None
); resultobj
= Py_None
;
30437 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
;
30439 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 PyObject
* obj2
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "id",(char *) "check", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30452 arg2
= (int) SWIG_AsInt(obj1
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30454 arg3
= (bool) SWIG_AsBool(obj2
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->Check(arg2
,arg3
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 Py_INCREF(Py_None
); resultobj
= Py_None
;
30470 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30475 PyObject
* obj0
= 0 ;
30476 PyObject
* obj1
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self",(char *) "id", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30484 arg2
= (int) SWIG_AsInt(obj1
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30502 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
;
30504 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "id", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30516 arg2
= (int) SWIG_AsInt(obj1
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30534 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
;
30536 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30538 wxString
*arg3
= 0 ;
30539 bool temp3
= False
;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 PyObject
* obj2
= 0 ;
30543 char *kwnames
[] = {
30544 (char *) "self",(char *) "id",(char *) "label", NULL
30547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30550 arg2
= (int) SWIG_AsInt(obj1
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 arg3
= wxString_in_helper(obj2
);
30554 if (arg3
== NULL
) SWIG_fail
;
30558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30559 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30561 wxPyEndAllowThreads(__tstate
);
30562 if (PyErr_Occurred()) SWIG_fail
;
30564 Py_INCREF(Py_None
); resultobj
= Py_None
;
30579 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "id", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30593 arg2
= (int) SWIG_AsInt(obj1
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30615 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
;
30617 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30619 wxString
*arg3
= 0 ;
30620 bool temp3
= False
;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 PyObject
* obj2
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self",(char *) "id",(char *) "helpString", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30631 arg2
= (int) SWIG_AsInt(obj1
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 arg3
= wxString_in_helper(obj2
);
30635 if (arg3
== NULL
) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 Py_INCREF(Py_None
); resultobj
= Py_None
;
30660 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self",(char *) "id", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30674 arg2
= (int) SWIG_AsInt(obj1
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30696 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "self", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= wxPyMake_wxObject(result
);
30724 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30752 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30755 wxFrame
*arg2
= (wxFrame
*) 0 ;
30756 PyObject
* obj0
= 0 ;
30757 PyObject
* obj1
= 0 ;
30758 char *kwnames
[] = {
30759 (char *) "self",(char *) "frame", NULL
30762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 (arg1
)->Attach(arg2
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 Py_INCREF(Py_None
); resultobj
= Py_None
;
30781 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30784 PyObject
* obj0
= 0 ;
30785 char *kwnames
[] = {
30786 (char *) "self", NULL
30789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 Py_INCREF(Py_None
); resultobj
= Py_None
;
30806 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30809 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30811 return Py_BuildValue((char *)"");
30813 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
;
30815 wxMenu
*arg1
= (wxMenu
*) NULL
;
30816 int arg2
= (int) wxID_SEPARATOR
;
30817 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30818 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30819 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30820 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30821 int arg5
= (int) wxITEM_NORMAL
;
30822 wxMenu
*arg6
= (wxMenu
*) NULL
;
30823 wxMenuItem
*result
;
30824 bool temp3
= False
;
30825 bool temp4
= False
;
30826 PyObject
* obj0
= 0 ;
30827 PyObject
* obj1
= 0 ;
30828 PyObject
* obj2
= 0 ;
30829 PyObject
* obj3
= 0 ;
30830 PyObject
* obj4
= 0 ;
30831 PyObject
* obj5
= 0 ;
30832 char *kwnames
[] = {
30833 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30842 arg2
= (int) SWIG_AsInt(obj1
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30847 arg3
= wxString_in_helper(obj2
);
30848 if (arg3
== NULL
) SWIG_fail
;
30854 arg4
= wxString_in_helper(obj3
);
30855 if (arg4
== NULL
) SWIG_fail
;
30860 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30864 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= wxPyMake_wxObject(result
);
30899 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30903 PyObject
* obj0
= 0 ;
30904 char *kwnames
[] = {
30905 (char *) "self", NULL
30908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= wxPyMake_wxObject(result
);
30927 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
;
30929 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30930 wxMenu
*arg2
= (wxMenu
*) 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self",(char *) "menu", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 (arg1
)->SetMenu(arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30956 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 char *kwnames
[] = {
30963 (char *) "self",(char *) "id", NULL
30966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30969 arg2
= (int) SWIG_AsInt(obj1
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 (arg1
)->SetId(arg2
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 Py_INCREF(Py_None
); resultobj
= Py_None
;
30985 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
;
30987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 char *kwnames
[] = {
30991 (char *) "self", NULL
30994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= SWIG_FromInt((int)result
);
31011 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31012 PyObject
*resultobj
;
31013 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31015 PyObject
* obj0
= 0 ;
31016 char *kwnames
[] = {
31017 (char *) "self", NULL
31020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31039 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31042 wxString
*arg2
= 0 ;
31043 bool temp2
= False
;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "str", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31054 arg2
= wxString_in_helper(obj1
);
31055 if (arg2
== NULL
) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 (arg1
)->SetText((wxString
const &)*arg2
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 Py_INCREF(Py_None
); resultobj
= Py_None
;
31080 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31084 PyObject
* obj0
= 0 ;
31085 char *kwnames
[] = {
31086 (char *) "self", NULL
31089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31112 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
;
31114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 char *kwnames
[] = {
31118 (char *) "self", NULL
31121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31128 result
= (wxString
*) &_result_ref
;
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31147 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxString
*arg1
= 0 ;
31151 bool temp1
= False
;
31152 PyObject
* obj0
= 0 ;
31153 char *kwnames
[] = {
31154 (char *) "text", NULL
31157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31159 arg1
= wxString_in_helper(obj0
);
31160 if (arg1
== NULL
) SWIG_fail
;
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31167 wxPyEndAllowThreads(__tstate
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31191 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
;
31193 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 char *kwnames
[] = {
31197 (char *) "self", NULL
31200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= SWIG_FromInt((int)result
);
31217 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 char *kwnames
[] = {
31224 (char *) "self",(char *) "checkable", NULL
31227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
31228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31230 arg2
= (bool) SWIG_AsBool(obj1
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 (arg1
)->SetCheckable(arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 Py_INCREF(Py_None
); resultobj
= Py_None
;
31246 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
;
31248 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 char *kwnames
[] = {
31252 (char *) "self", NULL
31255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
31256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31274 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
;
31276 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31278 PyObject
* obj0
= 0 ;
31279 char *kwnames
[] = {
31280 (char *) "self", NULL
31283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
31284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31302 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
;
31304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31305 wxMenu
*arg2
= (wxMenu
*) 0 ;
31306 PyObject
* obj0
= 0 ;
31307 PyObject
* obj1
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self",(char *) "menu", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->SetSubMenu(arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 Py_INCREF(Py_None
); resultobj
= Py_None
;
31331 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
;
31333 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31335 PyObject
* obj0
= 0 ;
31336 char *kwnames
[] = {
31337 (char *) "self", NULL
31340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
31341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31345 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= wxPyMake_wxObject(result
);
31359 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
;
31361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31362 bool arg2
= (bool) True
;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 char *kwnames
[] = {
31366 (char *) "self",(char *) "enable", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
31370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31373 arg2
= (bool) SWIG_AsBool(obj1
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 (arg1
)->Enable(arg2
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 Py_INCREF(Py_None
); resultobj
= Py_None
;
31390 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
;
31392 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31394 PyObject
* obj0
= 0 ;
31395 char *kwnames
[] = {
31396 (char *) "self", NULL
31399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
31400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31418 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31421 bool arg2
= (bool) True
;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self",(char *) "check", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
31429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31432 arg2
= (bool) SWIG_AsBool(obj1
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 (arg1
)->Check(arg2
);
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 Py_INCREF(Py_None
); resultobj
= Py_None
;
31449 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31477 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
;
31479 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 wxPyEndAllowThreads(__tstate
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31495 Py_INCREF(Py_None
); resultobj
= Py_None
;
31502 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
;
31504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31505 wxString
*arg2
= 0 ;
31506 bool temp2
= False
;
31507 PyObject
* obj0
= 0 ;
31508 PyObject
* obj1
= 0 ;
31509 char *kwnames
[] = {
31510 (char *) "self",(char *) "str", NULL
31513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31517 arg2
= wxString_in_helper(obj1
);
31518 if (arg2
== NULL
) SWIG_fail
;
31522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 (arg1
)->SetHelp((wxString
const &)*arg2
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 Py_INCREF(Py_None
); resultobj
= Py_None
;
31543 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31544 PyObject
*resultobj
;
31545 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "self", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31559 result
= (wxString
*) &_result_ref
;
31562 wxPyEndAllowThreads(__tstate
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31578 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31579 PyObject
*resultobj
;
31580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31581 wxAcceleratorEntry
*result
;
31582 PyObject
* obj0
= 0 ;
31583 char *kwnames
[] = {
31584 (char *) "self", NULL
31587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31604 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
;
31606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31607 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31608 PyObject
* obj0
= 0 ;
31609 PyObject
* obj1
= 0 ;
31610 char *kwnames
[] = {
31611 (char *) "self",(char *) "accel", NULL
31614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 (arg1
)->SetAccel(arg2
);
31623 wxPyEndAllowThreads(__tstate
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31626 Py_INCREF(Py_None
); resultobj
= Py_None
;
31633 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31634 PyObject
*resultobj
;
31635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 PyObject
* obj1
= 0 ;
31639 char *kwnames
[] = {
31640 (char *) "self",(char *) "font", NULL
31643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
31644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
31647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31649 if (arg2
== NULL
) {
31650 PyErr_SetString(PyExc_TypeError
,"null reference");
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->SetFont((wxFont
const &)*arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 Py_INCREF(Py_None
); resultobj
= Py_None
;
31667 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31671 PyObject
* obj0
= 0 ;
31672 char *kwnames
[] = {
31673 (char *) "self", NULL
31676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
31677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (arg1
)->GetFont();
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31687 wxFont
* resultptr
;
31688 resultptr
= new wxFont((wxFont
&) result
);
31689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
31697 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31698 PyObject
*resultobj
;
31699 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31700 wxColour
*arg2
= 0 ;
31702 PyObject
* obj0
= 0 ;
31703 PyObject
* obj1
= 0 ;
31704 char *kwnames
[] = {
31705 (char *) "self",(char *) "colText", NULL
31708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31713 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
31719 wxPyEndAllowThreads(__tstate
);
31720 if (PyErr_Occurred()) SWIG_fail
;
31722 Py_INCREF(Py_None
); resultobj
= Py_None
;
31729 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
;
31731 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31733 PyObject
* obj0
= 0 ;
31734 char *kwnames
[] = {
31735 (char *) "self", NULL
31738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
31739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (arg1
)->GetTextColour();
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 wxColour
* resultptr
;
31750 resultptr
= new wxColour((wxColour
&) result
);
31751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31759 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
;
31761 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31762 wxColour
*arg2
= 0 ;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "self",(char *) "colBack", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31775 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 Py_INCREF(Py_None
); resultobj
= Py_None
;
31791 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
;
31793 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31795 PyObject
* obj0
= 0 ;
31796 char *kwnames
[] = {
31797 (char *) "self", NULL
31800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= (arg1
)->GetBackgroundColour();
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31811 wxColour
* resultptr
;
31812 resultptr
= new wxColour((wxColour
&) result
);
31813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31821 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
;
31823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31824 wxBitmap
*arg2
= 0 ;
31825 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31826 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31827 PyObject
* obj0
= 0 ;
31828 PyObject
* obj1
= 0 ;
31829 PyObject
* obj2
= 0 ;
31830 char *kwnames
[] = {
31831 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31840 if (arg2
== NULL
) {
31841 PyErr_SetString(PyExc_TypeError
,"null reference");
31845 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
31846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31848 if (arg3
== NULL
) {
31849 PyErr_SetString(PyExc_TypeError
,"null reference");
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 Py_INCREF(Py_None
); resultobj
= Py_None
;
31867 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
;
31869 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31870 wxBitmap
*arg2
= 0 ;
31871 PyObject
* obj0
= 0 ;
31872 PyObject
* obj1
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self",(char *) "bmpDisabled", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31883 if (arg2
== NULL
) {
31884 PyErr_SetString(PyExc_TypeError
,"null reference");
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 Py_INCREF(Py_None
); resultobj
= Py_None
;
31901 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
;
31903 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 char *kwnames
[] = {
31907 (char *) "self", NULL
31910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31917 result
= (wxBitmap
*) &_result_ref
;
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 wxBitmap
* resultptr
= new wxBitmap(*result
);
31925 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31933 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
;
31935 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 char *kwnames
[] = {
31940 (char *) "self",(char *) "nWidth", NULL
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31946 arg2
= (int) SWIG_AsInt(obj1
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 (arg1
)->SetMarginWidth(arg2
);
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 Py_INCREF(Py_None
); resultobj
= Py_None
;
31962 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31963 PyObject
*resultobj
;
31964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31966 PyObject
* obj0
= 0 ;
31967 char *kwnames
[] = {
31968 (char *) "self", NULL
31971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 result
= (int)(arg1
)->GetMarginWidth();
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31981 resultobj
= SWIG_FromInt((int)result
);
31988 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31989 PyObject
*resultobj
;
31991 char *kwnames
[] = {
31995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32000 wxPyEndAllowThreads(__tstate
);
32001 if (PyErr_Occurred()) SWIG_fail
;
32003 resultobj
= SWIG_FromInt((int)result
);
32010 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32011 PyObject
*resultobj
;
32012 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32014 PyObject
* obj0
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 result
= (bool)(arg1
)->IsOwnerDrawn();
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32038 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32041 bool arg2
= (bool) True
;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 char *kwnames
[] = {
32045 (char *) "self",(char *) "ownerDrawn", NULL
32048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32052 arg2
= (bool) SWIG_AsBool(obj1
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 (arg1
)->SetOwnerDrawn(arg2
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32062 Py_INCREF(Py_None
); resultobj
= Py_None
;
32069 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32070 PyObject
*resultobj
;
32071 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32072 PyObject
* obj0
= 0 ;
32073 char *kwnames
[] = {
32074 (char *) "self", NULL
32077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 (arg1
)->ResetOwnerDrawn();
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 Py_INCREF(Py_None
); resultobj
= Py_None
;
32094 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32097 wxBitmap
*arg2
= 0 ;
32098 PyObject
* obj0
= 0 ;
32099 PyObject
* obj1
= 0 ;
32100 char *kwnames
[] = {
32101 (char *) "self",(char *) "bitmap", NULL
32104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32110 if (arg2
== NULL
) {
32111 PyErr_SetString(PyExc_TypeError
,"null reference");
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 Py_INCREF(Py_None
); resultobj
= Py_None
;
32128 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32129 PyObject
*resultobj
;
32130 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32132 PyObject
* obj0
= 0 ;
32133 char *kwnames
[] = {
32134 (char *) "self", NULL
32137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32144 result
= (wxBitmap
*) &_result_ref
;
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32151 wxBitmap
* resultptr
= new wxBitmap(*result
);
32152 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32160 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32163 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32165 return Py_BuildValue((char *)"");
32167 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32168 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32173 static PyObject
*_wrap_ControlNameStr_get() {
32178 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32180 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32187 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32188 PyObject
*resultobj
;
32189 wxWindow
*arg1
= (wxWindow
*) 0 ;
32191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32195 long arg5
= (long) 0 ;
32196 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32197 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32198 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32199 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32203 bool temp7
= False
;
32204 PyObject
* obj0
= 0 ;
32205 PyObject
* obj1
= 0 ;
32206 PyObject
* obj2
= 0 ;
32207 PyObject
* obj3
= 0 ;
32208 PyObject
* obj4
= 0 ;
32209 PyObject
* obj5
= 0 ;
32210 PyObject
* obj6
= 0 ;
32211 char *kwnames
[] = {
32212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32218 arg2
= (int) SWIG_AsInt(obj1
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32233 arg5
= (long) SWIG_AsLong(obj4
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32237 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32240 if (arg6
== NULL
) {
32241 PyErr_SetString(PyExc_TypeError
,"null reference");
32247 arg7
= wxString_in_helper(obj6
);
32248 if (arg7
== NULL
) SWIG_fail
;
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= wxPyMake_wxObject(result
);
32276 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32277 PyObject
*resultobj
;
32279 char *kwnames
[] = {
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 result
= (wxControl
*)new wxControl();
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= wxPyMake_wxObject(result
);
32300 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxControl
*arg1
= (wxControl
*) 0 ;
32303 wxWindow
*arg2
= (wxWindow
*) 0 ;
32305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32309 long arg6
= (long) 0 ;
32310 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32311 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32312 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32317 bool temp8
= False
;
32318 PyObject
* obj0
= 0 ;
32319 PyObject
* obj1
= 0 ;
32320 PyObject
* obj2
= 0 ;
32321 PyObject
* obj3
= 0 ;
32322 PyObject
* obj4
= 0 ;
32323 PyObject
* obj5
= 0 ;
32324 PyObject
* obj6
= 0 ;
32325 PyObject
* obj7
= 0 ;
32326 char *kwnames
[] = {
32327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32335 arg3
= (int) SWIG_AsInt(obj2
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32350 arg6
= (long) SWIG_AsLong(obj5
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32354 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32357 if (arg7
== NULL
) {
32358 PyErr_SetString(PyExc_TypeError
,"null reference");
32364 arg8
= wxString_in_helper(obj7
);
32365 if (arg8
== NULL
) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32393 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32394 PyObject
*resultobj
;
32395 wxControl
*arg1
= (wxControl
*) 0 ;
32396 wxCommandEvent
*arg2
= 0 ;
32397 PyObject
* obj0
= 0 ;
32398 PyObject
* obj1
= 0 ;
32399 char *kwnames
[] = {
32400 (char *) "self",(char *) "event", NULL
32403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32409 if (arg2
== NULL
) {
32410 PyErr_SetString(PyExc_TypeError
,"null reference");
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 (arg1
)->Command(*arg2
);
32417 wxPyEndAllowThreads(__tstate
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32420 Py_INCREF(Py_None
); resultobj
= Py_None
;
32427 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32428 PyObject
*resultobj
;
32429 wxControl
*arg1
= (wxControl
*) 0 ;
32431 PyObject
* obj0
= 0 ;
32432 char *kwnames
[] = {
32433 (char *) "self", NULL
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 result
= (arg1
)->GetLabel();
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32459 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32460 PyObject
*resultobj
;
32461 wxControl
*arg1
= (wxControl
*) 0 ;
32462 wxString
*arg2
= 0 ;
32463 bool temp2
= False
;
32464 PyObject
* obj0
= 0 ;
32465 PyObject
* obj1
= 0 ;
32466 char *kwnames
[] = {
32467 (char *) "self",(char *) "label", NULL
32470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32474 arg2
= wxString_in_helper(obj1
);
32475 if (arg2
== NULL
) SWIG_fail
;
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 (arg1
)->SetLabel((wxString
const &)*arg2
);
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32485 Py_INCREF(Py_None
); resultobj
= Py_None
;
32500 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32503 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32505 return Py_BuildValue((char *)"");
32507 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32508 PyObject
*resultobj
;
32509 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32510 wxString
*arg2
= 0 ;
32511 PyObject
*arg3
= (PyObject
*) NULL
;
32513 bool temp2
= False
;
32514 PyObject
* obj0
= 0 ;
32515 PyObject
* obj1
= 0 ;
32516 PyObject
* obj2
= 0 ;
32517 char *kwnames
[] = {
32518 (char *) "self",(char *) "item",(char *) "clientData", NULL
32521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32525 arg2
= wxString_in_helper(obj1
);
32526 if (arg2
== NULL
) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= SWIG_FromInt((int)result
);
32554 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
;
32556 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32557 wxArrayString
*arg2
= 0 ;
32558 bool temp2
= False
;
32559 PyObject
* obj0
= 0 ;
32560 PyObject
* obj1
= 0 ;
32561 char *kwnames
[] = {
32562 (char *) "self",(char *) "strings", NULL
32565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32569 if (! PySequence_Check(obj1
)) {
32570 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32573 arg2
= new wxArrayString
;
32575 int i
, len
=PySequence_Length(obj1
);
32576 for (i
=0; i
<len
; i
++) {
32577 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32579 PyObject
* str
= PyObject_Unicode(item
);
32581 PyObject
* str
= PyObject_Str(item
);
32583 arg2
->Add(Py2wxString(str
));
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 (arg1
)->Append((wxArrayString
const &)*arg2
);
32592 wxPyEndAllowThreads(__tstate
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32595 Py_INCREF(Py_None
); resultobj
= Py_None
;
32597 if (temp2
) delete arg2
;
32602 if (temp2
) delete arg2
;
32608 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
;
32610 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32611 wxString
*arg2
= 0 ;
32613 PyObject
*arg4
= (PyObject
*) NULL
;
32615 bool temp2
= False
;
32616 PyObject
* obj0
= 0 ;
32617 PyObject
* obj1
= 0 ;
32618 PyObject
* obj2
= 0 ;
32619 PyObject
* obj3
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32628 arg2
= wxString_in_helper(obj1
);
32629 if (arg2
== NULL
) SWIG_fail
;
32632 arg3
= (int) SWIG_AsInt(obj2
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32644 resultobj
= SWIG_FromInt((int)result
);
32659 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32660 PyObject
*resultobj
;
32661 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 char *kwnames
[] = {
32664 (char *) "self", NULL
32667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 Py_INCREF(Py_None
); resultobj
= Py_None
;
32684 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
;
32686 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32688 PyObject
* obj0
= 0 ;
32689 PyObject
* obj1
= 0 ;
32690 char *kwnames
[] = {
32691 (char *) "self",(char *) "n", NULL
32694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32697 arg2
= (int) SWIG_AsInt(obj1
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 (arg1
)->Delete(arg2
);
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 Py_INCREF(Py_None
); resultobj
= Py_None
;
32713 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
;
32715 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32717 PyObject
* obj0
= 0 ;
32718 char *kwnames
[] = {
32719 (char *) "self", NULL
32722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 resultobj
= SWIG_FromInt((int)result
);
32739 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32767 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32768 PyObject
*resultobj
;
32769 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32772 PyObject
* obj0
= 0 ;
32773 PyObject
* obj1
= 0 ;
32774 char *kwnames
[] = {
32775 (char *) "self",(char *) "n", NULL
32778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
32779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32781 arg2
= (int) SWIG_AsInt(obj1
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32803 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
;
32805 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32806 wxArrayString result
;
32807 PyObject
* obj0
= 0 ;
32808 char *kwnames
[] = {
32809 (char *) "self", NULL
32812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= wxArrayString2PyList_helper(result
);
32831 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32835 wxString
*arg3
= 0 ;
32836 bool temp3
= False
;
32837 PyObject
* obj0
= 0 ;
32838 PyObject
* obj1
= 0 ;
32839 PyObject
* obj2
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self",(char *) "n",(char *) "s", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32847 arg2
= (int) SWIG_AsInt(obj1
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 arg3
= wxString_in_helper(obj2
);
32851 if (arg3
== NULL
) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32861 Py_INCREF(Py_None
); resultobj
= Py_None
;
32876 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32877 PyObject
*resultobj
;
32878 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32879 wxString
*arg2
= 0 ;
32881 bool temp2
= False
;
32882 PyObject
* obj0
= 0 ;
32883 PyObject
* obj1
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self",(char *) "s", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32892 arg2
= wxString_in_helper(obj1
);
32893 if (arg2
== NULL
) SWIG_fail
;
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_FromInt((int)result
);
32918 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32919 PyObject
*resultobj
;
32920 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32922 PyObject
* obj0
= 0 ;
32923 PyObject
* obj1
= 0 ;
32924 char *kwnames
[] = {
32925 (char *) "self",(char *) "n", NULL
32928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32931 arg2
= (int) SWIG_AsInt(obj1
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 (arg1
)->Select(arg2
);
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 Py_INCREF(Py_None
); resultobj
= Py_None
;
32947 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
;
32949 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 char *kwnames
[] = {
32953 (char *) "self", NULL
32956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32966 resultobj
= SWIG_FromInt((int)result
);
32973 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32974 PyObject
*resultobj
;
32975 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32977 PyObject
* obj0
= 0 ;
32978 char *kwnames
[] = {
32979 (char *) "self", NULL
32982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32987 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33005 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33006 PyObject
*resultobj
;
33007 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33010 PyObject
* obj0
= 0 ;
33011 PyObject
* obj1
= 0 ;
33012 char *kwnames
[] = {
33013 (char *) "self",(char *) "n", NULL
33016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33019 arg2
= (int) SWIG_AsInt(obj1
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= result
;
33035 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
;
33037 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33039 PyObject
*arg3
= (PyObject
*) 0 ;
33040 PyObject
* obj0
= 0 ;
33041 PyObject
* obj1
= 0 ;
33042 PyObject
* obj2
= 0 ;
33043 char *kwnames
[] = {
33044 (char *) "self",(char *) "n",(char *) "clientData", NULL
33047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33050 arg2
= (int) SWIG_AsInt(obj1
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33055 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33057 wxPyEndAllowThreads(__tstate
);
33058 if (PyErr_Occurred()) SWIG_fail
;
33060 Py_INCREF(Py_None
); resultobj
= Py_None
;
33067 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33070 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33072 return Py_BuildValue((char *)"");
33074 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33077 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33079 return Py_BuildValue((char *)"");
33081 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33082 PyObject
*resultobj
;
33083 wxSizerItem
*result
;
33084 char *kwnames
[] = {
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 result
= (wxSizerItem
*)new wxSizerItem();
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33103 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
;
33110 wxObject
*arg6
= (wxObject
*) 0 ;
33111 wxSizerItem
*result
;
33112 PyObject
* obj0
= 0 ;
33113 PyObject
* obj1
= 0 ;
33114 PyObject
* obj2
= 0 ;
33115 PyObject
* obj3
= 0 ;
33116 PyObject
* obj4
= 0 ;
33117 PyObject
* obj5
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33123 arg1
= (int) SWIG_AsInt(obj0
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33125 arg2
= (int) SWIG_AsInt(obj1
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33127 arg3
= (int) SWIG_AsInt(obj2
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33129 arg4
= (int) SWIG_AsInt(obj3
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33131 arg5
= (int) SWIG_AsInt(obj4
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33133 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33137 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33149 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
;
33151 wxWindow
*arg1
= (wxWindow
*) 0 ;
33155 wxObject
*arg5
= (wxObject
*) 0 ;
33156 wxSizerItem
*result
;
33157 PyObject
* obj0
= 0 ;
33158 PyObject
* obj1
= 0 ;
33159 PyObject
* obj2
= 0 ;
33160 PyObject
* obj3
= 0 ;
33161 PyObject
* obj4
= 0 ;
33162 char *kwnames
[] = {
33163 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33169 arg2
= (int) SWIG_AsInt(obj1
);
33170 if (PyErr_Occurred()) SWIG_fail
;
33171 arg3
= (int) SWIG_AsInt(obj2
);
33172 if (PyErr_Occurred()) SWIG_fail
;
33173 arg4
= (int) SWIG_AsInt(obj3
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33175 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33191 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33192 PyObject
*resultobj
;
33193 wxSizer
*arg1
= (wxSizer
*) 0 ;
33197 wxObject
*arg5
= (wxObject
*) 0 ;
33198 wxSizerItem
*result
;
33199 PyObject
* obj0
= 0 ;
33200 PyObject
* obj1
= 0 ;
33201 PyObject
* obj2
= 0 ;
33202 PyObject
* obj3
= 0 ;
33203 PyObject
* obj4
= 0 ;
33204 char *kwnames
[] = {
33205 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33211 arg2
= (int) SWIG_AsInt(obj1
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33213 arg3
= (int) SWIG_AsInt(obj2
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33215 arg4
= (int) SWIG_AsInt(obj3
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33217 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33221 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33233 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33234 PyObject
*resultobj
;
33235 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33236 PyObject
* obj0
= 0 ;
33237 char *kwnames
[] = {
33238 (char *) "self", NULL
33241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 (arg1
)->DeleteWindows();
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 Py_INCREF(Py_None
); resultobj
= Py_None
;
33258 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
;
33260 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33261 PyObject
* obj0
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 (arg1
)->DetachSizer();
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 Py_INCREF(Py_None
); resultobj
= Py_None
;
33283 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33287 PyObject
* obj0
= 0 ;
33288 char *kwnames
[] = {
33289 (char *) "self", NULL
33292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 result
= (arg1
)->GetSize();
33299 wxPyEndAllowThreads(__tstate
);
33300 if (PyErr_Occurred()) SWIG_fail
;
33303 wxSize
* resultptr
;
33304 resultptr
= new wxSize((wxSize
&) result
);
33305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33313 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33314 PyObject
*resultobj
;
33315 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33317 PyObject
* obj0
= 0 ;
33318 char *kwnames
[] = {
33319 (char *) "self", NULL
33322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 result
= (arg1
)->CalcMin();
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33333 wxSize
* resultptr
;
33334 resultptr
= new wxSize((wxSize
&) result
);
33335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33343 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
;
33345 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33350 PyObject
* obj0
= 0 ;
33351 PyObject
* obj1
= 0 ;
33352 PyObject
* obj2
= 0 ;
33353 char *kwnames
[] = {
33354 (char *) "self",(char *) "pos",(char *) "size", NULL
33357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33360 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33361 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33363 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33364 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 (arg1
)->SetDimension(arg2
,arg3
);
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 Py_INCREF(Py_None
); resultobj
= Py_None
;
33380 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33384 PyObject
* obj0
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= (arg1
)->GetMinSize();
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33400 wxSize
* resultptr
;
33401 resultptr
= new wxSize((wxSize
&) result
);
33402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33410 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
;
33412 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33415 PyObject
* obj0
= 0 ;
33416 PyObject
* obj1
= 0 ;
33417 PyObject
* obj2
= 0 ;
33418 char *kwnames
[] = {
33419 (char *) "self",(char *) "x",(char *) "y", NULL
33422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33425 arg2
= (int) SWIG_AsInt(obj1
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33427 arg3
= (int) SWIG_AsInt(obj2
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33431 (arg1
)->SetInitSize(arg2
,arg3
);
33433 wxPyEndAllowThreads(__tstate
);
33434 if (PyErr_Occurred()) SWIG_fail
;
33436 Py_INCREF(Py_None
); resultobj
= Py_None
;
33443 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33444 PyObject
*resultobj
;
33445 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 PyObject
* obj2
= 0 ;
33451 char *kwnames
[] = {
33452 (char *) "self",(char *) "width",(char *) "height", NULL
33455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33458 arg2
= (int) SWIG_AsInt(obj1
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33460 arg3
= (int) SWIG_AsInt(obj2
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 (arg1
)->SetRatio(arg2
,arg3
);
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 Py_INCREF(Py_None
); resultobj
= Py_None
;
33476 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
;
33478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33481 PyObject
* obj0
= 0 ;
33482 PyObject
* obj1
= 0 ;
33483 char *kwnames
[] = {
33484 (char *) "self",(char *) "size", NULL
33487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33490 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33491 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 (arg1
)->SetRatio(arg2
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 Py_INCREF(Py_None
); resultobj
= Py_None
;
33507 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
;
33509 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 char *kwnames
[] = {
33514 (char *) "self",(char *) "ratio", NULL
33517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33520 arg2
= (float) SWIG_AsFloat(obj1
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 (arg1
)->SetRatio(arg2
);
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33529 Py_INCREF(Py_None
); resultobj
= Py_None
;
33536 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33537 PyObject
*resultobj
;
33538 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33540 PyObject
* obj0
= 0 ;
33541 char *kwnames
[] = {
33542 (char *) "self", NULL
33545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 result
= (float)(arg1
)->GetRatio();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_FromFloat((float)result
);
33562 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33566 PyObject
* obj0
= 0 ;
33567 char *kwnames
[] = {
33568 (char *) "self", NULL
33571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33576 result
= (bool)(arg1
)->IsWindow();
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33590 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33591 PyObject
*resultobj
;
33592 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33594 PyObject
* obj0
= 0 ;
33595 char *kwnames
[] = {
33596 (char *) "self", NULL
33599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (bool)(arg1
)->IsSizer();
33606 wxPyEndAllowThreads(__tstate
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33618 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
;
33620 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 char *kwnames
[] = {
33624 (char *) "self", NULL
33627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (bool)(arg1
)->IsSpacer();
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33646 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33647 PyObject
*resultobj
;
33648 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33650 PyObject
* obj0
= 0 ;
33651 PyObject
* obj1
= 0 ;
33652 char *kwnames
[] = {
33653 (char *) "self",(char *) "proportion", NULL
33656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33659 arg2
= (int) SWIG_AsInt(obj1
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 (arg1
)->SetProportion(arg2
);
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33668 Py_INCREF(Py_None
); resultobj
= Py_None
;
33675 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
;
33677 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 char *kwnames
[] = {
33681 (char *) "self", NULL
33684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 result
= (int)(arg1
)->GetProportion();
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_FromInt((int)result
);
33701 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
;
33703 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33705 PyObject
* obj0
= 0 ;
33706 PyObject
* obj1
= 0 ;
33707 char *kwnames
[] = {
33708 (char *) "self",(char *) "flag", NULL
33711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33714 arg2
= (int) SWIG_AsInt(obj1
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 (arg1
)->SetFlag(arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 Py_INCREF(Py_None
); resultobj
= Py_None
;
33730 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33731 PyObject
*resultobj
;
33732 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33734 PyObject
* obj0
= 0 ;
33735 char *kwnames
[] = {
33736 (char *) "self", NULL
33739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33744 result
= (int)(arg1
)->GetFlag();
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_FromInt((int)result
);
33756 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
;
33758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self",(char *) "border", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
33767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33769 arg2
= (int) SWIG_AsInt(obj1
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 (arg1
)->SetBorder(arg2
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 Py_INCREF(Py_None
); resultobj
= Py_None
;
33785 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33789 PyObject
* obj0
= 0 ;
33790 char *kwnames
[] = {
33791 (char *) "self", NULL
33794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 result
= (int)(arg1
)->GetBorder();
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 resultobj
= SWIG_FromInt((int)result
);
33811 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33812 PyObject
*resultobj
;
33813 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33815 PyObject
* obj0
= 0 ;
33816 char *kwnames
[] = {
33817 (char *) "self", NULL
33820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (wxWindow
*)(arg1
)->GetWindow();
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= wxPyMake_wxObject(result
);
33839 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33841 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33842 wxWindow
*arg2
= (wxWindow
*) 0 ;
33843 PyObject
* obj0
= 0 ;
33844 PyObject
* obj1
= 0 ;
33845 char *kwnames
[] = {
33846 (char *) "self",(char *) "window", NULL
33849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 (arg1
)->SetWindow(arg2
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33861 Py_INCREF(Py_None
); resultobj
= Py_None
;
33868 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33872 PyObject
* obj0
= 0 ;
33873 char *kwnames
[] = {
33874 (char *) "self", NULL
33877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 result
= (wxSizer
*)(arg1
)->GetSizer();
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33888 resultobj
= wxPyMake_wxSizer(result
);
33896 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
;
33898 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33899 wxSizer
*arg2
= (wxSizer
*) 0 ;
33900 PyObject
* obj0
= 0 ;
33901 PyObject
* obj1
= 0 ;
33902 char *kwnames
[] = {
33903 (char *) "self",(char *) "sizer", NULL
33906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 (arg1
)->SetSizer(arg2
);
33915 wxPyEndAllowThreads(__tstate
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33918 Py_INCREF(Py_None
); resultobj
= Py_None
;
33925 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33926 PyObject
*resultobj
;
33927 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33929 PyObject
* obj0
= 0 ;
33930 char *kwnames
[] = {
33931 (char *) "self", NULL
33934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33940 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33941 result
= (wxSize
*) &_result_ref
;
33944 wxPyEndAllowThreads(__tstate
);
33945 if (PyErr_Occurred()) SWIG_fail
;
33947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33954 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33955 PyObject
*resultobj
;
33956 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33959 PyObject
* obj0
= 0 ;
33960 PyObject
* obj1
= 0 ;
33961 char *kwnames
[] = {
33962 (char *) "self",(char *) "size", NULL
33965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33970 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33979 Py_INCREF(Py_None
); resultobj
= Py_None
;
33986 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33990 PyObject
* obj0
= 0 ;
33991 PyObject
* obj1
= 0 ;
33992 char *kwnames
[] = {
33993 (char *) "self",(char *) "show", NULL
33996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33999 arg2
= (bool) SWIG_AsBool(obj1
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 (arg1
)->Show(arg2
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 Py_INCREF(Py_None
); resultobj
= Py_None
;
34015 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
;
34017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 char *kwnames
[] = {
34021 (char *) "self", NULL
34024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 result
= (bool)(arg1
)->IsShown();
34031 wxPyEndAllowThreads(__tstate
);
34032 if (PyErr_Occurred()) SWIG_fail
;
34035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34043 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34044 PyObject
*resultobj
;
34045 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34047 PyObject
* obj0
= 0 ;
34048 char *kwnames
[] = {
34049 (char *) "self", NULL
34052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (arg1
)->GetPosition();
34059 wxPyEndAllowThreads(__tstate
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34063 wxPoint
* resultptr
;
34064 resultptr
= new wxPoint((wxPoint
&) result
);
34065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34073 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34077 PyObject
* obj0
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "self", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34087 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34092 resultobj
= result
;
34099 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34102 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34104 return Py_BuildValue((char *)"");
34106 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
;
34108 wxSizer
*arg1
= (wxSizer
*) 0 ;
34109 PyObject
*arg2
= (PyObject
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char *kwnames
[] = {
34113 (char *) "self",(char *) "_self", NULL
34116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 wxSizer__setOORInfo(arg1
,arg2
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34127 Py_INCREF(Py_None
); resultobj
= Py_None
;
34134 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34135 PyObject
*resultobj
;
34136 wxSizer
*arg1
= (wxSizer
*) 0 ;
34137 PyObject
*arg2
= (PyObject
*) 0 ;
34138 int arg3
= (int) 0 ;
34139 int arg4
= (int) 0 ;
34140 int arg5
= (int) 0 ;
34141 PyObject
*arg6
= (PyObject
*) NULL
;
34142 PyObject
* obj0
= 0 ;
34143 PyObject
* obj1
= 0 ;
34144 PyObject
* obj2
= 0 ;
34145 PyObject
* obj3
= 0 ;
34146 PyObject
* obj4
= 0 ;
34147 PyObject
* obj5
= 0 ;
34148 char *kwnames
[] = {
34149 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34157 arg3
= (int) SWIG_AsInt(obj2
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34161 arg4
= (int) SWIG_AsInt(obj3
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34165 arg5
= (int) SWIG_AsInt(obj4
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34173 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34178 Py_INCREF(Py_None
); resultobj
= Py_None
;
34185 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34186 PyObject
*resultobj
;
34187 wxSizer
*arg1
= (wxSizer
*) 0 ;
34189 PyObject
*arg3
= (PyObject
*) 0 ;
34190 int arg4
= (int) 0 ;
34191 int arg5
= (int) 0 ;
34192 int arg6
= (int) 0 ;
34193 PyObject
*arg7
= (PyObject
*) NULL
;
34194 PyObject
* obj0
= 0 ;
34195 PyObject
* obj1
= 0 ;
34196 PyObject
* obj2
= 0 ;
34197 PyObject
* obj3
= 0 ;
34198 PyObject
* obj4
= 0 ;
34199 PyObject
* obj5
= 0 ;
34200 PyObject
* obj6
= 0 ;
34201 char *kwnames
[] = {
34202 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34208 arg2
= (int) SWIG_AsInt(obj1
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34212 arg4
= (int) SWIG_AsInt(obj3
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34216 arg5
= (int) SWIG_AsInt(obj4
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34220 arg6
= (int) SWIG_AsInt(obj5
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34230 wxPyEndAllowThreads(__tstate
);
34231 if (PyErr_Occurred()) SWIG_fail
;
34233 Py_INCREF(Py_None
); resultobj
= Py_None
;
34240 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34241 PyObject
*resultobj
;
34242 wxSizer
*arg1
= (wxSizer
*) 0 ;
34243 PyObject
*arg2
= (PyObject
*) 0 ;
34244 int arg3
= (int) 0 ;
34245 int arg4
= (int) 0 ;
34246 int arg5
= (int) 0 ;
34247 PyObject
*arg6
= (PyObject
*) NULL
;
34248 PyObject
* obj0
= 0 ;
34249 PyObject
* obj1
= 0 ;
34250 PyObject
* obj2
= 0 ;
34251 PyObject
* obj3
= 0 ;
34252 PyObject
* obj4
= 0 ;
34253 PyObject
* obj5
= 0 ;
34254 char *kwnames
[] = {
34255 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34263 arg3
= (int) SWIG_AsInt(obj2
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34267 arg4
= (int) SWIG_AsInt(obj3
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34271 arg5
= (int) SWIG_AsInt(obj4
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34284 Py_INCREF(Py_None
); resultobj
= Py_None
;
34291 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34292 PyObject
*resultobj
;
34293 wxSizer
*arg1
= (wxSizer
*) 0 ;
34294 PyObject
*arg2
= (PyObject
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 char *kwnames
[] = {
34299 (char *) "self",(char *) "item", NULL
34302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34322 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34323 PyObject
*resultobj
;
34324 wxSizer
*arg1
= (wxSizer
*) 0 ;
34325 PyObject
*arg2
= (PyObject
*) 0 ;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 PyObject
* obj2
= 0 ;
34331 char *kwnames
[] = {
34332 (char *) "self",(char *) "item",(char *) "size", NULL
34335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34341 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34350 Py_INCREF(Py_None
); resultobj
= Py_None
;
34357 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
;
34359 wxSizer
*arg1
= (wxSizer
*) 0 ;
34360 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 char *kwnames
[] = {
34364 (char *) "self",(char *) "item", NULL
34367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 Py_INCREF(Py_None
); resultobj
= Py_None
;
34386 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
;
34388 wxSizer
*arg1
= (wxSizer
*) 0 ;
34390 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34391 PyObject
* obj0
= 0 ;
34392 PyObject
* obj1
= 0 ;
34393 PyObject
* obj2
= 0 ;
34394 char *kwnames
[] = {
34395 (char *) "self",(char *) "index",(char *) "item", NULL
34398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34401 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34407 (arg1
)->Insert(arg2
,arg3
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 Py_INCREF(Py_None
); resultobj
= Py_None
;
34419 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34420 PyObject
*resultobj
;
34421 wxSizer
*arg1
= (wxSizer
*) 0 ;
34422 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34423 PyObject
* obj0
= 0 ;
34424 PyObject
* obj1
= 0 ;
34425 char *kwnames
[] = {
34426 (char *) "self",(char *) "item", NULL
34429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34436 (arg1
)->Prepend(arg2
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34441 Py_INCREF(Py_None
); resultobj
= Py_None
;
34448 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxSizer
*arg1
= (wxSizer
*) 0 ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 PyObject
* obj2
= 0 ;
34458 PyObject
* obj3
= 0 ;
34459 PyObject
* obj4
= 0 ;
34460 char *kwnames
[] = {
34461 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34467 arg2
= (int) SWIG_AsInt(obj1
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34469 arg3
= (int) SWIG_AsInt(obj2
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34471 arg4
= (int) SWIG_AsInt(obj3
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34473 arg5
= (int) SWIG_AsInt(obj4
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34477 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 Py_INCREF(Py_None
); resultobj
= Py_None
;
34489 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
;
34491 wxSizer
*arg1
= (wxSizer
*) 0 ;
34494 PyObject
* obj0
= 0 ;
34495 PyObject
* obj1
= 0 ;
34496 char *kwnames
[] = {
34497 (char *) "self",(char *) "size", NULL
34500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 Py_INCREF(Py_None
); resultobj
= Py_None
;
34521 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34522 PyObject
*resultobj
;
34523 wxSizer
*arg1
= (wxSizer
*) 0 ;
34525 PyObject
* obj0
= 0 ;
34526 char *kwnames
[] = {
34527 (char *) "self", NULL
34530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34535 result
= (arg1
)->GetSize();
34537 wxPyEndAllowThreads(__tstate
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34541 wxSize
* resultptr
;
34542 resultptr
= new wxSize((wxSize
&) result
);
34543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34551 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxSizer
*arg1
= (wxSizer
*) 0 ;
34555 PyObject
* obj0
= 0 ;
34556 char *kwnames
[] = {
34557 (char *) "self", NULL
34560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 result
= (arg1
)->GetPosition();
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34571 wxPoint
* resultptr
;
34572 resultptr
= new wxPoint((wxPoint
&) result
);
34573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34581 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
;
34583 wxSizer
*arg1
= (wxSizer
*) 0 ;
34585 PyObject
* obj0
= 0 ;
34586 char *kwnames
[] = {
34587 (char *) "self", NULL
34590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= (arg1
)->GetMinSize();
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34601 wxSize
* resultptr
;
34602 resultptr
= new wxSize((wxSize
&) result
);
34603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34611 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34612 PyObject
*resultobj
;
34613 wxSizer
*arg1
= (wxSizer
*) 0 ;
34614 PyObject
* obj0
= 0 ;
34615 char *kwnames
[] = {
34616 (char *) "self", NULL
34619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 (arg1
)->RecalcSizes();
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34629 Py_INCREF(Py_None
); resultobj
= Py_None
;
34636 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34637 PyObject
*resultobj
;
34638 wxSizer
*arg1
= (wxSizer
*) 0 ;
34640 PyObject
* obj0
= 0 ;
34641 char *kwnames
[] = {
34642 (char *) "self", NULL
34645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 result
= (arg1
)->CalcMin();
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34656 wxSize
* resultptr
;
34657 resultptr
= new wxSize((wxSize
&) result
);
34658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34666 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
;
34668 wxSizer
*arg1
= (wxSizer
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 Py_INCREF(Py_None
); resultobj
= Py_None
;
34691 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34692 PyObject
*resultobj
;
34693 wxSizer
*arg1
= (wxSizer
*) 0 ;
34694 wxWindow
*arg2
= (wxWindow
*) 0 ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 char *kwnames
[] = {
34699 (char *) "self",(char *) "window", NULL
34702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34709 result
= (arg1
)->Fit(arg2
);
34711 wxPyEndAllowThreads(__tstate
);
34712 if (PyErr_Occurred()) SWIG_fail
;
34715 wxSize
* resultptr
;
34716 resultptr
= new wxSize((wxSize
&) result
);
34717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34725 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
;
34727 wxSizer
*arg1
= (wxSizer
*) 0 ;
34728 wxWindow
*arg2
= (wxWindow
*) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self",(char *) "window", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 (arg1
)->FitInside(arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 Py_INCREF(Py_None
); resultobj
= Py_None
;
34754 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxSizer
*arg1
= (wxSizer
*) 0 ;
34757 wxWindow
*arg2
= (wxWindow
*) 0 ;
34758 PyObject
* obj0
= 0 ;
34759 PyObject
* obj1
= 0 ;
34760 char *kwnames
[] = {
34761 (char *) "self",(char *) "window", NULL
34764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 (arg1
)->SetSizeHints(arg2
);
34773 wxPyEndAllowThreads(__tstate
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34776 Py_INCREF(Py_None
); resultobj
= Py_None
;
34783 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34784 PyObject
*resultobj
;
34785 wxSizer
*arg1
= (wxSizer
*) 0 ;
34786 wxWindow
*arg2
= (wxWindow
*) 0 ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "self",(char *) "window", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34800 (arg1
)->SetVirtualSizeHints(arg2
);
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34805 Py_INCREF(Py_None
); resultobj
= Py_None
;
34812 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34813 PyObject
*resultobj
;
34814 wxSizer
*arg1
= (wxSizer
*) 0 ;
34815 bool arg2
= (bool) False
;
34816 PyObject
* obj0
= 0 ;
34817 PyObject
* obj1
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self",(char *) "delete_windows", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34826 arg2
= (bool) SWIG_AsBool(obj1
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 (arg1
)->Clear(arg2
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 Py_INCREF(Py_None
); resultobj
= Py_None
;
34843 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxSizer
*arg1
= (wxSizer
*) 0 ;
34846 PyObject
* obj0
= 0 ;
34847 char *kwnames
[] = {
34848 (char *) "self", NULL
34851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
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_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
;
34870 wxSizer
*arg1
= (wxSizer
*) 0 ;
34872 PyObject
* obj0
= 0 ;
34873 char *kwnames
[] = {
34874 (char *) "self", NULL
34877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= result
;
34894 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
;
34896 wxSizer
*arg1
= (wxSizer
*) 0 ;
34897 PyObject
*arg2
= (PyObject
*) 0 ;
34898 bool arg3
= (bool) True
;
34899 PyObject
* obj0
= 0 ;
34900 PyObject
* obj1
= 0 ;
34901 PyObject
* obj2
= 0 ;
34902 char *kwnames
[] = {
34903 (char *) "self",(char *) "item",(char *) "show", NULL
34906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34911 arg3
= (bool) SWIG_AsBool(obj2
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 wxSizer_Show(arg1
,arg2
,arg3
);
34918 wxPyEndAllowThreads(__tstate
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34921 Py_INCREF(Py_None
); resultobj
= Py_None
;
34928 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34929 PyObject
*resultobj
;
34930 wxSizer
*arg1
= (wxSizer
*) 0 ;
34931 PyObject
*arg2
= (PyObject
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "item", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 wxSizer_Hide(arg1
,arg2
);
34946 wxPyEndAllowThreads(__tstate
);
34947 if (PyErr_Occurred()) SWIG_fail
;
34949 Py_INCREF(Py_None
); resultobj
= Py_None
;
34956 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34957 PyObject
*resultobj
;
34958 wxSizer
*arg1
= (wxSizer
*) 0 ;
34959 PyObject
*arg2
= (PyObject
*) 0 ;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 char *kwnames
[] = {
34964 (char *) "self",(char *) "item", NULL
34967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34987 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
;
34989 wxSizer
*arg1
= (wxSizer
*) 0 ;
34991 PyObject
* obj0
= 0 ;
34992 PyObject
* obj1
= 0 ;
34993 char *kwnames
[] = {
34994 (char *) "self",(char *) "show", NULL
34997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35000 arg2
= (bool) SWIG_AsBool(obj1
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 (arg1
)->ShowItems(arg2
);
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 Py_INCREF(Py_None
); resultobj
= Py_None
;
35016 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35019 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35021 return Py_BuildValue((char *)"");
35023 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
;
35026 char *kwnames
[] = {
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (wxPySizer
*)new wxPySizer();
35035 wxPyEndAllowThreads(__tstate
);
35036 if (PyErr_Occurred()) SWIG_fail
;
35038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35045 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35046 PyObject
*resultobj
;
35047 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35048 PyObject
*arg2
= (PyObject
*) 0 ;
35049 PyObject
*arg3
= (PyObject
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 PyObject
* obj2
= 0 ;
35053 char *kwnames
[] = {
35054 (char *) "self",(char *) "self",(char *) "_class", NULL
35057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35064 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35066 wxPyEndAllowThreads(__tstate
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 Py_INCREF(Py_None
); resultobj
= Py_None
;
35076 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35079 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35081 return Py_BuildValue((char *)"");
35083 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
;
35085 int arg1
= (int) wxHORIZONTAL
;
35086 wxBoxSizer
*result
;
35087 PyObject
* obj0
= 0 ;
35088 char *kwnames
[] = {
35089 (char *) "orient", NULL
35092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35094 arg1
= (int) SWIG_AsInt(obj0
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35111 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35112 PyObject
*resultobj
;
35113 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35115 PyObject
* obj0
= 0 ;
35116 char *kwnames
[] = {
35117 (char *) "self", NULL
35120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 result
= (int)(arg1
)->GetOrientation();
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= SWIG_FromInt((int)result
);
35137 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35138 PyObject
*resultobj
;
35139 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 char *kwnames
[] = {
35144 (char *) "self",(char *) "orient", NULL
35147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35150 arg2
= (int) SWIG_AsInt(obj1
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35154 (arg1
)->SetOrientation(arg2
);
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35159 Py_INCREF(Py_None
); resultobj
= Py_None
;
35166 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
;
35168 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35169 PyObject
* obj0
= 0 ;
35170 char *kwnames
[] = {
35171 (char *) "self", NULL
35174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 (arg1
)->RecalcSizes();
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35184 Py_INCREF(Py_None
); resultobj
= Py_None
;
35191 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35192 PyObject
*resultobj
;
35193 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35195 PyObject
* obj0
= 0 ;
35196 char *kwnames
[] = {
35197 (char *) "self", NULL
35200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35205 result
= (arg1
)->CalcMin();
35207 wxPyEndAllowThreads(__tstate
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35211 wxSize
* resultptr
;
35212 resultptr
= new wxSize((wxSize
&) result
);
35213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35221 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35224 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35226 return Py_BuildValue((char *)"");
35228 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35229 PyObject
*resultobj
;
35230 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35231 int arg2
= (int) wxHORIZONTAL
;
35232 wxStaticBoxSizer
*result
;
35233 PyObject
* obj0
= 0 ;
35234 PyObject
* obj1
= 0 ;
35235 char *kwnames
[] = {
35236 (char *) "box",(char *) "orient", NULL
35239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35243 arg2
= (int) SWIG_AsInt(obj1
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35260 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35263 wxStaticBox
*result
;
35264 PyObject
* obj0
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35280 resultobj
= wxPyMake_wxObject(result
);
35288 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
;
35290 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 char *kwnames
[] = {
35293 (char *) "self", NULL
35296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35301 (arg1
)->RecalcSizes();
35303 wxPyEndAllowThreads(__tstate
);
35304 if (PyErr_Occurred()) SWIG_fail
;
35306 Py_INCREF(Py_None
); resultobj
= Py_None
;
35313 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35314 PyObject
*resultobj
;
35315 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35317 PyObject
* obj0
= 0 ;
35318 char *kwnames
[] = {
35319 (char *) "self", NULL
35322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35327 result
= (arg1
)->CalcMin();
35329 wxPyEndAllowThreads(__tstate
);
35330 if (PyErr_Occurred()) SWIG_fail
;
35333 wxSize
* resultptr
;
35334 resultptr
= new wxSize((wxSize
&) result
);
35335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35343 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35346 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35348 return Py_BuildValue((char *)"");
35350 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35351 PyObject
*resultobj
;
35352 int arg1
= (int) 1 ;
35353 int arg2
= (int) 0 ;
35354 int arg3
= (int) 0 ;
35355 int arg4
= (int) 0 ;
35356 wxGridSizer
*result
;
35357 PyObject
* obj0
= 0 ;
35358 PyObject
* obj1
= 0 ;
35359 PyObject
* obj2
= 0 ;
35360 PyObject
* obj3
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35367 arg1
= (int) SWIG_AsInt(obj0
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35371 arg2
= (int) SWIG_AsInt(obj1
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35375 arg3
= (int) SWIG_AsInt(obj2
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35379 arg4
= (int) SWIG_AsInt(obj3
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35384 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35386 wxPyEndAllowThreads(__tstate
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35396 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35397 PyObject
*resultobj
;
35398 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->RecalcSizes();
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 Py_INCREF(Py_None
); resultobj
= Py_None
;
35421 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
;
35423 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35425 PyObject
* obj0
= 0 ;
35426 char *kwnames
[] = {
35427 (char *) "self", NULL
35430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 result
= (arg1
)->CalcMin();
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 wxSize
* resultptr
;
35442 resultptr
= new wxSize((wxSize
&) result
);
35443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35451 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
;
35453 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35455 PyObject
* obj0
= 0 ;
35456 PyObject
* obj1
= 0 ;
35457 char *kwnames
[] = {
35458 (char *) "self",(char *) "cols", NULL
35461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35464 arg2
= (int) SWIG_AsInt(obj1
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 (arg1
)->SetCols(arg2
);
35470 wxPyEndAllowThreads(__tstate
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35473 Py_INCREF(Py_None
); resultobj
= Py_None
;
35480 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
;
35482 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35484 PyObject
* obj0
= 0 ;
35485 PyObject
* obj1
= 0 ;
35486 char *kwnames
[] = {
35487 (char *) "self",(char *) "rows", NULL
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35493 arg2
= (int) SWIG_AsInt(obj1
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35497 (arg1
)->SetRows(arg2
);
35499 wxPyEndAllowThreads(__tstate
);
35500 if (PyErr_Occurred()) SWIG_fail
;
35502 Py_INCREF(Py_None
); resultobj
= Py_None
;
35509 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35510 PyObject
*resultobj
;
35511 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self",(char *) "gap", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35522 arg2
= (int) SWIG_AsInt(obj1
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35526 (arg1
)->SetVGap(arg2
);
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35531 Py_INCREF(Py_None
); resultobj
= Py_None
;
35538 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
;
35540 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 PyObject
* obj1
= 0 ;
35544 char *kwnames
[] = {
35545 (char *) "self",(char *) "gap", NULL
35548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 arg2
= (int) SWIG_AsInt(obj1
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 (arg1
)->SetHGap(arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 Py_INCREF(Py_None
); resultobj
= Py_None
;
35567 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
;
35569 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35571 PyObject
* obj0
= 0 ;
35572 char *kwnames
[] = {
35573 (char *) "self", NULL
35576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 result
= (int)(arg1
)->GetCols();
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35586 resultobj
= SWIG_FromInt((int)result
);
35593 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35594 PyObject
*resultobj
;
35595 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35597 PyObject
* obj0
= 0 ;
35598 char *kwnames
[] = {
35599 (char *) "self", NULL
35602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 result
= (int)(arg1
)->GetRows();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_FromInt((int)result
);
35619 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
;
35621 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35623 PyObject
* obj0
= 0 ;
35624 char *kwnames
[] = {
35625 (char *) "self", NULL
35628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= (int)(arg1
)->GetVGap();
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= SWIG_FromInt((int)result
);
35645 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35646 PyObject
*resultobj
;
35647 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35649 PyObject
* obj0
= 0 ;
35650 char *kwnames
[] = {
35651 (char *) "self", NULL
35654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35659 result
= (int)(arg1
)->GetHGap();
35661 wxPyEndAllowThreads(__tstate
);
35662 if (PyErr_Occurred()) SWIG_fail
;
35664 resultobj
= SWIG_FromInt((int)result
);
35671 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35674 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35676 return Py_BuildValue((char *)"");
35678 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
;
35680 int arg1
= (int) 1 ;
35681 int arg2
= (int) 0 ;
35682 int arg3
= (int) 0 ;
35683 int arg4
= (int) 0 ;
35684 wxFlexGridSizer
*result
;
35685 PyObject
* obj0
= 0 ;
35686 PyObject
* obj1
= 0 ;
35687 PyObject
* obj2
= 0 ;
35688 PyObject
* obj3
= 0 ;
35689 char *kwnames
[] = {
35690 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35695 arg1
= (int) SWIG_AsInt(obj0
);
35696 if (PyErr_Occurred()) SWIG_fail
;
35699 arg2
= (int) SWIG_AsInt(obj1
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35703 arg3
= (int) SWIG_AsInt(obj2
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35707 arg4
= (int) SWIG_AsInt(obj3
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35724 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
;
35726 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35727 PyObject
* obj0
= 0 ;
35728 char *kwnames
[] = {
35729 (char *) "self", NULL
35732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 (arg1
)->RecalcSizes();
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35742 Py_INCREF(Py_None
); resultobj
= Py_None
;
35749 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35750 PyObject
*resultobj
;
35751 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35753 PyObject
* obj0
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= (arg1
)->CalcMin();
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 wxSize
* resultptr
;
35770 resultptr
= new wxSize((wxSize
&) result
);
35771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35779 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35780 PyObject
*resultobj
;
35781 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35783 int arg3
= (int) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 PyObject
* obj2
= 0 ;
35787 char *kwnames
[] = {
35788 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35794 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35797 arg3
= (int) SWIG_AsInt(obj2
);
35798 if (PyErr_Occurred()) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 (arg1
)->AddGrowableRow(arg2
,arg3
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 Py_INCREF(Py_None
); resultobj
= Py_None
;
35814 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
;
35816 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 char *kwnames
[] = {
35821 (char *) "self",(char *) "idx", NULL
35824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35827 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35831 (arg1
)->RemoveGrowableRow(arg2
);
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 Py_INCREF(Py_None
); resultobj
= Py_None
;
35843 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35844 PyObject
*resultobj
;
35845 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35847 int arg3
= (int) 0 ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 PyObject
* obj2
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35858 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35859 if (PyErr_Occurred()) SWIG_fail
;
35861 arg3
= (int) SWIG_AsInt(obj2
);
35862 if (PyErr_Occurred()) SWIG_fail
;
35865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35866 (arg1
)->AddGrowableCol(arg2
,arg3
);
35868 wxPyEndAllowThreads(__tstate
);
35869 if (PyErr_Occurred()) SWIG_fail
;
35871 Py_INCREF(Py_None
); resultobj
= Py_None
;
35878 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
;
35880 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35882 PyObject
* obj0
= 0 ;
35883 PyObject
* obj1
= 0 ;
35884 char *kwnames
[] = {
35885 (char *) "self",(char *) "idx", NULL
35888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35891 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35895 (arg1
)->RemoveGrowableCol(arg2
);
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35900 Py_INCREF(Py_None
); resultobj
= Py_None
;
35907 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
;
35909 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 char *kwnames
[] = {
35914 (char *) "self",(char *) "direction", NULL
35917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35920 arg2
= (int) SWIG_AsInt(obj1
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35924 (arg1
)->SetFlexibleDirection(arg2
);
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 Py_INCREF(Py_None
); resultobj
= Py_None
;
35936 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
;
35938 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35940 PyObject
* obj0
= 0 ;
35941 char *kwnames
[] = {
35942 (char *) "self", NULL
35945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 result
= (int)(arg1
)->GetFlexibleDirection();
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_FromInt((int)result
);
35962 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
;
35964 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35966 PyObject
* obj0
= 0 ;
35967 PyObject
* obj1
= 0 ;
35968 char *kwnames
[] = {
35969 (char *) "self",(char *) "mode", NULL
35972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35975 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35976 if (PyErr_Occurred()) SWIG_fail
;
35978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35979 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35984 Py_INCREF(Py_None
); resultobj
= Py_None
;
35991 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35992 PyObject
*resultobj
;
35993 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35995 PyObject
* obj0
= 0 ;
35996 char *kwnames
[] = {
35997 (char *) "self", NULL
36000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_FromInt((int)result
);
36017 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
;
36019 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36020 wxArrayInt
*result
;
36021 PyObject
* obj0
= 0 ;
36022 char *kwnames
[] = {
36023 (char *) "self", NULL
36026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36033 result
= (wxArrayInt
*) &_result_ref
;
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36040 resultobj
= PyList_New(0);
36042 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36043 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36044 PyList_Append(resultobj
, val
);
36054 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36055 PyObject
*resultobj
;
36056 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36057 wxArrayInt
*result
;
36058 PyObject
* obj0
= 0 ;
36059 char *kwnames
[] = {
36060 (char *) "self", NULL
36063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36070 result
= (wxArrayInt
*) &_result_ref
;
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36077 resultobj
= PyList_New(0);
36079 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36080 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36081 PyList_Append(resultobj
, val
);
36091 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36094 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36096 return Py_BuildValue((char *)"");
36098 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36099 PyObject
*resultobj
;
36100 int arg1
= (int) 0 ;
36101 int arg2
= (int) 0 ;
36102 wxGBPosition
*result
;
36103 PyObject
* obj0
= 0 ;
36104 PyObject
* obj1
= 0 ;
36105 char *kwnames
[] = {
36106 (char *) "row",(char *) "col", NULL
36109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36111 arg1
= (int) SWIG_AsInt(obj0
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36115 arg2
= (int) SWIG_AsInt(obj1
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36122 wxPyEndAllowThreads(__tstate
);
36123 if (PyErr_Occurred()) SWIG_fail
;
36125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36132 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36133 PyObject
*resultobj
;
36134 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36136 PyObject
* obj0
= 0 ;
36137 char *kwnames
[] = {
36138 (char *) "self", NULL
36141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 resultobj
= SWIG_FromInt((int)result
);
36158 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
;
36160 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36162 PyObject
* obj0
= 0 ;
36163 char *kwnames
[] = {
36164 (char *) "self", NULL
36167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= SWIG_FromInt((int)result
);
36184 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36188 PyObject
* obj0
= 0 ;
36189 PyObject
* obj1
= 0 ;
36190 char *kwnames
[] = {
36191 (char *) "self",(char *) "row", NULL
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36197 arg2
= (int) SWIG_AsInt(obj1
);
36198 if (PyErr_Occurred()) SWIG_fail
;
36200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36201 (arg1
)->SetRow(arg2
);
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36206 Py_INCREF(Py_None
); resultobj
= Py_None
;
36213 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36214 PyObject
*resultobj
;
36215 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36217 PyObject
* obj0
= 0 ;
36218 PyObject
* obj1
= 0 ;
36219 char *kwnames
[] = {
36220 (char *) "self",(char *) "col", NULL
36223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36226 arg2
= (int) SWIG_AsInt(obj1
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36230 (arg1
)->SetCol(arg2
);
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 Py_INCREF(Py_None
); resultobj
= Py_None
;
36242 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36243 PyObject
*resultobj
;
36244 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36245 wxGBPosition
*arg2
= 0 ;
36247 wxGBPosition temp2
;
36248 PyObject
* obj0
= 0 ;
36249 PyObject
* obj1
= 0 ;
36250 char *kwnames
[] = {
36251 (char *) "self",(char *) "other", NULL
36254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36259 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36265 wxPyEndAllowThreads(__tstate
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36277 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
;
36279 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36280 wxGBPosition
*arg2
= 0 ;
36282 wxGBPosition temp2
;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 char *kwnames
[] = {
36286 (char *) "self",(char *) "other", NULL
36289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36294 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36298 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36300 wxPyEndAllowThreads(__tstate
);
36301 if (PyErr_Occurred()) SWIG_fail
;
36304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36312 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
;
36314 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36315 int arg2
= (int) 0 ;
36316 int arg3
= (int) 0 ;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 PyObject
* obj2
= 0 ;
36320 char *kwnames
[] = {
36321 (char *) "self",(char *) "row",(char *) "col", NULL
36324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36328 arg2
= (int) SWIG_AsInt(obj1
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36332 arg3
= (int) SWIG_AsInt(obj2
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 wxGBPosition_Set(arg1
,arg2
,arg3
);
36339 wxPyEndAllowThreads(__tstate
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36342 Py_INCREF(Py_None
); resultobj
= Py_None
;
36349 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36350 PyObject
*resultobj
;
36351 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36353 PyObject
* obj0
= 0 ;
36354 char *kwnames
[] = {
36355 (char *) "self", NULL
36358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36363 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36365 wxPyEndAllowThreads(__tstate
);
36366 if (PyErr_Occurred()) SWIG_fail
;
36368 resultobj
= result
;
36375 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36378 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36380 return Py_BuildValue((char *)"");
36382 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36383 PyObject
*resultobj
;
36384 int arg1
= (int) 1 ;
36385 int arg2
= (int) 1 ;
36387 PyObject
* obj0
= 0 ;
36388 PyObject
* obj1
= 0 ;
36389 char *kwnames
[] = {
36390 (char *) "rowspan",(char *) "colspan", NULL
36393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36395 arg1
= (int) SWIG_AsInt(obj0
);
36396 if (PyErr_Occurred()) SWIG_fail
;
36399 arg2
= (int) SWIG_AsInt(obj1
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36416 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36417 PyObject
*resultobj
;
36418 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36420 PyObject
* obj0
= 0 ;
36421 char *kwnames
[] = {
36422 (char *) "self", NULL
36425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36430 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36435 resultobj
= SWIG_FromInt((int)result
);
36442 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
;
36444 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36446 PyObject
* obj0
= 0 ;
36447 char *kwnames
[] = {
36448 (char *) "self", NULL
36451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36456 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_FromInt((int)result
);
36468 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
;
36470 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36472 PyObject
* obj0
= 0 ;
36473 PyObject
* obj1
= 0 ;
36474 char *kwnames
[] = {
36475 (char *) "self",(char *) "rowspan", NULL
36478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36481 arg2
= (int) SWIG_AsInt(obj1
);
36482 if (PyErr_Occurred()) SWIG_fail
;
36484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36485 (arg1
)->SetRowspan(arg2
);
36487 wxPyEndAllowThreads(__tstate
);
36488 if (PyErr_Occurred()) SWIG_fail
;
36490 Py_INCREF(Py_None
); resultobj
= Py_None
;
36497 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36498 PyObject
*resultobj
;
36499 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36501 PyObject
* obj0
= 0 ;
36502 PyObject
* obj1
= 0 ;
36503 char *kwnames
[] = {
36504 (char *) "self",(char *) "colspan", NULL
36507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36510 arg2
= (int) SWIG_AsInt(obj1
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36514 (arg1
)->SetColspan(arg2
);
36516 wxPyEndAllowThreads(__tstate
);
36517 if (PyErr_Occurred()) SWIG_fail
;
36519 Py_INCREF(Py_None
); resultobj
= Py_None
;
36526 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36527 PyObject
*resultobj
;
36528 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36529 wxGBSpan
*arg2
= 0 ;
36532 PyObject
* obj0
= 0 ;
36533 PyObject
* obj1
= 0 ;
36534 char *kwnames
[] = {
36535 (char *) "self",(char *) "other", NULL
36538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36543 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36549 wxPyEndAllowThreads(__tstate
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36561 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36562 PyObject
*resultobj
;
36563 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36564 wxGBSpan
*arg2
= 0 ;
36567 PyObject
* obj0
= 0 ;
36568 PyObject
* obj1
= 0 ;
36569 char *kwnames
[] = {
36570 (char *) "self",(char *) "other", NULL
36573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36578 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36584 wxPyEndAllowThreads(__tstate
);
36585 if (PyErr_Occurred()) SWIG_fail
;
36588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36596 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36597 PyObject
*resultobj
;
36598 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36599 int arg2
= (int) 1 ;
36600 int arg3
= (int) 1 ;
36601 PyObject
* obj0
= 0 ;
36602 PyObject
* obj1
= 0 ;
36603 PyObject
* obj2
= 0 ;
36604 char *kwnames
[] = {
36605 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36612 arg2
= (int) SWIG_AsInt(obj1
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36616 arg3
= (int) SWIG_AsInt(obj2
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 wxGBSpan_Set(arg1
,arg2
,arg3
);
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 Py_INCREF(Py_None
); resultobj
= Py_None
;
36633 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36634 PyObject
*resultobj
;
36635 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36637 PyObject
* obj0
= 0 ;
36638 char *kwnames
[] = {
36639 (char *) "self", NULL
36642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36652 resultobj
= result
;
36659 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
36661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36662 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36664 return Py_BuildValue((char *)"");
36666 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
36667 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36672 static PyObject
*_wrap_DefaultSpan_get() {
36675 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36680 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36681 PyObject
*resultobj
;
36682 wxGBSizerItem
*result
;
36683 char *kwnames
[] = {
36687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36702 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxWindow
*arg1
= (wxWindow
*) 0 ;
36705 wxGBPosition
*arg2
= 0 ;
36706 wxGBSpan
*arg3
= 0 ;
36709 wxObject
*arg6
= (wxObject
*) 0 ;
36710 wxGBSizerItem
*result
;
36711 wxGBPosition temp2
;
36713 PyObject
* obj0
= 0 ;
36714 PyObject
* obj1
= 0 ;
36715 PyObject
* obj2
= 0 ;
36716 PyObject
* obj3
= 0 ;
36717 PyObject
* obj4
= 0 ;
36718 PyObject
* obj5
= 0 ;
36719 char *kwnames
[] = {
36720 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36728 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36732 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36734 arg4
= (int) SWIG_AsInt(obj3
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36736 arg5
= (int) SWIG_AsInt(obj4
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36738 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36754 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36755 PyObject
*resultobj
;
36756 wxSizer
*arg1
= (wxSizer
*) 0 ;
36757 wxGBPosition
*arg2
= 0 ;
36758 wxGBSpan
*arg3
= 0 ;
36761 wxObject
*arg6
= (wxObject
*) 0 ;
36762 wxGBSizerItem
*result
;
36763 wxGBPosition temp2
;
36765 PyObject
* obj0
= 0 ;
36766 PyObject
* obj1
= 0 ;
36767 PyObject
* obj2
= 0 ;
36768 PyObject
* obj3
= 0 ;
36769 PyObject
* obj4
= 0 ;
36770 PyObject
* obj5
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36780 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36784 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36786 arg4
= (int) SWIG_AsInt(obj3
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36788 arg5
= (int) SWIG_AsInt(obj4
);
36789 if (PyErr_Occurred()) SWIG_fail
;
36790 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36794 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36806 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
;
36810 wxGBPosition
*arg3
= 0 ;
36811 wxGBSpan
*arg4
= 0 ;
36814 wxObject
*arg7
= (wxObject
*) 0 ;
36815 wxGBSizerItem
*result
;
36816 wxGBPosition temp3
;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 PyObject
* obj2
= 0 ;
36821 PyObject
* obj3
= 0 ;
36822 PyObject
* obj4
= 0 ;
36823 PyObject
* obj5
= 0 ;
36824 PyObject
* obj6
= 0 ;
36825 char *kwnames
[] = {
36826 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36830 arg1
= (int) SWIG_AsInt(obj0
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36832 arg2
= (int) SWIG_AsInt(obj1
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36836 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36840 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36842 arg5
= (int) SWIG_AsInt(obj4
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36844 arg6
= (int) SWIG_AsInt(obj5
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36846 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
36847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36862 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
;
36864 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36865 wxGBPosition result
;
36866 PyObject
* obj0
= 0 ;
36867 char *kwnames
[] = {
36868 (char *) "self", NULL
36871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36876 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36878 wxPyEndAllowThreads(__tstate
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36882 wxGBPosition
* resultptr
;
36883 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36892 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
;
36894 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36896 PyObject
* obj0
= 0 ;
36897 char *kwnames
[] = {
36898 (char *) "self", NULL
36901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36912 wxGBSpan
* resultptr
;
36913 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36922 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36923 PyObject
*resultobj
;
36924 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36925 wxGBPosition
*arg2
= 0 ;
36927 wxGBPosition temp2
;
36928 PyObject
* obj0
= 0 ;
36929 PyObject
* obj1
= 0 ;
36930 char *kwnames
[] = {
36931 (char *) "self",(char *) "pos", NULL
36934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36939 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36957 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36960 wxGBSpan
*arg2
= 0 ;
36963 PyObject
* obj0
= 0 ;
36964 PyObject
* obj1
= 0 ;
36965 char *kwnames
[] = {
36966 (char *) "self",(char *) "span", NULL
36969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36974 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36992 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36993 PyObject
*resultobj
;
36994 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36995 wxGBSizerItem
*arg2
= 0 ;
36997 PyObject
* obj0
= 0 ;
36998 PyObject
* obj1
= 0 ;
37000 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37006 if (arg2
== NULL
) {
37007 PyErr_SetString(PyExc_TypeError
,"null reference");
37011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37012 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37014 wxPyEndAllowThreads(__tstate
);
37015 if (PyErr_Occurred()) SWIG_fail
;
37018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37026 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37027 PyObject
*resultobj
;
37028 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37029 wxGBPosition
*arg2
= 0 ;
37030 wxGBSpan
*arg3
= 0 ;
37032 wxGBPosition temp2
;
37034 PyObject
* obj0
= 0 ;
37035 PyObject
* obj1
= 0 ;
37036 PyObject
* obj2
= 0 ;
37038 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37043 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37047 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37053 wxPyEndAllowThreads(__tstate
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37065 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37070 argc
= PyObject_Length(args
);
37071 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37072 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37078 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37088 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37096 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37104 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37113 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37117 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37120 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37126 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37131 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37132 PyObject
*resultobj
;
37133 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37136 PyObject
* obj0
= 0 ;
37137 PyObject
* obj1
= 0 ;
37138 PyObject
* obj2
= 0 ;
37139 char *kwnames
[] = {
37140 (char *) "self",(char *) "row",(char *) "col", NULL
37143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37149 if (arg2
== NULL
) {
37150 PyErr_SetString(PyExc_TypeError
,"null reference");
37153 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37156 if (arg3
== NULL
) {
37157 PyErr_SetString(PyExc_TypeError
,"null reference");
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 (arg1
)->GetEndPos(*arg2
,*arg3
);
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37167 Py_INCREF(Py_None
); resultobj
= Py_None
;
37174 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
;
37176 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37177 wxGridBagSizer
*result
;
37178 PyObject
* obj0
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "self", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37200 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
;
37202 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37203 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 char *kwnames
[] = {
37207 (char *) "self",(char *) "sizer", NULL
37210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37217 (arg1
)->SetGBSizer(arg2
);
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 Py_INCREF(Py_None
); resultobj
= Py_None
;
37229 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37232 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37234 return Py_BuildValue((char *)"");
37236 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
;
37238 int arg1
= (int) 0 ;
37239 int arg2
= (int) 0 ;
37240 wxGridBagSizer
*result
;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 char *kwnames
[] = {
37244 (char *) "vgap",(char *) "hgap", NULL
37247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37249 arg1
= (int) SWIG_AsInt(obj0
);
37250 if (PyErr_Occurred()) SWIG_fail
;
37253 arg2
= (int) SWIG_AsInt(obj1
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37258 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37270 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
;
37272 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37273 PyObject
*arg2
= (PyObject
*) 0 ;
37274 wxGBPosition
*arg3
= 0 ;
37275 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37276 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37277 int arg5
= (int) 0 ;
37278 int arg6
= (int) 0 ;
37279 PyObject
*arg7
= (PyObject
*) NULL
;
37281 wxGBPosition temp3
;
37283 PyObject
* obj0
= 0 ;
37284 PyObject
* obj1
= 0 ;
37285 PyObject
* obj2
= 0 ;
37286 PyObject
* obj3
= 0 ;
37287 PyObject
* obj4
= 0 ;
37288 PyObject
* obj5
= 0 ;
37289 PyObject
* obj6
= 0 ;
37290 char *kwnames
[] = {
37291 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37300 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37305 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37309 arg5
= (int) SWIG_AsInt(obj4
);
37310 if (PyErr_Occurred()) SWIG_fail
;
37313 arg6
= (int) SWIG_AsInt(obj5
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37323 wxPyEndAllowThreads(__tstate
);
37324 if (PyErr_Occurred()) SWIG_fail
;
37327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37335 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37336 PyObject
*resultobj
;
37337 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37338 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37340 PyObject
* obj0
= 0 ;
37341 PyObject
* obj1
= 0 ;
37342 char *kwnames
[] = {
37343 (char *) "self",(char *) "item", NULL
37346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37353 result
= (bool)(arg1
)->Add(arg2
);
37355 wxPyEndAllowThreads(__tstate
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37367 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37368 PyObject
*resultobj
;
37369 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37371 PyObject
* obj0
= 0 ;
37372 char *kwnames
[] = {
37373 (char *) "self", NULL
37376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37383 wxPyEndAllowThreads(__tstate
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37387 wxSize
* resultptr
;
37388 resultptr
= new wxSize((wxSize
&) result
);
37389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37397 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37398 PyObject
*resultobj
;
37399 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 char *kwnames
[] = {
37405 (char *) "self",(char *) "sz", NULL
37408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37413 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37417 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37419 wxPyEndAllowThreads(__tstate
);
37420 if (PyErr_Occurred()) SWIG_fail
;
37422 Py_INCREF(Py_None
); resultobj
= Py_None
;
37429 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37430 PyObject
*resultobj
;
37431 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37432 wxWindow
*arg2
= (wxWindow
*) 0 ;
37433 wxGBPosition result
;
37434 PyObject
* obj0
= 0 ;
37435 PyObject
* obj1
= 0 ;
37437 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37444 result
= (arg1
)->GetItemPosition(arg2
);
37446 wxPyEndAllowThreads(__tstate
);
37447 if (PyErr_Occurred()) SWIG_fail
;
37450 wxGBPosition
* resultptr
;
37451 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37460 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37461 PyObject
*resultobj
;
37462 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37463 wxSizer
*arg2
= (wxSizer
*) 0 ;
37464 wxGBPosition result
;
37465 PyObject
* obj0
= 0 ;
37466 PyObject
* obj1
= 0 ;
37468 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37475 result
= (arg1
)->GetItemPosition(arg2
);
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37481 wxGBPosition
* resultptr
;
37482 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37491 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37492 PyObject
*resultobj
;
37493 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37495 wxGBPosition result
;
37496 PyObject
* obj0
= 0 ;
37497 PyObject
* obj1
= 0 ;
37499 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37502 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37506 result
= (arg1
)->GetItemPosition(arg2
);
37508 wxPyEndAllowThreads(__tstate
);
37509 if (PyErr_Occurred()) SWIG_fail
;
37512 wxGBPosition
* resultptr
;
37513 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37522 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37527 argc
= PyObject_Length(args
);
37528 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37529 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37535 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37545 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37553 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37561 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37571 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37579 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37587 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37595 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37597 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37602 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37607 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37608 PyObject
*resultobj
;
37609 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37610 wxWindow
*arg2
= (wxWindow
*) 0 ;
37611 wxGBPosition
*arg3
= 0 ;
37613 wxGBPosition temp3
;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 PyObject
* obj2
= 0 ;
37618 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37625 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37631 wxPyEndAllowThreads(__tstate
);
37632 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37643 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37644 PyObject
*resultobj
;
37645 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37646 wxSizer
*arg2
= (wxSizer
*) 0 ;
37647 wxGBPosition
*arg3
= 0 ;
37649 wxGBPosition temp3
;
37650 PyObject
* obj0
= 0 ;
37651 PyObject
* obj1
= 0 ;
37652 PyObject
* obj2
= 0 ;
37654 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37661 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37667 wxPyEndAllowThreads(__tstate
);
37668 if (PyErr_Occurred()) SWIG_fail
;
37671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37679 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37680 PyObject
*resultobj
;
37681 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37683 wxGBPosition
*arg3
= 0 ;
37685 wxGBPosition temp3
;
37686 PyObject
* obj0
= 0 ;
37687 PyObject
* obj1
= 0 ;
37688 PyObject
* obj2
= 0 ;
37690 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37693 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37694 if (PyErr_Occurred()) SWIG_fail
;
37697 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37715 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37720 argc
= PyObject_Length(args
);
37721 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37722 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37738 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37747 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37750 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
37759 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37769 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37778 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37781 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
37790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37798 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37801 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37804 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37810 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37815 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37816 PyObject
*resultobj
;
37817 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37818 wxWindow
*arg2
= (wxWindow
*) 0 ;
37820 PyObject
* obj0
= 0 ;
37821 PyObject
* obj1
= 0 ;
37823 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 result
= (arg1
)->GetItemSpan(arg2
);
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37836 wxGBSpan
* resultptr
;
37837 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37846 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37847 PyObject
*resultobj
;
37848 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37849 wxSizer
*arg2
= (wxSizer
*) 0 ;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37854 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 result
= (arg1
)->GetItemSpan(arg2
);
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37867 wxGBSpan
* resultptr
;
37868 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37877 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37878 PyObject
*resultobj
;
37879 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37882 PyObject
* obj0
= 0 ;
37883 PyObject
* obj1
= 0 ;
37885 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37888 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 result
= (arg1
)->GetItemSpan(arg2
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37898 wxGBSpan
* resultptr
;
37899 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37908 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37913 argc
= PyObject_Length(args
);
37914 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37915 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37931 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37939 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37947 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37957 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37965 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37981 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37983 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37988 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37993 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37994 PyObject
*resultobj
;
37995 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37996 wxWindow
*arg2
= (wxWindow
*) 0 ;
37997 wxGBSpan
*arg3
= 0 ;
38000 PyObject
* obj0
= 0 ;
38001 PyObject
* obj1
= 0 ;
38002 PyObject
* obj2
= 0 ;
38004 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38011 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38015 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38017 wxPyEndAllowThreads(__tstate
);
38018 if (PyErr_Occurred()) SWIG_fail
;
38021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38029 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38030 PyObject
*resultobj
;
38031 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38032 wxSizer
*arg2
= (wxSizer
*) 0 ;
38033 wxGBSpan
*arg3
= 0 ;
38036 PyObject
* obj0
= 0 ;
38037 PyObject
* obj1
= 0 ;
38038 PyObject
* obj2
= 0 ;
38040 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38047 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38051 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38053 wxPyEndAllowThreads(__tstate
);
38054 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38065 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38066 PyObject
*resultobj
;
38067 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38069 wxGBSpan
*arg3
= 0 ;
38072 PyObject
* obj0
= 0 ;
38073 PyObject
* obj1
= 0 ;
38074 PyObject
* obj2
= 0 ;
38076 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38079 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38083 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38089 wxPyEndAllowThreads(__tstate
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38101 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38106 argc
= PyObject_Length(args
);
38107 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38108 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38114 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38124 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38133 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38136 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38145 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38155 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38164 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38167 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38176 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38184 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38187 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38190 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38196 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38201 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38202 PyObject
*resultobj
;
38203 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38204 wxWindow
*arg2
= (wxWindow
*) 0 ;
38205 wxGBSizerItem
*result
;
38206 PyObject
* obj0
= 0 ;
38207 PyObject
* obj1
= 0 ;
38209 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38216 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38218 wxPyEndAllowThreads(__tstate
);
38219 if (PyErr_Occurred()) SWIG_fail
;
38221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38228 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38229 PyObject
*resultobj
;
38230 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38231 wxSizer
*arg2
= (wxSizer
*) 0 ;
38232 wxGBSizerItem
*result
;
38233 PyObject
* obj0
= 0 ;
38234 PyObject
* obj1
= 0 ;
38236 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38255 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38260 argc
= PyObject_Length(args
);
38261 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38262 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38268 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38278 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38286 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38294 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38304 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38312 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38317 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38322 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38323 PyObject
*resultobj
;
38324 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38325 wxGBPosition
*arg2
= 0 ;
38326 wxGBSizerItem
*result
;
38327 wxGBPosition temp2
;
38328 PyObject
* obj0
= 0 ;
38329 PyObject
* obj1
= 0 ;
38330 char *kwnames
[] = {
38331 (char *) "self",(char *) "pos", NULL
38334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38339 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38343 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38345 wxPyEndAllowThreads(__tstate
);
38346 if (PyErr_Occurred()) SWIG_fail
;
38348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38355 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38356 PyObject
*resultobj
;
38357 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38358 wxPoint
*arg2
= 0 ;
38359 wxGBSizerItem
*result
;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38363 char *kwnames
[] = {
38364 (char *) "self",(char *) "pt", NULL
38367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38376 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38378 wxPyEndAllowThreads(__tstate
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38388 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38389 PyObject
*resultobj
;
38390 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38391 wxObject
*arg2
= (wxObject
*) 0 ;
38392 wxGBSizerItem
*result
;
38393 PyObject
* obj0
= 0 ;
38394 PyObject
* obj1
= 0 ;
38395 char *kwnames
[] = {
38396 (char *) "self",(char *) "userData", NULL
38399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38406 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38418 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
;
38420 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38421 PyObject
* obj0
= 0 ;
38422 char *kwnames
[] = {
38423 (char *) "self", NULL
38426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38431 (arg1
)->RecalcSizes();
38433 wxPyEndAllowThreads(__tstate
);
38434 if (PyErr_Occurred()) SWIG_fail
;
38436 Py_INCREF(Py_None
); resultobj
= Py_None
;
38443 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38444 PyObject
*resultobj
;
38445 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38447 PyObject
* obj0
= 0 ;
38448 char *kwnames
[] = {
38449 (char *) "self", NULL
38452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38457 result
= (arg1
)->CalcMin();
38459 wxPyEndAllowThreads(__tstate
);
38460 if (PyErr_Occurred()) SWIG_fail
;
38463 wxSize
* resultptr
;
38464 resultptr
= new wxSize((wxSize
&) result
);
38465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38473 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38474 PyObject
*resultobj
;
38475 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38476 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38477 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38479 PyObject
* obj0
= 0 ;
38480 PyObject
* obj1
= 0 ;
38481 PyObject
* obj2
= 0 ;
38483 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38489 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38494 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38496 wxPyEndAllowThreads(__tstate
);
38497 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38508 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38509 PyObject
*resultobj
;
38510 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38511 wxGBPosition
*arg2
= 0 ;
38512 wxGBSpan
*arg3
= 0 ;
38513 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38515 wxGBPosition temp2
;
38517 PyObject
* obj0
= 0 ;
38518 PyObject
* obj1
= 0 ;
38519 PyObject
* obj2
= 0 ;
38520 PyObject
* obj3
= 0 ;
38522 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38527 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38531 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38534 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38541 wxPyEndAllowThreads(__tstate
);
38542 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38553 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38558 argc
= PyObject_Length(args
);
38559 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38560 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38562 if ((argc
>= 2) && (argc
<= 3)) {
38566 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38576 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38585 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38589 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38597 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38602 if ((argc
>= 3) && (argc
<= 4)) {
38606 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38615 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38619 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38623 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38627 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38635 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38642 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38647 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38650 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38652 return Py_BuildValue((char *)"");
38654 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38655 PyObject
*resultobj
;
38656 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38658 wxWindow
*arg3
= (wxWindow
*) 0 ;
38660 int arg5
= (int) 0 ;
38661 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38662 PyObject
* obj0
= 0 ;
38663 PyObject
* obj1
= 0 ;
38664 PyObject
* obj2
= 0 ;
38665 PyObject
* obj3
= 0 ;
38666 PyObject
* obj4
= 0 ;
38667 PyObject
* obj5
= 0 ;
38668 char *kwnames
[] = {
38669 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38675 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38679 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38680 if (PyErr_Occurred()) SWIG_fail
;
38682 arg5
= (int) SWIG_AsInt(obj4
);
38683 if (PyErr_Occurred()) SWIG_fail
;
38686 arg6
= (int) SWIG_AsInt(obj5
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38696 Py_INCREF(Py_None
); resultobj
= Py_None
;
38703 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38704 PyObject
*resultobj
;
38705 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38706 wxWindow
*arg2
= (wxWindow
*) 0 ;
38707 int arg3
= (int) 0 ;
38708 PyObject
* obj0
= 0 ;
38709 PyObject
* obj1
= 0 ;
38710 PyObject
* obj2
= 0 ;
38711 char *kwnames
[] = {
38712 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38721 arg3
= (int) SWIG_AsInt(obj2
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38726 (arg1
)->LeftOf(arg2
,arg3
);
38728 wxPyEndAllowThreads(__tstate
);
38729 if (PyErr_Occurred()) SWIG_fail
;
38731 Py_INCREF(Py_None
); resultobj
= Py_None
;
38738 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38739 PyObject
*resultobj
;
38740 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38741 wxWindow
*arg2
= (wxWindow
*) 0 ;
38742 int arg3
= (int) 0 ;
38743 PyObject
* obj0
= 0 ;
38744 PyObject
* obj1
= 0 ;
38745 PyObject
* obj2
= 0 ;
38746 char *kwnames
[] = {
38747 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38756 arg3
= (int) SWIG_AsInt(obj2
);
38757 if (PyErr_Occurred()) SWIG_fail
;
38760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38761 (arg1
)->RightOf(arg2
,arg3
);
38763 wxPyEndAllowThreads(__tstate
);
38764 if (PyErr_Occurred()) SWIG_fail
;
38766 Py_INCREF(Py_None
); resultobj
= Py_None
;
38773 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38774 PyObject
*resultobj
;
38775 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38776 wxWindow
*arg2
= (wxWindow
*) 0 ;
38777 int arg3
= (int) 0 ;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38780 PyObject
* obj2
= 0 ;
38781 char *kwnames
[] = {
38782 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38791 arg3
= (int) SWIG_AsInt(obj2
);
38792 if (PyErr_Occurred()) SWIG_fail
;
38795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38796 (arg1
)->Above(arg2
,arg3
);
38798 wxPyEndAllowThreads(__tstate
);
38799 if (PyErr_Occurred()) SWIG_fail
;
38801 Py_INCREF(Py_None
); resultobj
= Py_None
;
38808 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38809 PyObject
*resultobj
;
38810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38811 wxWindow
*arg2
= (wxWindow
*) 0 ;
38812 int arg3
= (int) 0 ;
38813 PyObject
* obj0
= 0 ;
38814 PyObject
* obj1
= 0 ;
38815 PyObject
* obj2
= 0 ;
38816 char *kwnames
[] = {
38817 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38826 arg3
= (int) SWIG_AsInt(obj2
);
38827 if (PyErr_Occurred()) SWIG_fail
;
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 (arg1
)->Below(arg2
,arg3
);
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38836 Py_INCREF(Py_None
); resultobj
= Py_None
;
38843 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38844 PyObject
*resultobj
;
38845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38846 wxWindow
*arg2
= (wxWindow
*) 0 ;
38848 int arg4
= (int) 0 ;
38849 PyObject
* obj0
= 0 ;
38850 PyObject
* obj1
= 0 ;
38851 PyObject
* obj2
= 0 ;
38852 PyObject
* obj3
= 0 ;
38853 char *kwnames
[] = {
38854 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38862 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38863 if (PyErr_Occurred()) SWIG_fail
;
38865 arg4
= (int) SWIG_AsInt(obj3
);
38866 if (PyErr_Occurred()) SWIG_fail
;
38869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38870 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38875 Py_INCREF(Py_None
); resultobj
= Py_None
;
38882 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38883 PyObject
*resultobj
;
38884 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38885 wxWindow
*arg2
= (wxWindow
*) 0 ;
38888 PyObject
* obj0
= 0 ;
38889 PyObject
* obj1
= 0 ;
38890 PyObject
* obj2
= 0 ;
38891 PyObject
* obj3
= 0 ;
38892 char *kwnames
[] = {
38893 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38901 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38902 if (PyErr_Occurred()) SWIG_fail
;
38903 arg4
= (int) SWIG_AsInt(obj3
);
38904 if (PyErr_Occurred()) SWIG_fail
;
38906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38907 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38909 wxPyEndAllowThreads(__tstate
);
38910 if (PyErr_Occurred()) SWIG_fail
;
38912 Py_INCREF(Py_None
); resultobj
= Py_None
;
38919 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38920 PyObject
*resultobj
;
38921 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38923 PyObject
* obj0
= 0 ;
38924 PyObject
* obj1
= 0 ;
38925 char *kwnames
[] = {
38926 (char *) "self",(char *) "val", NULL
38929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38932 arg2
= (int) SWIG_AsInt(obj1
);
38933 if (PyErr_Occurred()) SWIG_fail
;
38935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38936 (arg1
)->Absolute(arg2
);
38938 wxPyEndAllowThreads(__tstate
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38941 Py_INCREF(Py_None
); resultobj
= Py_None
;
38948 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38949 PyObject
*resultobj
;
38950 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38951 PyObject
* obj0
= 0 ;
38952 char *kwnames
[] = {
38953 (char *) "self", NULL
38956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38961 (arg1
)->Unconstrained();
38963 wxPyEndAllowThreads(__tstate
);
38964 if (PyErr_Occurred()) SWIG_fail
;
38966 Py_INCREF(Py_None
); resultobj
= Py_None
;
38973 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38974 PyObject
*resultobj
;
38975 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38976 PyObject
* obj0
= 0 ;
38977 char *kwnames
[] = {
38978 (char *) "self", NULL
38981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 Py_INCREF(Py_None
); resultobj
= Py_None
;
38998 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
;
39000 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39002 PyObject
* obj0
= 0 ;
39003 char *kwnames
[] = {
39004 (char *) "self", NULL
39007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39012 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39014 wxPyEndAllowThreads(__tstate
);
39015 if (PyErr_Occurred()) SWIG_fail
;
39018 resultobj
= wxPyMake_wxObject(result
);
39026 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39027 PyObject
*resultobj
;
39028 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39030 PyObject
* obj0
= 0 ;
39031 char *kwnames
[] = {
39032 (char *) "self", NULL
39035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39040 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39042 wxPyEndAllowThreads(__tstate
);
39043 if (PyErr_Occurred()) SWIG_fail
;
39045 resultobj
= SWIG_FromInt((int)result
);
39052 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39053 PyObject
*resultobj
;
39054 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39056 PyObject
* obj0
= 0 ;
39057 PyObject
* obj1
= 0 ;
39058 char *kwnames
[] = {
39059 (char *) "self",(char *) "which", NULL
39062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39065 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39069 (arg1
)->SetEdge((wxEdge
)arg2
);
39071 wxPyEndAllowThreads(__tstate
);
39072 if (PyErr_Occurred()) SWIG_fail
;
39074 Py_INCREF(Py_None
); resultobj
= Py_None
;
39081 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39082 PyObject
*resultobj
;
39083 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39085 PyObject
* obj0
= 0 ;
39086 PyObject
* obj1
= 0 ;
39087 char *kwnames
[] = {
39088 (char *) "self",(char *) "v", NULL
39091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39094 arg2
= (int) SWIG_AsInt(obj1
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39098 (arg1
)->SetValue(arg2
);
39100 wxPyEndAllowThreads(__tstate
);
39101 if (PyErr_Occurred()) SWIG_fail
;
39103 Py_INCREF(Py_None
); resultobj
= Py_None
;
39110 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39111 PyObject
*resultobj
;
39112 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39114 PyObject
* obj0
= 0 ;
39115 char *kwnames
[] = {
39116 (char *) "self", NULL
39119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39124 result
= (int)(arg1
)->GetMargin();
39126 wxPyEndAllowThreads(__tstate
);
39127 if (PyErr_Occurred()) SWIG_fail
;
39129 resultobj
= SWIG_FromInt((int)result
);
39136 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39137 PyObject
*resultobj
;
39138 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39140 PyObject
* obj0
= 0 ;
39141 PyObject
* obj1
= 0 ;
39142 char *kwnames
[] = {
39143 (char *) "self",(char *) "m", NULL
39146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39149 arg2
= (int) SWIG_AsInt(obj1
);
39150 if (PyErr_Occurred()) SWIG_fail
;
39152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39153 (arg1
)->SetMargin(arg2
);
39155 wxPyEndAllowThreads(__tstate
);
39156 if (PyErr_Occurred()) SWIG_fail
;
39158 Py_INCREF(Py_None
); resultobj
= Py_None
;
39165 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39166 PyObject
*resultobj
;
39167 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39169 PyObject
* obj0
= 0 ;
39170 char *kwnames
[] = {
39171 (char *) "self", NULL
39174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39184 resultobj
= SWIG_FromInt((int)result
);
39191 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39210 resultobj
= SWIG_FromInt((int)result
);
39217 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39218 PyObject
*resultobj
;
39219 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39221 PyObject
* obj0
= 0 ;
39222 char *kwnames
[] = {
39223 (char *) "self", NULL
39226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39231 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39233 wxPyEndAllowThreads(__tstate
);
39234 if (PyErr_Occurred()) SWIG_fail
;
39236 resultobj
= SWIG_FromInt((int)result
);
39243 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39244 PyObject
*resultobj
;
39245 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39247 PyObject
* obj0
= 0 ;
39248 char *kwnames
[] = {
39249 (char *) "self", NULL
39252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39259 wxPyEndAllowThreads(__tstate
);
39260 if (PyErr_Occurred()) SWIG_fail
;
39263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39271 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39272 PyObject
*resultobj
;
39273 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39275 PyObject
* obj0
= 0 ;
39276 PyObject
* obj1
= 0 ;
39277 char *kwnames
[] = {
39278 (char *) "self",(char *) "d", NULL
39281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39284 arg2
= (bool) SWIG_AsBool(obj1
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39288 (arg1
)->SetDone(arg2
);
39290 wxPyEndAllowThreads(__tstate
);
39291 if (PyErr_Occurred()) SWIG_fail
;
39293 Py_INCREF(Py_None
); resultobj
= Py_None
;
39300 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39301 PyObject
*resultobj
;
39302 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39304 PyObject
* obj0
= 0 ;
39305 char *kwnames
[] = {
39306 (char *) "self", NULL
39309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39314 result
= (int)(arg1
)->GetRelationship();
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= SWIG_FromInt((int)result
);
39326 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
;
39328 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39330 PyObject
* obj0
= 0 ;
39331 PyObject
* obj1
= 0 ;
39332 char *kwnames
[] = {
39333 (char *) "self",(char *) "r", NULL
39336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39339 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39343 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39345 wxPyEndAllowThreads(__tstate
);
39346 if (PyErr_Occurred()) SWIG_fail
;
39348 Py_INCREF(Py_None
); resultobj
= Py_None
;
39355 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39356 PyObject
*resultobj
;
39357 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39358 wxWindow
*arg2
= (wxWindow
*) 0 ;
39360 PyObject
* obj0
= 0 ;
39361 PyObject
* obj1
= 0 ;
39362 char *kwnames
[] = {
39363 (char *) "self",(char *) "otherW", NULL
39366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39373 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39387 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39388 PyObject
*resultobj
;
39389 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39390 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39391 wxWindow
*arg3
= (wxWindow
*) 0 ;
39393 PyObject
* obj0
= 0 ;
39394 PyObject
* obj1
= 0 ;
39395 PyObject
* obj2
= 0 ;
39396 char *kwnames
[] = {
39397 (char *) "self",(char *) "constraints",(char *) "win", NULL
39400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39405 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39411 wxPyEndAllowThreads(__tstate
);
39412 if (PyErr_Occurred()) SWIG_fail
;
39415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39423 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39424 PyObject
*resultobj
;
39425 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39427 wxWindow
*arg3
= (wxWindow
*) 0 ;
39428 wxWindow
*arg4
= (wxWindow
*) 0 ;
39430 PyObject
* obj0
= 0 ;
39431 PyObject
* obj1
= 0 ;
39432 PyObject
* obj2
= 0 ;
39433 PyObject
* obj3
= 0 ;
39434 char *kwnames
[] = {
39435 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39441 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39443 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39445 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39449 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39451 wxPyEndAllowThreads(__tstate
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39454 resultobj
= SWIG_FromInt((int)result
);
39461 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39464 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39466 return Py_BuildValue((char *)"");
39468 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39469 PyObject
*resultobj
;
39470 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39471 wxIndividualLayoutConstraint
*result
;
39472 PyObject
* obj0
= 0 ;
39473 char *kwnames
[] = {
39474 (char *) "self", NULL
39477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39480 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39489 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39490 PyObject
*resultobj
;
39491 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39492 wxIndividualLayoutConstraint
*result
;
39493 PyObject
* obj0
= 0 ;
39494 char *kwnames
[] = {
39495 (char *) "self", NULL
39498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39501 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39510 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39511 PyObject
*resultobj
;
39512 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39513 wxIndividualLayoutConstraint
*result
;
39514 PyObject
* obj0
= 0 ;
39515 char *kwnames
[] = {
39516 (char *) "self", NULL
39519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39522 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39531 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39532 PyObject
*resultobj
;
39533 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39534 wxIndividualLayoutConstraint
*result
;
39535 PyObject
* obj0
= 0 ;
39536 char *kwnames
[] = {
39537 (char *) "self", NULL
39540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39543 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39552 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39553 PyObject
*resultobj
;
39554 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39555 wxIndividualLayoutConstraint
*result
;
39556 PyObject
* obj0
= 0 ;
39557 char *kwnames
[] = {
39558 (char *) "self", NULL
39561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39564 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39573 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39574 PyObject
*resultobj
;
39575 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39576 wxIndividualLayoutConstraint
*result
;
39577 PyObject
* obj0
= 0 ;
39578 char *kwnames
[] = {
39579 (char *) "self", NULL
39582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39585 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39594 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39595 PyObject
*resultobj
;
39596 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39597 wxIndividualLayoutConstraint
*result
;
39598 PyObject
* obj0
= 0 ;
39599 char *kwnames
[] = {
39600 (char *) "self", NULL
39603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39606 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39615 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39616 PyObject
*resultobj
;
39617 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39618 wxIndividualLayoutConstraint
*result
;
39619 PyObject
* obj0
= 0 ;
39620 char *kwnames
[] = {
39621 (char *) "self", NULL
39624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39627 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39636 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39637 PyObject
*resultobj
;
39638 wxLayoutConstraints
*result
;
39639 char *kwnames
[] = {
39643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39646 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39658 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39659 PyObject
*resultobj
;
39660 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39661 wxWindow
*arg2
= (wxWindow
*) 0 ;
39662 int *arg3
= (int *) 0 ;
39665 PyObject
* obj0
= 0 ;
39666 PyObject
* obj1
= 0 ;
39667 char *kwnames
[] = {
39668 (char *) "self",(char *) "win", NULL
39672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39679 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39681 wxPyEndAllowThreads(__tstate
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39688 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39689 resultobj
= t_output_helper(resultobj
,o
);
39697 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39698 PyObject
*resultobj
;
39699 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39701 PyObject
* obj0
= 0 ;
39702 char *kwnames
[] = {
39703 (char *) "self", NULL
39706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39711 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39713 wxPyEndAllowThreads(__tstate
);
39714 if (PyErr_Occurred()) SWIG_fail
;
39717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39725 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39728 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39730 return Py_BuildValue((char *)"");
39732 static PyMethodDef SwigMethods
[] = {
39733 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39734 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
39735 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
39738 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
39757 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39760 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
39770 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
39779 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39781 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
39785 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39795 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
39818 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39830 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
39836 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39864 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39870 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39878 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39882 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39884 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39885 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39886 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39892 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39893 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39899 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39905 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39916 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39921 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39927 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39937 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39947 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39951 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40021 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40024 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40026 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40028 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40030 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40032 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40034 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40036 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40038 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40040 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40042 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40044 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40058 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40076 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40079 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40082 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40094 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40099 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40105 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40111 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40173 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40180 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40215 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40225 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40235 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40237 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40239 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40242 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40246 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40249 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40252 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40254 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40259 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40267 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40271 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40274 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40276 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40280 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40297 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40299 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40302 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40304 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40308 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40312 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40320 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40323 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40326 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40330 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40337 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40342 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40347 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40391 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40408 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40412 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40560 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40598 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40612 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40615 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40670 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40697 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
40740 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
40747 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
40764 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
40765 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
40800 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
40829 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
40832 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
40838 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
40843 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
40855 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40869 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40879 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40889 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40898 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40902 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40908 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40909 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40910 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40911 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40912 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40918 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40919 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40946 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40962 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40964 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40965 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40967 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40968 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40970 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40971 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40973 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40974 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40976 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40977 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40979 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40980 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40982 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40983 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40985 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40986 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40988 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40991 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40992 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40994 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40995 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40997 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40998 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41000 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41001 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41003 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41004 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41006 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41007 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41009 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41010 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41012 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41013 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41015 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41018 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41019 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41021 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41022 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41024 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41025 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41027 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41028 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41030 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41031 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41033 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41034 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41036 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41037 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41039 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41040 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41042 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41043 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41045 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41046 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41048 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41051 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41052 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41054 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41055 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41057 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41058 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41060 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41061 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41063 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41064 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41066 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41067 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41069 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41072 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41073 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41075 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41076 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41078 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41081 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41084 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41085 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41087 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41088 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41090 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41091 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41093 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41094 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41096 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41097 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41099 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41100 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41102 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41103 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41105 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41106 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41108 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41109 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41111 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41112 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41114 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41117 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41118 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41120 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41121 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41123 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41124 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41126 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41127 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41129 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41130 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41132 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41133 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41135 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41136 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41138 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41139 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41141 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41142 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41144 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41145 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41147 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41148 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41150 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41151 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41153 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41154 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41156 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41157 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41159 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41160 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41162 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41163 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41165 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41166 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41168 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41169 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41171 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41172 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41174 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41175 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41177 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41178 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41180 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41181 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41183 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41184 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41186 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41187 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41189 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41190 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41192 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41193 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41195 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41196 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41198 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41199 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41201 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41204 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41205 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41207 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41208 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41210 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41211 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41213 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41214 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41216 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41219 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41222 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41223 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41225 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41226 return (void *)((wxObject
*) ((wxSizer
*) x
));
41228 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41229 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41231 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41232 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41234 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41235 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41237 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41238 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41240 static void *_p_wxImageTo_p_wxObject(void *x
) {
41241 return (void *)((wxObject
*) ((wxImage
*) x
));
41243 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41246 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41249 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41250 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41252 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41253 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41255 static void *_p_wxControlTo_p_wxObject(void *x
) {
41256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41258 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41259 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41261 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41262 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41264 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41265 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41267 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41270 static void *_p_wxEventTo_p_wxObject(void *x
) {
41271 return (void *)((wxObject
*) ((wxEvent
*) x
));
41273 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41274 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41276 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41277 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41279 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41280 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41282 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41283 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41285 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41286 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41288 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41289 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41291 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41294 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41295 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41297 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41300 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41301 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41303 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41304 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41306 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41307 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41309 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41310 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41312 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41313 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41315 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41316 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41318 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41319 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41321 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41322 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41324 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41325 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41327 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41328 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41330 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41333 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41336 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41339 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41340 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41342 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41343 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41345 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41348 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41349 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41351 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41352 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41354 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41355 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41357 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41358 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41360 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41361 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41363 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41364 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41366 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41369 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41370 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41372 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41373 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41375 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41376 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41378 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41379 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41381 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41382 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41384 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41385 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41387 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41388 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41390 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41393 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41394 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41396 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41397 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41399 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41402 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41403 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41405 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41406 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41408 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41409 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41411 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41412 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41414 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41415 return (void *)((wxWindow
*) ((wxControl
*) x
));
41417 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41418 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41420 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41421 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41423 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41424 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41426 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41427 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41429 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41430 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41432 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41433 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41435 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41436 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41438 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41439 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41441 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41442 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41444 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41445 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41447 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41448 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41450 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}};
41451 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}};
41452 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}};
41453 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}};
41454 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}};
41455 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}};
41456 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}};
41457 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}};
41458 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}};
41459 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}};
41460 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}};
41461 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}};
41462 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}};
41463 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}};
41464 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}};
41465 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}};
41466 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}};
41467 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}};
41468 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}};
41469 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}};
41470 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}};
41471 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}};
41472 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}};
41473 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}};
41474 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}};
41475 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}};
41476 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}};
41477 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}};
41478 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}};
41479 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}};
41480 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}};
41481 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}};
41482 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}};
41483 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}};
41484 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}};
41485 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}};
41486 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}};
41487 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}};
41488 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}};
41489 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}};
41490 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}};
41491 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}};
41492 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}};
41493 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}};
41494 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}};
41495 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}};
41496 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}};
41497 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}};
41498 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}};
41499 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}};
41500 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}};
41501 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}};
41502 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}};
41503 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}};
41504 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}};
41505 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}};
41506 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}};
41507 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}};
41508 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}};
41509 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}};
41510 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}};
41511 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}};
41512 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}};
41513 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}};
41514 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}};
41515 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}};
41516 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}};
41517 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}};
41518 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}};
41519 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}};
41520 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}};
41521 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}};
41522 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}};
41523 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}};
41524 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}};
41525 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}};
41526 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}};
41527 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}};
41528 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}};
41529 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}};
41530 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}};
41531 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}};
41532 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}};
41533 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}};
41534 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}};
41535 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}};
41536 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}};
41537 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}};
41538 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}};
41539 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}};
41540 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}};
41541 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}};
41542 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}};
41543 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}};
41544 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}};
41545 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}};
41546 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}};
41547 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}};
41548 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}};
41549 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}};
41550 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}};
41551 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}};
41552 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}};
41553 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}};
41554 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}};
41555 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}};
41556 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}};
41557 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}};
41558 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}};
41559 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}};
41560 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}};
41561 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}};
41562 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}};
41563 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}};
41565 static swig_type_info
*swig_types_initial
[] = {
41566 _swigt__p_wxLayoutConstraints
,
41567 _swigt__p_wxRealPoint
,
41568 _swigt__p_wxSizerItem
,
41569 _swigt__p_wxGBSizerItem
,
41570 _swigt__p_wxScrollEvent
,
41571 _swigt__p_wxIndividualLayoutConstraint
,
41573 _swigt__p_wxBoxSizer
,
41574 _swigt__p_wxStaticBoxSizer
,
41575 _swigt__p_wxGridBagSizer
,
41576 _swigt__p_wxAcceleratorEntry
,
41577 _swigt__p_wxUpdateUIEvent
,
41580 _swigt__p_wxGridSizer
,
41581 _swigt__p_wxFlexGridSizer
,
41582 _swigt__p_wxInitDialogEvent
,
41583 _swigt__p_wxItemContainer
,
41584 _swigt__p_wxNcPaintEvent
,
41585 _swigt__p_wxPaintEvent
,
41586 _swigt__p_wxSysColourChangedEvent
,
41587 _swigt__p_wxMouseCaptureChangedEvent
,
41588 _swigt__p_wxDisplayChangedEvent
,
41589 _swigt__p_wxPaletteChangedEvent
,
41590 _swigt__p_wxControl
,
41592 _swigt__p_wxMenuBarBase
,
41593 _swigt__p_wxSetCursorEvent
,
41594 _swigt__p_wxFSFile
,
41596 _swigt__p_wxRegion
,
41597 _swigt__p_wxPoint2D
,
41601 _swigt__p_wxPySizer
,
41602 _swigt__p_wxNotifyEvent
,
41603 _swigt__p_wxPyEvent
,
41604 _swigt__p_wxPropagationDisabler
,
41605 _swigt__p_wxAppTraits
,
41606 _swigt__p_wxArrayString
,
41607 _swigt__p_wxShowEvent
,
41608 _swigt__p_wxToolTip
,
41609 _swigt__p_wxMaximizeEvent
,
41610 _swigt__p_wxIconizeEvent
,
41611 _swigt__p_wxActivateEvent
,
41612 _swigt__p_wxMoveEvent
,
41613 _swigt__p_wxSizeEvent
,
41614 _swigt__p_wxQueryNewPaletteEvent
,
41615 _swigt__p_wxWindowCreateEvent
,
41616 _swigt__p_wxIdleEvent
,
41617 _swigt__p_wxMenuItem
,
41618 _swigt__p_wxStaticBox
,
41620 _swigt__p_wxTIFFHandler
,
41621 _swigt__p_wxXPMHandler
,
41622 _swigt__p_wxPNMHandler
,
41623 _swigt__p_wxJPEGHandler
,
41624 _swigt__p_wxPCXHandler
,
41625 _swigt__p_wxGIFHandler
,
41626 _swigt__p_wxPNGHandler
,
41627 _swigt__p_wxANIHandler
,
41628 _swigt__p_wxMemoryFSHandler
,
41629 _swigt__p_wxEvtHandler
,
41630 _swigt__p_wxCURHandler
,
41631 _swigt__p_wxICOHandler
,
41632 _swigt__p_wxBMPHandler
,
41633 _swigt__p_wxImageHandler
,
41634 _swigt__p_wxFileSystemHandler
,
41635 _swigt__p_wxPyFileSystemHandler
,
41636 _swigt__p_wxInternetFSHandler
,
41637 _swigt__p_wxZipFSHandler
,
41639 _swigt__p_wxGBSpan
,
41640 _swigt__p_wxPropagateOnce
,
41641 _swigt__p_wxAcceleratorTable
,
41643 _swigt__p_wxGBPosition
,
41646 _swigt__p_wxScrollWinEvent
,
41647 _swigt__p_wxImageHistogram
,
41650 _swigt__p_wxCursor
,
41651 _swigt__p_wxObject
,
41652 _swigt__p_wxPyInputStream
,
41653 _swigt__p_wxOutputStream
,
41654 _swigt__p_wxInputStream
,
41655 _swigt__p_wxDateTime
,
41656 _swigt__p_wxKeyEvent
,
41657 _swigt__p_wxNavigationKeyEvent
,
41658 _swigt__p_wxWindowDestroyEvent
,
41659 _swigt__p_wxWindow
,
41660 _swigt__p_wxMenuBar
,
41661 _swigt__p_wxFileSystem
,
41662 _swigt__p_wxBitmap
,
41663 _swigt__p_wxMenuEvent
,
41664 _swigt__p_wxContextMenuEvent
,
41665 _swigt__p_unsigned_char
,
41666 _swigt__p_wxCloseEvent
,
41667 _swigt__p_wxEraseEvent
,
41668 _swigt__p_wxMouseEvent
,
41670 _swigt__p_wxCommandEvent
,
41671 _swigt__p_wxPyCommandEvent
,
41672 _swigt__p_wxPyDropTarget
,
41673 _swigt__p_wxChildFocusEvent
,
41674 _swigt__p_wxFocusEvent
,
41675 _swigt__p_wxDropFilesEvent
,
41676 _swigt__p_wxControlWithItems
,
41677 _swigt__p_wxColour
,
41678 _swigt__p_wxValidator
,
41679 _swigt__p_wxPyValidator
,
41684 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41686 static swig_const_info swig_const_table
[] = {
41696 SWIGEXPORT(void) SWIG_init(void) {
41697 static PyObject
*SWIG_globals
= 0;
41698 static int typeinit
= 0;
41701 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41702 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41703 d
= PyModule_GetDict(m
);
41706 for (i
= 0; swig_types_initial
[i
]; i
++) {
41707 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41711 SWIG_InstallConstants(d
,swig_const_table
);
41714 #ifndef wxPyUSE_EXPORT
41715 // Make our API structure a CObject so other modules can import it
41716 // from this module.
41717 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41718 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41722 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41723 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41724 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41725 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41726 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41727 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41728 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41729 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41730 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41731 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41732 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41733 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41734 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41735 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41736 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41737 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41738 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41739 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41740 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41741 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41742 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41743 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41744 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41745 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41746 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41747 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41748 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41749 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41750 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
41751 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
41752 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
41753 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
41754 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
41755 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
41756 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
41757 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
41758 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
41759 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
41760 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
41761 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
41762 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
41763 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
41764 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
41765 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41766 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41767 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41768 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41769 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41770 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41771 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41772 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41773 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41774 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41775 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41776 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41777 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41778 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41779 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41780 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41781 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41782 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41783 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41784 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41785 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41786 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41787 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41788 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41789 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41790 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41791 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41792 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41793 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41794 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41795 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41796 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41797 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41798 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41799 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41800 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41801 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41802 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41803 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41804 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41805 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41806 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41807 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41808 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41809 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41810 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41811 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41812 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41813 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41814 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41815 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41816 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
41817 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
41818 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
41819 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
41820 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
41821 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
41822 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
41823 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
41824 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
41825 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
41826 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
41827 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
41828 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
41829 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
41830 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
41831 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
41832 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
41833 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
41834 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
41835 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
41836 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
41837 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
41838 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
41839 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
41840 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
41841 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41842 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
41843 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
41844 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41845 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
41846 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
41847 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
41848 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41849 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
41850 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41851 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
41852 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
41853 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
41854 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
41855 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
41856 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
41857 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
41858 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
41859 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
41860 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
41861 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
41862 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
41863 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
41864 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
41865 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
41866 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
41867 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
41868 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
41869 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
41870 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
41871 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
41872 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
41873 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
41874 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
41875 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
41876 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
41877 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
41878 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
41879 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
41880 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
41881 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
41882 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
41883 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
41884 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
41885 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
41886 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
41887 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
41888 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
41889 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
41890 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
41891 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
41892 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
41893 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
41894 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
41895 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
41896 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
41897 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
41898 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
41899 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
41900 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
41901 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
41902 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
41903 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
41904 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
41905 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
41906 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
41907 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
41908 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
41909 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
41910 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
41911 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
41912 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
41913 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
41914 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
41915 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
41916 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
41917 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
41918 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
41919 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
41920 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
41921 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
41922 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
41923 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
41924 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
41925 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
41926 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
41927 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
41928 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
41929 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
41930 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
41931 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
41932 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
41933 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
41934 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
41935 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
41936 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
41937 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
41938 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41939 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
41940 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
41941 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
41942 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41943 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41944 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
41945 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
41946 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41947 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41948 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
41949 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41950 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41951 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41952 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
41953 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
41954 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
41955 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
41956 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
41957 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
41958 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
41959 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
41960 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
41961 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
41962 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
41963 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
41964 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
41965 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
41966 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
41967 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
41968 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
41969 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41970 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41971 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41972 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41973 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41974 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41975 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41976 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41977 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41978 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41979 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41980 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41981 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41982 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41983 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41984 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41985 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41986 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41987 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41988 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41989 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41990 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41991 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41992 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41993 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41994 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41995 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41996 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41997 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41998 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41999 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42000 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42001 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42002 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42003 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42004 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42005 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42006 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42007 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42008 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42009 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42010 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42011 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42012 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42013 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42014 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42015 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42016 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42017 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42018 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42019 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42020 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42021 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42022 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42023 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42024 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42025 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42026 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42027 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42028 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42029 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42030 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42031 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42032 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42033 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42034 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42035 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42036 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42037 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42038 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42039 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42040 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42041 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42042 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42043 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42044 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42045 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42046 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42047 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42048 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42049 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42050 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42051 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42052 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42053 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42054 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42055 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42056 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42057 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42058 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42059 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42060 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42061 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42062 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42063 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42064 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42065 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42066 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42067 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42068 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42069 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42070 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42071 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42072 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42073 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42074 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42075 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42076 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42077 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42078 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42079 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42080 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42081 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42082 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42083 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42084 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42085 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42086 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42087 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42088 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42089 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42090 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42091 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42092 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42093 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42094 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42095 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42096 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42097 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42098 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42099 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42100 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42101 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42102 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42103 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42104 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42105 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42106 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42107 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42108 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42109 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42110 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42111 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42112 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42113 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42114 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42115 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42116 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42117 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42118 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42119 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42120 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42121 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42122 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42123 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42124 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42125 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42126 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42127 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42128 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42129 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42130 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42131 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42132 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42133 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42134 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42135 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42136 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42137 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42138 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42139 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42140 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42141 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42142 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42143 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42144 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42145 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42146 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42147 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42148 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42149 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42150 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42151 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42152 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42153 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42154 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42155 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42156 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42157 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42158 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42159 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42160 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42161 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42162 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42163 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42164 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42165 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42166 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42167 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42168 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42169 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42170 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42171 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42172 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42173 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42174 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42175 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42176 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42177 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42178 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42179 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42180 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42181 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42182 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42183 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42184 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42185 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42186 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42187 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42188 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42189 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42190 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42191 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42192 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42193 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42194 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42195 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42196 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42197 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42198 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42199 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42200 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42201 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42202 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42203 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42204 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42205 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42206 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42207 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42208 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42209 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42210 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42211 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42212 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42213 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42214 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42215 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42216 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42217 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42218 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42219 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42220 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42221 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42222 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42223 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42224 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42225 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42226 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42227 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42228 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42229 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42230 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42231 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42232 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42233 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42234 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42235 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42236 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42237 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42238 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42239 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42240 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42241 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42242 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42243 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42244 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42245 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42246 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42247 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42248 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42249 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42250 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42251 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42252 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42253 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42254 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42255 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42256 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42257 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42258 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42259 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42260 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42261 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42262 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42263 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42264 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42265 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42266 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42267 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42268 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42269 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42270 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42271 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42272 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42273 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42274 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42275 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42276 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42277 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42278 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42279 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42280 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42281 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42282 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42283 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42284 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42285 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42286 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42287 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42288 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42289 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42290 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42291 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42292 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42293 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42294 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42295 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42296 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42297 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42298 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42299 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42300 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42301 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42302 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42303 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42304 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42305 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42306 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42307 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42308 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42309 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42310 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42311 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42312 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42313 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42314 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42315 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42316 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42317 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42319 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42322 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42324 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42325 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42326 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42327 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42328 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42329 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42330 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42331 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42332 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42333 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42334 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42335 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42336 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42337 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42338 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42339 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42340 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42341 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42342 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42343 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42344 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42345 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42346 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42347 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42348 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42349 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42350 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42351 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42352 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42353 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42354 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42355 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42356 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42357 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42358 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42359 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42360 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42361 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42362 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42363 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42364 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42365 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42366 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42367 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42368 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42369 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42370 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42371 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42372 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42373 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42374 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42375 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42376 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42377 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42378 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42379 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42380 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42381 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42382 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42383 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42384 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42385 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42386 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42387 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42388 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42389 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42390 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42391 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42392 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42393 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42394 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42395 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42396 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42397 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42398 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42399 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42400 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42401 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42402 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42403 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42404 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42405 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42406 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42407 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42408 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42409 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42410 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42411 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42412 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42413 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42414 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42415 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42416 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42417 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42418 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42419 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42420 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42421 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42422 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42423 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42424 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42425 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42426 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42427 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42428 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42429 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42430 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42431 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42432 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42433 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42434 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42435 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42436 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42437 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42438 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42439 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42440 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42441 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42442 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42443 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42444 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42445 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42446 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42447 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42448 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42449 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42450 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42451 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42452 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42453 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42454 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42455 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42456 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42457 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42458 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42459 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42460 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42461 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42462 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42463 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42464 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42465 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42466 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42467 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42468 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42469 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42470 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42471 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42472 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42473 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42474 PyDict_SetItemString(d
,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT
));
42475 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42476 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42477 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42478 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42479 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42480 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42481 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42482 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42483 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42484 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42485 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42486 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42487 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42488 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42489 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42490 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42491 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42492 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42493 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42494 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42495 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42496 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42497 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42498 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42499 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42500 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42501 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42502 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42503 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42505 // Initialize threading, some globals and such
42509 // Although these are defined in __version__ they need to be here too so
42510 // that an assert can be done to ensure that the wxPython and the wxWindows
42512 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42513 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42514 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));